Class ArrayPairTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- All Implemented Interfaces:
ArrayPairTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionArrayPairTreeImpl
(InternalSyntaxToken ellipsis, ExpressionTree value) ArrayPairTreeImpl
(ExpressionTree key, InternalSyntaxToken doubleArrowToken, ExpressionTree value) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VisitorCheck visitor) Creates iterator for children of this node.getKind()
key()
value()
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
ArrayPairTreeImpl
public ArrayPairTreeImpl(ExpressionTree key, InternalSyntaxToken doubleArrowToken, ExpressionTree value) -
ArrayPairTreeImpl
-
-
Method Details
-
ellipsisToken
- Specified by:
ellipsisToken
in interfaceArrayPairTree
-
key
- Specified by:
key
in interfaceArrayPairTree
-
doubleArrowToken
- Specified by:
doubleArrowToken
in interfaceArrayPairTree
-
value
- Specified by:
value
in interfaceArrayPairTree
-
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
-
accept
-