Class CollectionParser


  • public class CollectionParser
    extends java.lang.Object
    This is the inline collection sub-parser. It produces a skeleton model of the collection which is in turn translated into a sequenced AST to produce the collection efficiently at runtime, and passed off to one of the JIT's if configured.
    • Field Detail

      • property

        private char[] property
      • cursor

        private int cursor
      • start

        private int start
      • end

        private int end
      • type

        private int type
      • colType

        private java.lang.Class colType
      • EMPTY_ARRAY

        private static final java.lang.Object[] EMPTY_ARRAY
    • Constructor Detail

      • CollectionParser

        public CollectionParser()
      • CollectionParser

        public CollectionParser​(int type)
    • Method Detail

      • parseCollection

        public java.lang.Object parseCollection​(char[] property,
                                                int start,
                                                int offset,
                                                boolean subcompile,
                                                ParserContext pCtx)
      • parseCollection

        public java.lang.Object parseCollection​(char[] property,
                                                int start,
                                                int offset,
                                                boolean subcompile,
                                                java.lang.Class colType,
                                                ParserContext pCtx)
      • parseCollection

        private java.lang.Object parseCollection​(boolean subcompile)
      • subCompile

        private void subCompile​(int start,
                                int offset)
      • isStrongType

        private boolean isStrongType()
      • getCursor

        public int getCursor()