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<FormalParameterNode> |
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<FormalParameterNode> formalParameters) |
astEvent, astEvent, copyLocationAttributesFrom, getEndChar, getEndColumn, getEndLine, getStartChar, getStartColumn, getStartLine, getText, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toString
public List<FormalParameterNode> getFormalParameters()
public void setFormalParameters(List<FormalParameterNode> 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
ClassNotFoundException
public Type getResultType()
getResultType
in interface ASTNode
getResultType
in class BaseNode
public ASTNode[] getChildrenNode()
getChildrenNode
in interface ASTNode
getChildrenNode
in class BaseNode
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.