org.mvel2
Class MVELInterpretedRuntime

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

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
CLASS_LITERALS, compileMode, ctx, cursor, debugSymbols, dStack, end, 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_NOT_LITERAL, OP_OVERFLOW, OP_RESET_FRAME, OP_TERMINATE, OPERATORS, pCtx, REMOVE, SET, splitAccumulator, st, start, stk, variableFactory
 
Constructor Summary
MVELInterpretedRuntime(char[] expr, int start, int offset, Object ctx, VariableResolverFactory resolverFactory)
           
MVELInterpretedRuntime(char[] expr, int start, int offset, Object ctx, VariableResolverFactory resolverFactory, ParserContext pCtx)
           
MVELInterpretedRuntime(char[] expr, Object ctx, VariableResolverFactory resolverFactory)
           
MVELInterpretedRuntime(String expression, Object ctx, VariableResolverFactory resolverFactory)
           
MVELInterpretedRuntime(String expression, Object ctx, VariableResolverFactory resolverFactory, ParserContext pCtx)
           
 
Method Summary
 Object parse()
           
 
Methods inherited from class org.mvel2.compiler.AbstractParser
addFatalError, addFatalError, arithmeticFunctionReduction, captureIdentifier, captureToEOS, captureToEOSorEOL, captureToEOT, captureToNextTokenJunction, expectEOS, expectNextChar_IW, getCursor, getExpression, handleSubstatement, handleUnion, ifThenElseBlockContinues, incNextNonBlank, isArithmeticOperator, isNextIdentifier, isNextIdentifierOrLiteral, isStatementNotManuallyTerminated, lastNonWhite, loadLanguageFeaturesByLevel, lookAhead, lookAhead, lookBehind, lookToLast, nextNonBlank, nextToken, nextTokenSkipSymbols, reduce, setExpression, setExpression, setLanguageLevel, setupParser, skipWhitespace, tokenContinues, trimLeft, trimRight, trimWhitespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVELInterpretedRuntime

public MVELInterpretedRuntime(char[] expr,
                              Object ctx,
                              VariableResolverFactory resolverFactory)

MVELInterpretedRuntime

public MVELInterpretedRuntime(char[] expr,
                              int start,
                              int offset,
                              Object ctx,
                              VariableResolverFactory resolverFactory)

MVELInterpretedRuntime

public MVELInterpretedRuntime(char[] expr,
                              int start,
                              int offset,
                              Object ctx,
                              VariableResolverFactory resolverFactory,
                              ParserContext pCtx)

MVELInterpretedRuntime

public MVELInterpretedRuntime(String expression,
                              Object ctx,
                              VariableResolverFactory resolverFactory)

MVELInterpretedRuntime

public MVELInterpretedRuntime(String expression,
                              Object ctx,
                              VariableResolverFactory resolverFactory,
                              ParserContext pCtx)
Method Detail

parse

public Object parse()


Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.