Class ParameterTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- All Implemented Interfaces:
HasAttributes,ParameterTree,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionParameterTreeImpl(List<AttributeGroupTree> attributeGroups, List<SyntaxToken> visibilityAndReadonly, DeclaredTypeTree type, InternalSyntaxToken referenceToken, InternalSyntaxToken ellipsisToken, VariableIdentifierTree variableIdentifier, InternalSyntaxToken equalToken, ExpressionTree initValue) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(VisitorCheck visitor) Creates iterator for children of this node.getKind()type()Deprecated.Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
isPropertyPromotion, isReadonly
-
Constructor Details
-
ParameterTreeImpl
public ParameterTreeImpl(List<AttributeGroupTree> attributeGroups, List<SyntaxToken> visibilityAndReadonly, @Nullable DeclaredTypeTree type, @Nullable InternalSyntaxToken referenceToken, @Nullable InternalSyntaxToken ellipsisToken, VariableIdentifierTree variableIdentifier, @Nullable InternalSyntaxToken equalToken, @Nullable ExpressionTree initValue)
-
-
Method Details
-
attributeGroups
- Specified by:
attributeGroupsin interfaceHasAttributes
-
visibility
- Specified by:
visibilityin interfaceParameterTree
-
type
Deprecated.since 3.11 - UsedeclaredType()instead.- Specified by:
typein interfaceParameterTree
-
declaredType
- Specified by:
declaredTypein interfaceParameterTree
-
referenceToken
- Specified by:
referenceTokenin interfaceParameterTree
-
ellipsisToken
- Specified by:
ellipsisTokenin interfaceParameterTree
-
variableIdentifier
- Specified by:
variableIdentifierin interfaceParameterTree
-
equalToken
- Specified by:
equalTokenin interfaceParameterTree
-
initValue
- Specified by:
initValuein interfaceParameterTree
-
readonlyToken
- Specified by:
readonlyTokenin interfaceParameterTree
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
-
declaredType()instead.