Package org.sonarsource.slang.impl
Class FunctionDeclarationTreeImpl
java.lang.Object
org.sonarsource.slang.impl.BaseTreeImpl
org.sonarsource.slang.impl.FunctionDeclarationTreeImpl
- All Implemented Interfaces:
FunctionDeclarationTree,HasTextRange,Tree
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionDeclarationTreeImpl(TreeMetaData metaData, List<Tree> modifiers, boolean isConstructor, Tree returnType, IdentifierTree name, List<Tree> formalParameters, BlockTree body, List<Tree> nativeChildren) -
Method Summary
Methods inherited from class org.sonarsource.slang.impl.BaseTreeImpl
metaDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonarsource.slang.api.Tree
descendants, metaData, textRange
-
Constructor Details
-
FunctionDeclarationTreeImpl
public FunctionDeclarationTreeImpl(TreeMetaData metaData, List<Tree> modifiers, boolean isConstructor, @Nullable Tree returnType, @Nullable IdentifierTree name, List<Tree> formalParameters, @Nullable BlockTree body, List<Tree> nativeChildren)
-
-
Method Details
-
modifiers
- Specified by:
modifiersin interfaceFunctionDeclarationTree
-
setModifiers
-
isConstructor
public boolean isConstructor()- Specified by:
isConstructorin interfaceFunctionDeclarationTree
-
returnType
- Specified by:
returnTypein interfaceFunctionDeclarationTree
-
name
- Specified by:
namein interfaceFunctionDeclarationTree
-
formalParameters
- Specified by:
formalParametersin interfaceFunctionDeclarationTree
-
body
- Specified by:
bodyin interfaceFunctionDeclarationTree
-
nativeChildren
- Specified by:
nativeChildrenin interfaceFunctionDeclarationTree
-
rangeToHighlight
- Specified by:
rangeToHighlightin interfaceFunctionDeclarationTree
-
children
-