Package org.mvel2.util
Class CollectionParser
java.lang.Object
org.mvel2.util.CollectionParser
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintparseCollection(char[] property, int start, int offset, boolean subcompile, Class colType, ParserContext pCtx) parseCollection(char[] property, int start, int offset, boolean subcompile, ParserContext pCtx)
-
Field Details
-
LIST
public static final int LIST- See Also:
-
ARRAY
public static final int ARRAY- See Also:
-
MAP
public static final int MAP- See Also:
-
-
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()
-