public class FunctionDeclNode extends ASTNode
Constructor | Description |
---|---|
FunctionDeclNode(SourceLocation loc) |
Modifier and Type | Method | Description |
---|---|---|
ASTNode |
getBody() |
|
QNameNode |
getName() |
|
List<ParamNode> |
getParameters() |
|
SequenceTypeNode |
getReturnType() |
|
ASTTag |
getTag() |
|
void |
setBody(ASTNode body) |
|
void |
setName(QNameNode name) |
|
void |
setParameters(List<ParamNode> parameters) |
|
void |
setReturnType(SequenceTypeNode returnType) |
getSourceLocation, toString
public FunctionDeclNode(SourceLocation loc)
public QNameNode getName()
public void setName(QNameNode name)
public SequenceTypeNode getReturnType()
public void setReturnType(SequenceTypeNode returnType)
public ASTNode getBody()
public void setBody(ASTNode body)
Copyright © 2019 Apache Software Foundation. All rights reserved.