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 voidaccept(VisitorCheck visitor)SeparatedList<AttributeTree>attributes()Iterator<Tree>childrenIterator()Creates iterator for children of this node.SyntaxTokenendToken()Tree.KindgetKind()SyntaxTokenstartToken()-
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:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
public void accept(VisitorCheck visitor)
-
startToken
public SyntaxToken startToken()
- Specified by:
startTokenin interfaceAttributeGroupTree
-
attributes
public SeparatedList<AttributeTree> attributes()
- Specified by:
attributesin interfaceAttributeGroupTree
-
endToken
public SyntaxToken endToken()
- Specified by:
endTokenin interfaceAttributeGroupTree
-
-