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
ConstructorDescriptionParameterTreeImpl
(List<AttributeGroupTree> attributeGroups, List<SyntaxToken> visibilityAndReadonly, DeclaredTypeTree type, InternalSyntaxToken referenceToken, InternalSyntaxToken ellipsisToken, VariableIdentifierTree variableIdentifier, InternalSyntaxToken equalToken, ExpressionTree initValue) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
attributeGroups
in interfaceHasAttributes
-
visibility
- Specified by:
visibility
in interfaceParameterTree
-
type
Deprecated.since 3.11 - UsedeclaredType()
instead.- Specified by:
type
in interfaceParameterTree
-
declaredType
- Specified by:
declaredType
in interfaceParameterTree
-
referenceToken
- Specified by:
referenceToken
in interfaceParameterTree
-
ellipsisToken
- Specified by:
ellipsisToken
in interfaceParameterTree
-
variableIdentifier
- Specified by:
variableIdentifier
in interfaceParameterTree
-
equalToken
- Specified by:
equalToken
in interfaceParameterTree
-
initValue
- Specified by:
initValue
in interfaceParameterTree
-
readonlyToken
- Specified by:
readonlyToken
in interfaceParameterTree
-
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
-
declaredType()
instead.