T - field typepublic final class NBRCall<T> extends AbstractProtelisAST<Field<T>>
| Constructor and Description |
|---|
NBRCall(Metadata metadata,
ProtelisAST<T> body) |
| Modifier and Type | Method and Description |
|---|---|
Field<T> |
evaluate(ExecutionContext context)
Evaluates this AST node.
|
Bytecode |
getBytecode() |
java.lang.String |
getName() |
branchesToString, branchesToString, eval, forEach, forEachWithIndex, getBranch, getBranches, getBranchesNumber, getMetadata, isNullable, stringFor, toStringpublic NBRCall(Metadata metadata, ProtelisAST<T> body)
metadata - A Metadata object containing information about the code that generated this AST node.body - body of nbrpublic Field<T> evaluate(ExecutionContext context)
AbstractProtelisASTAbstractProtelisAST takes care of storing the necessary metadata.evaluate in class AbstractProtelisAST<Field<T>>context - the execution contextpublic java.lang.String getName()
AbstractProtelisASTgetName in interface ProtelisAST<Field<T>>getName in class AbstractProtelisAST<Field<T>>