Class UseClauseTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- All Implemented Interfaces:
UseClauseTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionUseClauseTreeImpl
(InternalSyntaxToken useTypeToken, NamespaceNameTree namespaceName) UseClauseTreeImpl
(InternalSyntaxToken useTypeToken, NamespaceNameTree namespaceName, InternalSyntaxToken asToken, NameIdentifierTree alias) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VisitorCheck visitor) alias()
asToken()
Creates iterator for children of this node.getKind()
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
UseClauseTreeImpl
public UseClauseTreeImpl(@Nullable InternalSyntaxToken useTypeToken, NamespaceNameTree namespaceName, InternalSyntaxToken asToken, NameIdentifierTree alias) -
UseClauseTreeImpl
public UseClauseTreeImpl(@Nullable InternalSyntaxToken useTypeToken, NamespaceNameTree namespaceName)
-
-
Method Details
-
useTypeToken
- Specified by:
useTypeToken
in interfaceUseClauseTree
-
namespaceName
- Specified by:
namespaceName
in interfaceUseClauseTree
-
asToken
- Specified by:
asToken
in interfaceUseClauseTree
-
alias
- Specified by:
alias
in interfaceUseClauseTree
-
getKind
-
childrenIterator
Description copied from class:PHPTree
Creates iterator for children of this node. Note that iterator may containnull
elements.- Specified by:
childrenIterator
in classPHPTree
-
accept
-