Package org.mvel2.util
Class ProtoParser
- java.lang.Object
-
- org.mvel2.util.ProtoParser
-
public class ProtoParser extends Object
-
-
Constructor Summary
Constructors Constructor Description ProtoParser(char[] expr, int offset, int offsetEnd, String protoName, ParserContext pCtx, int fields, ExecutionStack splitAccumulator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcheckForPossibleUnresolvedViolations(char[] expr, int cursor, ParserContext pCtx)This is such a horrible hack, but it's more performant than any other horrible hack I can think of right now.intgetCursor()static StringgetNextUnresolvedWaiting()static booleanisUnresolvedWaiting()static voidnotifyForLateResolution(Proto proto)Protoparse()
-
-
-
Constructor Detail
-
ProtoParser
public ProtoParser(char[] expr, int offset, int offsetEnd, String protoName, ParserContext pCtx, int fields, ExecutionStack splitAccumulator)
-
-
Method Detail
-
parse
public Proto parse()
-
notifyForLateResolution
public static void notifyForLateResolution(Proto proto)
-
getCursor
public int getCursor()
-
checkForPossibleUnresolvedViolations
public static void checkForPossibleUnresolvedViolations(char[] expr, int cursor, ParserContext pCtx)This is such a horrible hack, but it's more performant than any other horrible hack I can think of right now.- Parameters:
expr- exprcursor- cursorpCtx- pCtx
-
isUnresolvedWaiting
public static boolean isUnresolvedWaiting()
-
getNextUnresolvedWaiting
public static String getNextUnresolvedWaiting()
-
-