| Constructor and Description | 
|---|
ExpressionOperation(FunctionSignature signature,
                   Expression expression,
                   ExpressionOrigin origin)
Creates new instance of  
ExpressionOperation. | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)
Executes the expression. 
 | 
Expression | 
getExpression()
Returns the underlying expression. 
 | 
ExpressionOrigin | 
getOrigin()
Returns the expression origin. 
 | 
String | 
toString()  | 
public ExpressionOperation(FunctionSignature signature, Expression expression, ExpressionOrigin origin)
ExpressionOperation.signature - expression - origin - the expression originpublic Object execute(Interpreter interpreter, List<Expression> args, boolean variadicArgAsList, InterpreterStackTrace stackTrace) throws ErrorException
Operationexecute in interface OperationvariadicArgAsList - 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 interpreterErrorExceptionpublic Expression getExpression()
public ExpressionOrigin getOrigin()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.