public class BetterExpCompiler extends AbstractExpCompiler
ExpCompiler.Factory
Constructor and Description |
---|
BetterExpCompiler(Evaluator evaluator,
Validator validator) |
BetterExpCompiler(Evaluator evaluator,
Validator validator,
List<ResultStyle> resultStyles) |
Modifier and Type | Method and Description |
---|---|
ListCalc |
compileList(Exp exp,
boolean mutable)
Compiles an expression which yields
TupleList result. |
TupleCalc |
compileTuple(Exp exp)
Compiles an expression which yields a tuple result.
|
compile, compileAs, compileBoolean, compileDateTime, compileDimension, compileDouble, compileHierarchy, compileInteger, compileIter, compileLevel, compileList, compileMember, compileScalar, compileString, getAcceptableResultStyles, getEvaluator, getValidator, registerParameter, toList
public BetterExpCompiler(Evaluator evaluator, Validator validator, List<ResultStyle> resultStyles)
public TupleCalc compileTuple(Exp exp)
ExpCompiler
compileTuple
in interface ExpCompiler
compileTuple
in class AbstractExpCompiler
exp
- Expressionpublic ListCalc compileList(Exp exp, boolean mutable)
ExpCompiler
TupleList
result.
Such an expression is generally a list of Member
objects or a
list of tuples (each represented by a Member
array).
compileList
in interface ExpCompiler
compileList
in class AbstractExpCompiler
exp
- Expressionmutable
- Whether resulting list is mutableCopyright © 2019 Hitachi Vantara. All rights reserved.