Package org.mvel2.util
Class ProtoParser
java.lang.Object
org.mvel2.util.ProtoParser
-
Constructor Summary
ConstructorsConstructorDescriptionProtoParser(char[] expr, int offset, int offsetEnd, String protoName, ParserContext pCtx, int fields, ExecutionStack splitAccumulator) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.intstatic Stringstatic booleanstatic voidnotifyForLateResolution(Proto proto) parse()
-
Constructor Details
-
ProtoParser
public ProtoParser(char[] expr, int offset, int offsetEnd, String protoName, ParserContext pCtx, int fields, ExecutionStack splitAccumulator)
-
-
Method Details
-
parse
-
notifyForLateResolution
-
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
-