Class TryStatementTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- All Implemented Interfaces:
StatementTree,TryStatementTree,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTryStatementTreeImpl(InternalSyntaxToken tryToken, BlockTree blockTree, List<CatchBlockTree> catchBlocks) TryStatementTreeImpl(InternalSyntaxToken tryToken, BlockTree blockTree, List<CatchBlockTree> catchBlocks, InternalSyntaxToken finallyToken, BlockTree finallyBlock) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(VisitorCheck visitor) block()Creates iterator for children of this node.getKind()tryToken()Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
TryStatementTreeImpl
public TryStatementTreeImpl(InternalSyntaxToken tryToken, BlockTree blockTree, List<CatchBlockTree> catchBlocks, InternalSyntaxToken finallyToken, BlockTree finallyBlock) -
TryStatementTreeImpl
public TryStatementTreeImpl(InternalSyntaxToken tryToken, BlockTree blockTree, List<CatchBlockTree> catchBlocks)
-
-
Method Details
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
tryToken
- Specified by:
tryTokenin interfaceTryStatementTree
-
block
- Specified by:
blockin interfaceTryStatementTree
-
catchBlocks
- Specified by:
catchBlocksin interfaceTryStatementTree
-
finallyToken
- Specified by:
finallyTokenin interfaceTryStatementTree
-
finallyBlock
- Specified by:
finallyBlockin interfaceTryStatementTree
-
accept
-