Class CollectionParser

java.lang.Object
org.mvel2.util.CollectionParser

public class CollectionParser extends 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.
Author:
Christopher Brock
  • Field Details

  • Constructor Details

    • CollectionParser

      public CollectionParser()
    • CollectionParser

      public CollectionParser(int type)
  • Method Details

    • parseCollection

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

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

      public int getCursor()