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 TypeMethodDescriptionvoid
accept
(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:
catchToken
in interfaceCatchBlockTree
-
openParenthesisToken
- Specified by:
openParenthesisToken
in interfaceCatchBlockTree
-
exceptionTypes
- Specified by:
exceptionTypes
in interfaceCatchBlockTree
-
variable
- Specified by:
variable
in interfaceCatchBlockTree
-
closeParenthesisToken
- Specified by:
closeParenthesisToken
in interfaceCatchBlockTree
-
block
- Specified by:
block
in interfaceCatchBlockTree
-
accept
-
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
-