Class BlockTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.statement.BlockTreeImpl
- All Implemented Interfaces:
BlockTree
,StatementTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionBlockTreeImpl
(InternalSyntaxToken lbrace, List<StatementTree> statements, InternalSyntaxToken rbrace) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VisitorCheck visitor) 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
-
BlockTreeImpl
public BlockTreeImpl(InternalSyntaxToken lbrace, List<StatementTree> statements, InternalSyntaxToken rbrace)
-
-
Method Details
-
openCurlyBraceToken
- Specified by:
openCurlyBraceToken
in interfaceBlockTree
-
statements
- Specified by:
statements
in interfaceBlockTree
-
closeCurlyBraceToken
- Specified by:
closeCurlyBraceToken
in interfaceBlockTree
-
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
-