Class ArrayInitializerFunctionTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.expression.ArrayInitializerFunctionTreeImpl
-
- All Implemented Interfaces:
ArrayInitializerFunctionTree,ArrayInitializerTree,ExpressionTree,Tree
public class ArrayInitializerFunctionTreeImpl extends PHPTree implements ArrayInitializerFunctionTree
-
-
Constructor Summary
Constructors Constructor Description ArrayInitializerFunctionTreeImpl(InternalSyntaxToken arrayToken, InternalSyntaxToken openParenthesis, SeparatedListImpl<ArrayPairTree> arrayPairs, InternalSyntaxToken closeParenthesis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(VisitorCheck visitor)SeparatedListImpl<ArrayPairTree>arrayPairs()SyntaxTokenarrayToken()Iterator<Tree>childrenIterator()Creates iterator for children of this node.SyntaxTokencloseParenthesisToken()Tree.KindgetKind()SyntaxTokenopenParenthesisToken()-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
ArrayInitializerFunctionTreeImpl
public ArrayInitializerFunctionTreeImpl(InternalSyntaxToken arrayToken, InternalSyntaxToken openParenthesis, SeparatedListImpl<ArrayPairTree> arrayPairs, InternalSyntaxToken closeParenthesis)
-
-
Method Detail
-
arrayToken
public SyntaxToken arrayToken()
- Specified by:
arrayTokenin interfaceArrayInitializerFunctionTree
-
openParenthesisToken
public SyntaxToken openParenthesisToken()
- Specified by:
openParenthesisTokenin interfaceArrayInitializerFunctionTree
-
arrayPairs
public SeparatedListImpl<ArrayPairTree> arrayPairs()
- Specified by:
arrayPairsin interfaceArrayInitializerFunctionTree- Specified by:
arrayPairsin interfaceArrayInitializerTree
-
closeParenthesisToken
public SyntaxToken closeParenthesisToken()
- Specified by:
closeParenthesisTokenin interfaceArrayInitializerFunctionTree
-
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)
-
-