Class MatchDefaultClauseTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.MatchDefaultClauseTreeImpl
- All Implemented Interfaces:
MatchClauseTree
,MatchDefaultClauseTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionMatchDefaultClauseTreeImpl
(SyntaxToken defaultToken, com.sonar.sslr.api.typed.Optional<SyntaxToken> trailingComma, SyntaxToken doubleArrowToken, ExpressionTree expression) -
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
-
MatchDefaultClauseTreeImpl
public MatchDefaultClauseTreeImpl(SyntaxToken defaultToken, com.sonar.sslr.api.typed.Optional<SyntaxToken> trailingComma, SyntaxToken doubleArrowToken, ExpressionTree expression)
-
-
Method Details
-
accept
-
getKind
-
defaultToken
- Specified by:
defaultToken
in interfaceMatchDefaultClauseTree
-
trailingComma
- Specified by:
trailingComma
in interfaceMatchDefaultClauseTree
-
doubleArrowToken
Description copied from interface:MatchDefaultClauseTree
- Specified by:
doubleArrowToken
in interfaceMatchClauseTree
- Specified by:
doubleArrowToken
in interfaceMatchDefaultClauseTree
-
expression
- Specified by:
expression
in interfaceMatchClauseTree
- Specified by:
expression
in interfaceMatchDefaultClauseTree
-
childrenIterator
Description copied from class:PHPTree
Creates iterator for children of this node. Note that iterator may containnull
elements.- Specified by:
childrenIterator
in classPHPTree
-