Class AttributeGroupTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.declaration.AttributeGroupTreeImpl
-
- All Implemented Interfaces:
AttributeGroupTree
,Tree
public class AttributeGroupTreeImpl extends PHPTree implements AttributeGroupTree
-
-
Constructor Summary
Constructors Constructor Description AttributeGroupTreeImpl(SyntaxToken startToken, SeparatedList<AttributeTree> attributes, SyntaxToken endToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(VisitorCheck visitor)
SeparatedList<AttributeTree>
attributes()
Iterator<Tree>
childrenIterator()
Creates iterator for children of this node.SyntaxToken
endToken()
Tree.Kind
getKind()
SyntaxToken
startToken()
-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
AttributeGroupTreeImpl
public AttributeGroupTreeImpl(SyntaxToken startToken, SeparatedList<AttributeTree> attributes, SyntaxToken endToken)
-
-
Method Detail
-
childrenIterator
public Iterator<Tree> 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
public void accept(VisitorCheck visitor)
-
startToken
public SyntaxToken startToken()
- Specified by:
startToken
in interfaceAttributeGroupTree
-
attributes
public SeparatedList<AttributeTree> attributes()
- Specified by:
attributes
in interfaceAttributeGroupTree
-
endToken
public SyntaxToken endToken()
- Specified by:
endToken
in interfaceAttributeGroupTree
-
-