public interface Code extends FilteredVisitable, Cloneable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Code.Callable |
static interface |
Code.Constant |
static class |
Code.EmptyFormatter |
static interface |
Code.Identifier |
static interface |
Code.Method |
| Modifier and Type | Field and Description |
|---|---|
static int |
CALLABLE |
static int |
CODES |
static int |
CONSTANT |
static Formatter<Code> |
EMPTY_FORMATTER |
static int |
IDENTIFIER |
static int |
METHOD |
static int |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
Code |
clone()
Creates a copy of the object.
|
int |
code() |
static boolean |
isFunction(Code code,
java.lang.String name) |
static boolean |
isIdentifier(Code code,
java.lang.String name) |
void |
link() |
void |
link(SymbolTable symbolTable) |
void |
link(SymbolTable symbolTable,
boolean force) |
void |
replace(Code target,
Code replacement) |
java.lang.String |
toString(Formatter<Code> formatter) |
ExpressionBuilder.Value |
toValue() |
ExpressionBuilder.Value |
toValue(ExpressionBuilder builder) |
accept, acceptcloneQuietly, cloneQuietlystatic final int UNDEFINED
static final int CONSTANT
static final int IDENTIFIER
static final int CALLABLE
static final int METHOD
static final int CODES
static boolean isFunction(Code code, java.lang.String name)
static boolean isIdentifier(Code code, java.lang.String name)
int code()
ExpressionBuilder.Value toValue()
ExpressionBuilder.Value toValue(ExpressionBuilder builder)
void link(SymbolTable symbolTable)
void link(SymbolTable symbolTable, boolean force)
void link()
Code clone() throws java.lang.CloneNotSupportedException
Cloneablejava.lang.CloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.