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
ConstructorsConstructorDescriptionBlockTreeImpl(InternalSyntaxToken lbrace, List<StatementTree> statements, InternalSyntaxToken rbrace) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(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:
openCurlyBraceTokenin interfaceBlockTree
-
statements
- Specified by:
statementsin interfaceBlockTree
-
closeCurlyBraceToken
- Specified by:
closeCurlyBraceTokenin interfaceBlockTree
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
-