Class ProtoParser

java.lang.Object
org.mvel2.util.ProtoParser

public class ProtoParser extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • parse

      public Proto parse()
    • calculateDecl

      private void calculateDecl()
    • enqueueReceiverForLateResolution

      private void enqueueReceiverForLateResolution(String name, Proto.Receiver receiver, String initializer)
    • 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 - expr
      cursor - cursor
      pCtx - pCtx
    • isUnresolvedWaiting

      public static boolean isUnresolvedWaiting()
    • getNextUnresolvedWaiting

      public static String getNextUnresolvedWaiting()