public class FunctionAst extends ASTNodeImpl
Constructor and Description |
---|
FunctionAst(AntlrFunction function,
Visibility visibility,
SignatureAst signatureAst)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Annotations |
getAnnotations() |
AntlrFunction |
getAntlrFunction() |
org.antlr.runtime.tree.Tree |
getBodyTree() |
String |
getDescription() |
FunctionSignature |
getFunctionSignature() |
String |
getName() |
IdentifierAst |
getNameAst() |
List<FunctionParameterAst> |
getParameters() |
Type |
getReturnType() |
TypeAst |
getReturnTypeAst() |
Set<String> |
getTypeParameterNames() |
Map<String,Type> |
getTypeParameters() |
TypeParametersAst |
getTypeParametersAst() |
Visibility |
getVisibility() |
boolean |
isAbstract() |
boolean |
isConstructor() |
boolean |
isDeprecated() |
boolean |
isDisabled() |
boolean |
isExtensionMethod() |
boolean |
isMethod() |
boolean |
isSideEffect() |
boolean |
isStatic() |
boolean |
isVariadic() |
getFullText, getLine, getNodeText, getText, toString
contains, getBeginIndex, getEndIndex, getLength
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, getBeginIndex, getEndIndex, getLength
public FunctionAst(AntlrFunction function, Visibility visibility, SignatureAst signatureAst)
function
- visibility
- signatureAst
- public AntlrFunction getAntlrFunction()
public String getName()
public IdentifierAst getNameAst()
public Annotations getAnnotations()
public Visibility getVisibility()
public List<FunctionParameterAst> getParameters()
public boolean isConstructor()
public boolean isMethod()
public boolean isVariadic()
public boolean isSideEffect()
public boolean isStatic()
public boolean isDeprecated()
public boolean isDisabled()
public boolean isExtensionMethod()
public boolean isAbstract()
public TypeAst getReturnTypeAst()
public Type getReturnType()
public TypeParametersAst getTypeParametersAst()
public org.antlr.runtime.tree.Tree getBodyTree()
public String getDescription()
public FunctionSignature getFunctionSignature()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.