Class ProtoParser


  • public class ProtoParser
    extends Object
    • 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 - expr
        cursor - cursor
        pCtx - pCtx
      • isUnresolvedWaiting

        public static boolean isUnresolvedWaiting()
      • getNextUnresolvedWaiting

        public static String getNextUnresolvedWaiting()