Class UseClauseTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
-
- All Implemented Interfaces:
UseClauseTree,Tree
public class UseClauseTreeImpl extends PHPTree implements UseClauseTree
-
-
Constructor Summary
Constructors Constructor Description UseClauseTreeImpl(InternalSyntaxToken useTypeToken, NamespaceNameTree namespaceName)UseClauseTreeImpl(InternalSyntaxToken useTypeToken, NamespaceNameTree namespaceName, InternalSyntaxToken asToken, NameIdentifierTree alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(VisitorCheck visitor)NameIdentifierTreealias()SyntaxTokenasToken()Iterator<Tree>childrenIterator()Creates iterator for children of this node.Tree.KindgetKind()NamespaceNameTreenamespaceName()SyntaxTokenuseTypeToken()-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
UseClauseTreeImpl
public UseClauseTreeImpl(@Nullable InternalSyntaxToken useTypeToken, NamespaceNameTree namespaceName, InternalSyntaxToken asToken, NameIdentifierTree alias)
-
UseClauseTreeImpl
public UseClauseTreeImpl(@Nullable InternalSyntaxToken useTypeToken, NamespaceNameTree namespaceName)
-
-
Method Detail
-
useTypeToken
@Nullable public SyntaxToken useTypeToken()
- Specified by:
useTypeTokenin interfaceUseClauseTree
-
namespaceName
public NamespaceNameTree namespaceName()
- Specified by:
namespaceNamein interfaceUseClauseTree
-
asToken
@Nullable public SyntaxToken asToken()
- Specified by:
asTokenin interfaceUseClauseTree
-
alias
@Nullable public NameIdentifierTree alias()
- Specified by:
aliasin interfaceUseClauseTree
-
childrenIterator
public Iterator<Tree> childrenIterator()
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
public void accept(VisitorCheck visitor)
-
-