Class ArrayAssignmentPatternElementTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElementTreeImpl
-
- All Implemented Interfaces:
ArrayAssignmentPatternElementTree
,Tree
public class ArrayAssignmentPatternElementTreeImpl extends PHPTree implements ArrayAssignmentPatternElementTree
-
-
Constructor Summary
Constructors Constructor Description ArrayAssignmentPatternElementTreeImpl(ExpressionTree key, InternalSyntaxToken doubleArrow, Tree variable)
ArrayAssignmentPatternElementTreeImpl(Tree variable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(VisitorCheck visitor)
Iterator<Tree>
childrenIterator()
Creates iterator for children of this node.SyntaxToken
doubleArrowToken()
Tree.Kind
getKind()
ExpressionTree
key()
Tree
variable()
-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
ArrayAssignmentPatternElementTreeImpl
public ArrayAssignmentPatternElementTreeImpl(ExpressionTree key, InternalSyntaxToken doubleArrow, Tree variable)
-
ArrayAssignmentPatternElementTreeImpl
public ArrayAssignmentPatternElementTreeImpl(Tree variable)
-
-
Method Detail
-
key
@Nullable public ExpressionTree key()
- Specified by:
key
in interfaceArrayAssignmentPatternElementTree
-
doubleArrowToken
@Nullable public SyntaxToken doubleArrowToken()
- Specified by:
doubleArrowToken
in interfaceArrayAssignmentPatternElementTree
-
variable
public Tree variable()
- Specified by:
variable
in interfaceArrayAssignmentPatternElementTree
-
childrenIterator
public Iterator<Tree> 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
public void accept(VisitorCheck visitor)
-
-