public static interface Code.Callable extends Code
Code.Callable, Code.Constant, Code.EmptyFormatter, Code.Identifier, Code.Method
Modifier and Type | Field and Description |
---|---|
static int |
BINARY_OPERATOR |
static int |
FUNCTION |
static int |
UNARY_OPERATOR |
CALLABLE, CODES, CONSTANT, EMPTY_FORMATTER, IDENTIFIER, METHOD, UNDEFINED
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
call(Interpreter interpreter,
java.lang.Object[] args) |
Function |
function() |
Function |
function(Function function) |
java.lang.String |
name() |
static java.lang.String |
name(Code code) |
Codes |
parameters() |
static Codes |
parameters(Code code) |
int |
type() |
clone, code, isFunction, isIdentifier, link, link, link, replace, toString, toValue, toValue
accept, accept
cloneQuietly, cloneQuietly
static final int FUNCTION
static final int BINARY_OPERATOR
static final int UNARY_OPERATOR
static java.lang.String name(Code code)
java.lang.String name()
java.lang.Object call(Interpreter interpreter, java.lang.Object[] args) throws java.lang.Exception
java.lang.Exception
Function function()
Codes parameters()
int type()