Package org.mvel2.util
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
-
-
Constructor Summary
Constructors Constructor Description CollectionParser()CollectionParser(int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCursor()ObjectparseCollection(char[] property, int start, int offset, boolean subcompile, Class colType, ParserContext pCtx)ObjectparseCollection(char[] property, int start, int offset, boolean subcompile, ParserContext pCtx)
-
-
-
Field Detail
-
LIST
public static final int LIST
- See Also:
- Constant Field Values
-
ARRAY
public static final int ARRAY
- See Also:
- Constant Field Values
-
MAP
public static final int MAP
- See Also:
- Constant Field Values
-
-
Method Detail
-
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()
-
-