R
- type of execution resultpublic interface Operation<R>
Modifier and Type | Method and Description |
---|---|
R |
execute(Interpreter interpreter,
Expression parent,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace)
Executes the expression.
|
R execute(Interpreter interpreter, Expression parent, List<Expression> args, boolean variadicArgAsList, InterpreterStackTrace stackTrace) throws ErrorException
interpreter
- parent
- an optional parent expression, may be null
args
- variadicArgAsList
- if true
, the variadic argument is given as expression
returning a list; if false
, the variadic argument
is given as several individual expressionsstackTrace
- a stack trace passed to the interpreterErrorException
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.