EMPTY_CHILDREN| Constructor and Description |
|---|
FunctionDefNode(org.antlr.v4.runtime.ParserRuleContext ctx,
ListNode formalParameters,
boolean external,
BaseNode body) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(Visitor<T> v) |
Object |
evaluate(EvaluationContext ctx) |
BaseNode |
getBody() |
ASTNode[] |
getChildrenNode() |
List<NameDefNode> |
getFormalParameters() |
Type |
getResultType() |
static Class<?> |
getType(String typeName) |
boolean |
isExternal() |
static String[] |
parseMethod(String signature) |
static String[] |
parseParams(String params) |
void |
setBody(BaseNode body) |
void |
setExternal(boolean external) |
void |
setFormalParameters(List<NameDefNode> formalParameters) |
astEvent, astEvent, getEndChar, getEndColumn, getEndLine, getParserRuleContext, getStartChar, getStartColumn, getStartLine, getText, setCtx, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toStringpublic List<NameDefNode> getFormalParameters()
public void setFormalParameters(List<NameDefNode> formalParameters)
public boolean isExternal()
public void setExternal(boolean external)
public BaseNode getBody()
public void setBody(BaseNode body)
public Object evaluate(EvaluationContext ctx)
public static Class<?> getType(String typeName) throws ClassNotFoundException
ClassNotFoundExceptionpublic Type getResultType()
getResultType in interface ASTNodegetResultType in class BaseNodepublic ASTNode[] getChildrenNode()
getChildrenNode in interface ASTNodegetChildrenNode in class BaseNodeCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.