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 voidaccept(VisitorCheck visitor)Iterator<Tree>childrenIterator()Creates iterator for children of this node.SyntaxTokendoubleArrowToken()Tree.KindgetKind()ExpressionTreekey()Treevariable()-
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:
keyin interfaceArrayAssignmentPatternElementTree
-
doubleArrowToken
@Nullable public SyntaxToken doubleArrowToken()
- Specified by:
doubleArrowTokenin interfaceArrayAssignmentPatternElementTree
-
variable
public Tree variable()
- Specified by:
variablein interfaceArrayAssignmentPatternElementTree
-
childrenIterator
public Iterator<Tree> childrenIterator()
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
public void accept(VisitorCheck visitor)
-
-