@ParametersAreNonnullByDefault
Package org.sonar.plugins.php.api.tree.declaration
-
Interface Summary Interface Description AttributeGroupTree AttributeTree BuiltInTypeTree CallArgumentTree ClassDeclarationTree ClassMemberTree This interface represents class statement, which can be:Method declaration
Class variable declaration
Trait use statement
ClassPropertyDeclarationTree Class PropertiesClassTree Common interface forClassDeclarationTree
andAnonymousClassTree
ConstantDeclarationTree Constants declarationDeclaredTypeTree Either aTypeTree
or aUnionTypeTree
FunctionDeclarationTree FunctionTree Common interface for all kinds of function.HasAttributes MethodDeclarationTree Class MethodsNamespaceNameTree Namespace name Unqualified name: this is an identifier without a namespace separator, such as Foo Qualified name: this is an identifier with a namespace separator, such as Foo\Bar Fully qualified name: this is an identifier with a namespace separator that begins with a namespace separator, such as \Foo\Bar.ParameterListTree Function parameters ListParameterTree ReturnTypeClauseTree ReturnTypeClauseTree is an optional element of function declarationTypeNameTree This interface represents type clause (appearing in function return type, parameter type or class property type (since PHP 7.4), which can be:Tree.Kind.BUILT_IN_TYPE
seeBuiltInTypeTree
Tree.Kind.NAMESPACE_NAME
for custom class or interface typeTypeTree This interface represents type clause (appearing in function return type or parameter type), possibly prefixed with a?
which stands for "optional".UnionTypeTree VariableDeclarationTree Variable Declaration