org.mvel.optimizers
Class AbstractOptimizer

java.lang.Object
  extended by org.mvel.AbstractParser
      extended by org.mvel.optimizers.AbstractOptimizer
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ASMAccessorOptimizer, PropertyVerifier, ReflectiveAccessorOptimizer

public class AbstractOptimizer
extends AbstractParser

Author:
Christopher Brock
See Also:
Serialized Form

Field Summary
protected static int BEAN
           
protected static int COL
           
protected static int METH
           
protected  int start
           
 
Fields inherited from class org.mvel.AbstractParser
cursor, debugSymbols, expr, fields, GET, GET_OR_CREATE, greedy, 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, literalOnly, LITERALS, OPERATORS, parserContext, REMOVE, SET, splitAccumulator, stk
 
Constructor Summary
AbstractOptimizer()
           
 
Method Summary
protected  java.lang.String capture()
           
protected  int containsStringLiteralTermination()
           
protected  int nextSubToken()
           
protected  boolean scanTo(char c)
           
protected  java.lang.Object tryStaticAccess()
           
protected  void whiteSpaceSkip()
           
 
Methods inherited from class org.mvel.AbstractParser
addFatalError, addFatalError, addWarning, blockContinues, captureToEOLorOF, captureToEOS, captureToEOT, captureTokenToEOS, contextControl, getCurrentSourceFileName, getCurrentThreadParserContext, getParserContext, handleSubstatement, handleUnion, isAt, isDebugSymbols, isNext, isRemain, isReservedWord, isStatementManuallyTerminated, lookAhead, lookAhead, lookBehind, lookBehind, newContext, newContext, nextToken, nextTokenSkipSymbols, removeContext, resetParserContext, setDebugSymbols, setExpression, setExpression, setLanguageLevel, skipToNextTokenJunction, skipWhitespace, skipWhitespaceWithLineAccounting, tokenContinues, trimLeft, trimRight, trimWhitespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN

protected static final int BEAN
See Also:
Constant Field Values

METH

protected static final int METH
See Also:
Constant Field Values

COL

protected static final int COL
See Also:
Constant Field Values

start

protected int start
Constructor Detail

AbstractOptimizer

public AbstractOptimizer()
Method Detail

tryStaticAccess

protected java.lang.Object tryStaticAccess()

nextSubToken

protected int nextSubToken()

capture

protected java.lang.String capture()

whiteSpaceSkip

protected void whiteSpaceSkip()

scanTo

protected boolean scanTo(char c)

containsStringLiteralTermination

protected int containsStringLiteralTermination()