T
- public class Constant<T> extends AbstractAnnotatedTree<T>
Modifier and Type | Method and Description |
---|---|
Constant<T> |
copy() |
void |
evaluate(ExecutionContext context)
Evaluates this AST node.
|
Bytecode |
getBytecode() |
protected T |
getInternalObject() |
java.lang.String |
getName() |
java.lang.String |
toString() |
branchesToString, branchesToString, deepCopyBranches, erase, eval, evalInNewStackFrame, forEach, forEachWithIndex, getAnnotation, getBranch, getBranches, getBranchesAnnotations, getBranchesNumber, getMetadata, isErased, isNullable, parallelForEachWithIndex, projectAndEval, reset, setAnnotation, stringFor
public final void evaluate(ExecutionContext context)
AbstractAnnotatedTree
AbstractAnnotatedTree
takes care of storing the necessary metadata.evaluate
in class AbstractAnnotatedTree<T>
context
- the execution contextprotected final T getInternalObject()
public java.lang.String getName()
getName
in interface AnnotatedTree<T>
getName
in class AbstractAnnotatedTree<T>
public java.lang.String toString()
toString
in class AbstractAnnotatedTree<T>