Class FlowInterfaceDeclarationTreeImpl
- java.lang.Object
-
- org.sonar.javascript.tree.impl.JavaScriptTree
-
- org.sonar.javascript.tree.impl.flow.FlowInterfaceDeclarationTreeImpl
-
- All Implemented Interfaces:
FlowInterfaceDeclarationTree,StatementTree,Tree
public class FlowInterfaceDeclarationTreeImpl extends JavaScriptTree implements FlowInterfaceDeclarationTree
-
-
Constructor Summary
Constructors Constructor Description FlowInterfaceDeclarationTreeImpl(SyntaxToken interfaceToken, IdentifierTree name, FlowGenericParameterClauseTree genericParameterClause, FlowImplementsClauseTree extendsClause, SyntaxToken leftCurlyBraceToken, SeparatedList<FlowPropertyDefinitionTree> properties, SyntaxToken rightCurlyBraceToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(DoubleDispatchVisitor visitor)Iterator<Tree>childrenIterator()Creates iterator for children of this node.FlowImplementsClauseTreeextendsClause()FlowGenericParameterClauseTreegenericParameterClause()Tree.KindgetKind()SyntaxTokeninterfaceToken()SyntaxTokenleftCurlyBraceToken()IdentifierTreename()SeparatedList<FlowPropertyDefinitionTree>properties()SyntaxTokenrightCurlyBraceToken()-
Methods inherited from class org.sonar.javascript.tree.impl.JavaScriptTree
childrenStream, descendants, firstToken, is, isAncestorOf, isLeaf, lastToken, parent, setParent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.Tree
childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parent
-
-
-
-
Constructor Detail
-
FlowInterfaceDeclarationTreeImpl
public FlowInterfaceDeclarationTreeImpl(SyntaxToken interfaceToken, IdentifierTree name, @Nullable FlowGenericParameterClauseTree genericParameterClause, @Nullable FlowImplementsClauseTree extendsClause, SyntaxToken leftCurlyBraceToken, SeparatedList<FlowPropertyDefinitionTree> properties, SyntaxToken rightCurlyBraceToken)
-
-
Method Detail
-
getKind
public Tree.Kind getKind()
- Specified by:
getKindin classJavaScriptTree
-
childrenIterator
public Iterator<Tree> childrenIterator()
Description copied from class:JavaScriptTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classJavaScriptTree
-
accept
public void accept(DoubleDispatchVisitor visitor)
-
interfaceToken
public SyntaxToken interfaceToken()
- Specified by:
interfaceTokenin interfaceFlowInterfaceDeclarationTree
-
name
public IdentifierTree name()
- Specified by:
namein interfaceFlowInterfaceDeclarationTree
-
genericParameterClause
@Nullable public FlowGenericParameterClauseTree genericParameterClause()
- Specified by:
genericParameterClausein interfaceFlowInterfaceDeclarationTree
-
extendsClause
@Nullable public FlowImplementsClauseTree extendsClause()
- Specified by:
extendsClausein interfaceFlowInterfaceDeclarationTree
-
leftCurlyBraceToken
public SyntaxToken leftCurlyBraceToken()
- Specified by:
leftCurlyBraceTokenin interfaceFlowInterfaceDeclarationTree
-
properties
public SeparatedList<FlowPropertyDefinitionTree> properties()
- Specified by:
propertiesin interfaceFlowInterfaceDeclarationTree
-
rightCurlyBraceToken
public SyntaxToken rightCurlyBraceToken()
- Specified by:
rightCurlyBraceTokenin interfaceFlowInterfaceDeclarationTree
-
-