public static final class DocumentSignatureGeneration.DocOperation extends Object implements CustomCompileToJavaOperation, Operation
Modifier and Type | Method and Description |
---|---|
RecordHolder |
execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace)
Executes the expression.
|
RecordHolder |
execute(Namespace namespace,
String operation) |
String |
getCompiledToJavaName(FunctionSignature signature) |
SrcExpression |
getSrcExpression(FunctionSignature signature) |
public RecordHolder execute(Interpreter interpreter, List<Expression> args, boolean variadicArgAsList, InterpreterStackTrace stackTrace)
Operation
execute
in interface Operation
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 interpreterpublic RecordHolder execute(Namespace namespace, String operation) throws ErrorException
ErrorException
public String getCompiledToJavaName(FunctionSignature signature)
getCompiledToJavaName
in interface CustomCompileToJavaOperation
public SrcExpression getSrcExpression(FunctionSignature signature)
getSrcExpression
in interface CustomCompileToJavaOperation
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.