org.mvel2
Class MVELInterpretedRuntime

java.lang.Object
  extended by org.mvel2.compiler.AbstractParser
      extended by org.mvel2.MVELInterpretedRuntime
All Implemented Interfaces:
java.io.Serializable

public class MVELInterpretedRuntime
extends AbstractParser

The MVEL interpreted runtime, used for fast parse and execution of scripts.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mvel2.compiler.AbstractParser
ctx, cursor, debugSymbols, dStack, expr, fields, GET, GET_OR_CREATE, greedy, lastLineStart, lastNode, lastWasComment, lastWasIdentifier, lastWasLineLabel, length, LEVEL_0_PROPERTY_ONLY, LEVEL_1_BASIC_LANG, LEVEL_2_MULTI_STATEMENT, LEVEL_3_ITERATION, LEVEL_4_ASSIGNMENT, LEVEL_5_CONTROL_FLOW, line, literalOnly, LITERALS, OP_CONTINUE, OP_OVERFLOW, OP_RESET_FRAME, OP_TERMINATE, OPERATORS, parserContext, pCtx, REMOVE, SET, splitAccumulator, start, stk, variableFactory
 
Method Summary
protected  java.lang.Class getImport(java.lang.String name)
           
 int getRoundingMode()
           
protected  boolean hasImport(java.lang.String name)
           
 boolean isReturnBigDecimal()
           
 MVELInterpretedRuntime setExpressionArray(char[] expressionArray)
           
 void setReturnBigDecimal(boolean returnBigDecimal)
           
 void setRoundingMode(int roundingMode)
           
 
Methods inherited from class org.mvel2.compiler.AbstractParser
addFatalError, addFatalError, addWarning, arithmeticFunctionReduction, captureIdentifier, captureToEOL, captureToEOS, captureToEOSorEOL, captureToEOT, captureToNextTokenJunction, contextControl, expectEOS, expectNextChar_IW, getCurrentSourceFileName, getCurrentThreadParserContext, getParserContext, handleSubstatement, handleUnion, ifThenElseBlockContinues, incNextNonBlank, isArithmeticOperator, isDebugSymbols, isNextIdentifier, isNextIdentifierOrLiteral, isNotValidNameorLabel, isReservedWord, isStatementNotManuallyTerminated, lastNonWhite, loadLanguageFeaturesByLevel, lookAhead, lookAhead, lookBehind, lookToLast, newContext, newContext, nextNonBlank, nextToken, nextTokenSkipSymbols, reduce, removeContext, resetParserContext, setCurrentThreadParserContext, setDebugSymbols, setExpression, setExpression, setLanguageLevel, skipCommentBlock, skipWhitespace, skipWhitespaceWithLineAccounting, tokenContinues, trimLeft, trimRight, trimWhitespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setExpressionArray

public MVELInterpretedRuntime setExpressionArray(char[] expressionArray)

getRoundingMode

public int getRoundingMode()

setRoundingMode

public void setRoundingMode(int roundingMode)

isReturnBigDecimal

public boolean isReturnBigDecimal()

setReturnBigDecimal

public void setReturnBigDecimal(boolean returnBigDecimal)

hasImport

protected boolean hasImport(java.lang.String name)

getImport

protected java.lang.Class getImport(java.lang.String name)


Copyright © 2008. All Rights Reserved.