Class CatchBlockTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- All Implemented Interfaces:
CatchBlockTree,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCatchBlockTreeImpl(InternalSyntaxToken catchToken, InternalSyntaxToken lParenthesis, SeparatedList<NamespaceNameTree> exceptionTypes, VariableIdentifierTreeImpl variable, InternalSyntaxToken rParenthsis, BlockTree block) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(VisitorCheck visitor) block()Creates iterator for children of this node.getKind()variable()Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
CatchBlockTreeImpl
public CatchBlockTreeImpl(InternalSyntaxToken catchToken, InternalSyntaxToken lParenthesis, SeparatedList<NamespaceNameTree> exceptionTypes, @Nullable VariableIdentifierTreeImpl variable, InternalSyntaxToken rParenthsis, BlockTree block)
-
-
Method Details
-
catchToken
- Specified by:
catchTokenin interfaceCatchBlockTree
-
openParenthesisToken
- Specified by:
openParenthesisTokenin interfaceCatchBlockTree
-
exceptionTypes
- Specified by:
exceptionTypesin interfaceCatchBlockTree
-
variable
- Specified by:
variablein interfaceCatchBlockTree
-
closeParenthesisToken
- Specified by:
closeParenthesisTokenin interfaceCatchBlockTree
-
block
- Specified by:
blockin interfaceCatchBlockTree
-
accept
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-