Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- absoluteSeparator() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- absoluteSeparator() - Method in interface org.sonar.plugins.php.api.tree.declaration.NamespaceNameTree
- ABSTRACT - Enum constant in enum class org.sonar.php.api.PHPKeyword
- ABSTRACT - Enum constant in enum class org.sonar.php.symbols.ClassSymbol.Kind
- AbstractClassSymbol - Class in org.sonar.php.symbols
- AbstractClassSymbol() - Constructor for class org.sonar.php.symbols.AbstractClassSymbol
- accept(String, String, int) - Method in interface org.sonar.php.filters.PHPIssueFilter
- accept(String, String, int) - Method in class org.sonar.php.filters.SuppressWarningFilter
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.CompilationUnitTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.AttributeGroupTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.AttributeTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.BuiltInTypeTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.CallArgumentTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.CombinedTypeTreeImpl.IntersectionTypeTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.CombinedTypeTreeImpl.UnionTypeTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.ConstantDeclarationTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.ParameterListTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.ReturnTypeClauseTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.TraitMethodReferenceTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.TraitPrecedenceTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.TypeTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerBracketTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerFunctionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.AssignmentByReferenceTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.AssignmentExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.BinaryExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.CallableConvertTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.CastExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.CompoundVariableTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ComputedVariableTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ExecutionOperatorTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ExpandableStringCharactersTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ExpandableStringLiteralTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl.HeredocBody
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.LexicalVariablesTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ListExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.LiteralTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.MatchConditionClauseTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.MatchDefaultClauseTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.NameIdentifierTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.NewExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ParenthesizedExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.PostfixExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.PrefixedCastExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.PrefixExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ReferenceVariableTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.SpreadArgumentTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.ThrowExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.VariableVariableTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.ScriptTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.BlockTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.BreakStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.CaseClauseTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.ContinueStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.DefaultClauseTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.EchoTagStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.ElseClauseTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.ElseifClauseTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.EmptyStatementImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.ExpressionListStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.ExpressionStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.GlobalStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.GotoStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.InlineHTMLTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.LabelTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.ReturnStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.StaticStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.ThrowStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.UnsetVariableStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.VariableDeclarationTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- accept(VisitorCheck) - Method in class org.sonar.php.tree.impl.VariableIdentifierTreeImpl
- accept(VisitorCheck) - Method in interface org.sonar.plugins.php.api.tree.Tree
- accessToken() - Method in class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- accessToken() - Method in interface org.sonar.plugins.php.api.tree.expression.MemberAccessTree
- adaptations() - Method in class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- adaptations() - Method in interface org.sonar.plugins.php.api.tree.statement.UseTraitDeclarationTree
- add(int, T) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- add(ClassSymbolData) - Method in class org.sonar.php.symbols.ProjectSymbolData
- add(FunctionSymbolData) - Method in class org.sonar.php.symbols.ProjectSymbolData
- add(T) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- addAll(int, Collection<? extends T>) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- addAll(Collection<? extends T>) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- addedComplexity() - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor.ComplexityComponent
- ADDITIVE_EXPR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ADDITIVE_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- addSymbol(Symbol) - Method in class org.sonar.php.tree.symbols.Scope
- alias() - Method in class org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
- alias() - Method in class org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- alias() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitAliasTree
- alias() - Method in interface org.sonar.plugins.php.api.tree.statement.UseClauseTree
- allSuperTypes() - Method in class org.sonar.php.symbols.AbstractClassSymbol
-
Returns back the class symbol of all its super types and itself
- allSuperTypes() - Method in interface org.sonar.php.symbols.ClassSymbol
- ALTERNATIVE_CONDITIONAL_AND - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_CONDITIONAL_AND_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- ALTERNATIVE_CONDITIONAL_OR - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_CONDITIONAL_OR_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- ALTERNATIVE_CONDITIONAL_XOR - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_DECLARE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_DIMENSIONAL_OFFSET() - Method in class org.sonar.php.parser.PHPGrammar
- ALTERNATIVE_ELSE_CLAUSE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ALTERNATIVE_ELSE_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_ELSE_CLAUSE() - Method in class org.sonar.php.parser.PHPGrammar
- ALTERNATIVE_ELSEIF_CLAUSE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ALTERNATIVE_ELSEIF_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_ELSEIF_CLAUSE() - Method in class org.sonar.php.parser.PHPGrammar
- ALTERNATIVE_FOR_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_FOREACH_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_IF_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ALTERNATIVE_IF_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_IF_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- ALTERNATIVE_NOT_EQUAL_TO - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_SWITCH_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ALTERNATIVE_WHILE_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ALTERNATIVE_WHILE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- alternativeDeclareStatement(DeclareStatementTreeImpl.DeclareStatementHead, InternalSyntaxToken, Optional<List<StatementTree>>, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- alternativeDimensionalOffset(InternalSyntaxToken, Optional<ExpressionTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- alternativeElseClause(InternalSyntaxToken, InternalSyntaxToken, Optional<List<StatementTree>>) - Method in class org.sonar.php.parser.TreeFactory
- alternativeElseifClause(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, Optional<List<StatementTree>>) - Method in class org.sonar.php.parser.TreeFactory
- alternativeIfStatement(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, Optional<List<StatementTree>>, Optional<List<ElseifClauseTree>>, Optional<ElseClauseTree>, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- alternativeSwitchStatement(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, Optional<InternalSyntaxToken>, Optional<List<SwitchCaseClauseTree>>, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- alternativeWhileStatement(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, Optional<List<StatementTree>>, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- AMPERSAND - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- ampersandToken() - Method in class org.sonar.php.tree.impl.expression.AssignmentByReferenceTreeImpl
- ampersandToken() - Method in class org.sonar.php.tree.impl.expression.ReferenceVariableTreeImpl
- ampersandToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ReferenceVariableTree
- analyze() - Method in class org.sonar.php.PHPAnalyzer
- analyze(PhpIniFile) - Method in interface org.sonar.php.ini.PhpIniCheck
- analyze(ControlFlowGraph, SymbolTable) - Static method in class org.sonar.php.cfg.LiveVariablesAnalysis
- analyze(CheckContext) - Method in interface org.sonar.plugins.php.api.visitors.PHPCheck
- analyze(CheckContext) - Method in class org.sonar.plugins.php.api.visitors.PHPSubscriptionCheck
- analyze(CheckContext) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- analyze(PhpFile, CompilationUnitTree) - Method in interface org.sonar.plugins.php.api.visitors.PHPCheck
- analyze(PhpFile, CompilationUnitTree) - Method in class org.sonar.plugins.php.api.visitors.PHPSubscriptionCheck
- analyze(PhpFile, CompilationUnitTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- analyze(PhpFile, CompilationUnitTree, SymbolTable) - Method in interface org.sonar.plugins.php.api.visitors.PHPCheck
- analyze(PhpFile, CompilationUnitTree, SymbolTable) - Method in class org.sonar.plugins.php.api.visitors.PHPSubscriptionCheck
- analyze(PhpFile, CompilationUnitTree, SymbolTable) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- analyzeTest() - Method in class org.sonar.php.PHPAnalyzer
- AND - Enum constant in enum class org.sonar.php.api.PHPKeyword
- AND_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ANDAND - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- ANDEQUAL - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- ANONYMOUS_CLASS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ANONYMOUS_CLASS() - Method in class org.sonar.php.parser.PHPGrammar
- anonymousClass(Optional<List<AttributeGroupTree>>, Optional<InternalSyntaxToken>, InternalSyntaxToken, Optional<InternalSyntaxToken>, SeparatedListImpl<CallArgumentTree>, Optional<InternalSyntaxToken>, Optional<TreeFactory.Tuple<InternalSyntaxToken, NamespaceNameTree>>, Optional<TreeFactory.Tuple<InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>>>, InternalSyntaxToken, Optional<List<ClassMemberTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- AnonymousClassTree - Interface in org.sonar.plugins.php.api.tree.expression
- AnonymousClassTreeImpl - Class in org.sonar.php.tree.impl.expression
- AnonymousClassTreeImpl(List<AttributeGroupTree>, SyntaxToken, SyntaxToken, SyntaxToken, SeparatedList<CallArgumentTree>, SyntaxToken, SyntaxToken, NamespaceNameTree, SyntaxToken, SeparatedListImpl<NamespaceNameTree>, SyntaxToken, List<ClassMemberTree>, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- ANYTHING_BUT_START_TAG - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ANYTHING_BUT_START_TAG - Static variable in class org.sonar.php.parser.LexicalConstant
- argument() - Method in class org.sonar.php.tree.impl.expression.SpreadArgumentTreeImpl
- argument() - Method in class org.sonar.php.tree.impl.statement.BreakStatementTreeImpl
- argument() - Method in class org.sonar.php.tree.impl.statement.ContinueStatementTreeImpl
- argument() - Method in interface org.sonar.plugins.php.api.tree.expression.SpreadArgumentTree
- argument() - Method in interface org.sonar.plugins.php.api.tree.statement.BreakStatementTree
- argument() - Method in interface org.sonar.plugins.php.api.tree.statement.ContinueStatementTree
- arguments() - Method in class org.sonar.php.tree.impl.declaration.AttributeTreeImpl
- arguments() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
-
Deprecated.
- arguments() - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
-
Deprecated.since 3.11 . Use
FunctionCallTreeImpl.callArguments()
instead. - arguments() - Method in interface org.sonar.plugins.php.api.tree.declaration.AttributeTree
- arguments() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
-
Deprecated.since 3.11 . Use
AnonymousClassTree.callArguments()
instead. - arguments() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionCallTree
-
Deprecated.since 3.11 . Use
FunctionCallTree.callArguments()
instead. - arguments(Optional<SeparatedListImpl<CallArgumentTree>>) - Method in class org.sonar.php.parser.TreeFactory
- ARGUMENTS() - Method in class org.sonar.php.parser.PHPGrammar
- argumentsList(CallArgumentTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, CallArgumentTree>>>, Optional<InternalSyntaxToken>) - Method in class org.sonar.php.parser.TreeFactory
- ARRAY - Enum constant in enum class org.sonar.php.api.PHPKeyword
- ARRAY_ACCESS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ARRAY_ASSIGNMENT_PATTERN - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ARRAY_ASSIGNMENT_PATTERN() - Method in class org.sonar.php.parser.PHPGrammar
- ARRAY_ASSIGNMENT_PATTERN_ELEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ARRAY_ASSIGNMENT_PATTERN_ELEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ARRAY_ASSIGNMENT_PATTERN_ELEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- ARRAY_DESTRUCTURING_ASSIGNMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ARRAY_DESTRUCTURING_ASSIGNMENT() - Method in class org.sonar.php.parser.PHPGrammar
- ARRAY_INIALIZER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ARRAY_INITIALIZER() - Method in class org.sonar.php.parser.PHPGrammar
- ARRAY_INITIALIZER_BRACKET - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ARRAY_INITIALIZER_FUNCTION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ARRAY_PAIR - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ARRAY_PAIR() - Method in class org.sonar.php.parser.PHPGrammar
- ARRAY_PAIR_LIST - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ARRAY_PAIR_LIST() - Method in class org.sonar.php.parser.PHPGrammar
- ArrayAccessTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Array Access
- ArrayAccessTreeImpl - Class in org.sonar.php.tree.impl.expression
- ArrayAccessTreeImpl(InternalSyntaxToken, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- ArrayAccessTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- arrayAssignmentPattern(InternalSyntaxToken, Optional<ArrayAssignmentPatternElementTree>, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, Optional<ArrayAssignmentPatternElementTree>>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- arrayAssignmentPattern(InternalSyntaxToken, List<TreeFactory.Tuple<InternalSyntaxToken, Optional<ArrayAssignmentPatternElementTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- arrayAssignmentPattern(InternalSyntaxToken, ArrayAssignmentPatternElementTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, Optional<ArrayAssignmentPatternElementTree>>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- arrayAssignmentPatternElement(Optional<TreeFactory.Tuple<ExpressionTree, InternalSyntaxToken>>, Tree) - Method in class org.sonar.php.parser.TreeFactory
- ArrayAssignmentPatternElements - Class in org.sonar.php.tree.impl.expression
- ArrayAssignmentPatternElements(ArrayAssignmentPatternElementTree, List<TreeFactory.Tuple<SyntaxToken, Optional<ArrayAssignmentPatternElementTree>>>) - Constructor for class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElements
- ArrayAssignmentPatternElementTree - Interface in org.sonar.plugins.php.api.tree.expression
- ArrayAssignmentPatternElementTreeImpl - Class in org.sonar.php.tree.impl.expression
- ArrayAssignmentPatternElementTreeImpl(ExpressionTree, InternalSyntaxToken, Tree) - Constructor for class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElementTreeImpl
- ArrayAssignmentPatternElementTreeImpl(Tree) - Constructor for class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElementTreeImpl
- ArrayAssignmentPatternTree - Interface in org.sonar.plugins.php.api.tree.expression
- ArrayAssignmentPatternTreeImpl - Class in org.sonar.php.tree.impl.expression
- ArrayAssignmentPatternTreeImpl(SyntaxToken, ArrayAssignmentPatternElements, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternTreeImpl
- arrayDestructuringAssignment(ExpressionTree, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- ArrayDestructuringTree - Interface in org.sonar.plugins.php.api.tree.expression
- ArrayInitializerBracketTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Array Initializer Bracket
- ArrayInitializerBracketTreeImpl - Class in org.sonar.php.tree.impl.expression
- ArrayInitializerBracketTreeImpl(InternalSyntaxToken, SeparatedListImpl<ArrayPairTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ArrayInitializerBracketTreeImpl
- ArrayInitializerFunctionTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Array Initializer Function
- ArrayInitializerFunctionTreeImpl - Class in org.sonar.php.tree.impl.expression
- ArrayInitializerFunctionTreeImpl(InternalSyntaxToken, InternalSyntaxToken, SeparatedListImpl<ArrayPairTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ArrayInitializerFunctionTreeImpl
- arrayInitializerList(ArrayPairTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ArrayPairTree>>>, Optional<InternalSyntaxToken>) - Method in class org.sonar.php.parser.TreeFactory
- ArrayInitializerTree - Interface in org.sonar.plugins.php.api.tree.expression
- arrayPair1(ExpressionTree, Optional<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>) - Method in class org.sonar.php.parser.TreeFactory
- arrayPair2(InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- arrayPair2(ReferenceVariableTree) - Method in class org.sonar.php.parser.TreeFactory
- arrayPairs() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerBracketTreeImpl
- arrayPairs() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerFunctionTreeImpl
- arrayPairs() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayInitializerBracketTree
- arrayPairs() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayInitializerFunctionTree
- arrayPairs() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayInitializerTree
- ArrayPairTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Array Pair
- ArrayPairTreeImpl - Class in org.sonar.php.tree.impl.expression
- ArrayPairTreeImpl(InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- ArrayPairTreeImpl(ExpressionTree, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- arrayToken() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerFunctionTreeImpl
- arrayToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayInitializerFunctionTree
- ARROW - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- ARROW_FUNCTION_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ARROW_FUNCTION_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- arrowFunctionExpression(Optional<List<AttributeGroupTree>>, Optional<InternalSyntaxToken>, InternalSyntaxToken, Optional<InternalSyntaxToken>, ParameterListTree, Optional<ReturnTypeClauseTree>, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- ArrowFunctionExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
- ArrowFunctionExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- ArrowFunctionExpressionTreeImpl(List<AttributeGroupTree>, InternalSyntaxToken, InternalSyntaxToken, InternalSyntaxToken, ParameterListTree, ReturnTypeClauseTree, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- AS - Enum constant in enum class org.sonar.php.api.PHPKeyword
- ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ASSIGNMENT_BY_REFERENCE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ASSIGNMENT_BY_REFERENCE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ASSIGNMENT_BY_REFERENCE() - Method in class org.sonar.php.parser.PHPGrammar
- ASSIGNMENT_EXPRESSION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ASSIGNMENT_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- ASSIGNMENT_OPERATOR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ASSIGNMENT_OPERATOR() - Method in class org.sonar.php.parser.PHPGrammar
- assignmentByReference(ExpressionTree, InternalSyntaxToken, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- AssignmentByReferenceTreeImpl - Class in org.sonar.php.tree.impl.expression
- AssignmentByReferenceTreeImpl(ExpressionTree, InternalSyntaxToken, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.AssignmentByReferenceTreeImpl
- assignmentExpression(ExpressionTree, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- AssignmentExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
- AssignmentExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- AssignmentExpressionTreeImpl(Tree.Kind, ExpressionTree, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.AssignmentExpressionTreeImpl
- AssignmentExpressionVisitor - Class in org.sonar.php.tree.visitors
- AssignmentExpressionVisitor() - Constructor for class org.sonar.php.tree.visitors.AssignmentExpressionVisitor
- assignUnknown() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- assignValue(ExpressionTree) - Method in class org.sonar.php.tree.symbols.SymbolImpl
- asToken() - Method in class org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
- asToken() - Method in class org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- asToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- asToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl.ForEachStatementHeader
- asToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- asToken() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitAliasTree
- asToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseClauseTree
- AT - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- attribute(NamespaceNameTree, Optional<FunctionCallTree>) - Method in class org.sonar.php.parser.TreeFactory
- ATTRIBUTE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ATTRIBUTE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ATTRIBUTE() - Method in class org.sonar.php.parser.PHPGrammar
-
[ END ] Expression
- ATTRIBUTE_GROUP - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ATTRIBUTE_GROUP - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ATTRIBUTE_GROUP() - Method in class org.sonar.php.parser.PHPGrammar
- ATTRIBUTE_LIST() - Method in class org.sonar.php.parser.PHPGrammar
- ATTRIBUTE_OPEN - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- attributeGroup(SyntaxToken, SeparatedList<AttributeTree>, SyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- attributeGroups() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- attributeGroups() - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- attributeGroups() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- attributeGroups() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- attributeGroups() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- attributeGroups() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- attributeGroups() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- attributeGroups() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- attributeGroups() - Method in class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- attributeGroups() - Method in interface org.sonar.plugins.php.api.tree.declaration.HasAttributes
- AttributeGroupTree - Interface in org.sonar.plugins.php.api.tree.declaration
- AttributeGroupTreeImpl - Class in org.sonar.php.tree.impl.declaration
- AttributeGroupTreeImpl(SyntaxToken, SeparatedList<AttributeTree>, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.AttributeGroupTreeImpl
- attributeList(AttributeTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, AttributeTree>>>, Optional<InternalSyntaxToken>) - Method in class org.sonar.php.parser.TreeFactory
- attributes() - Method in class org.sonar.php.tree.impl.declaration.AttributeGroupTreeImpl
- attributes() - Method in interface org.sonar.plugins.php.api.tree.declaration.AttributeGroupTree
- AttributeTree - Interface in org.sonar.plugins.php.api.tree.declaration
- AttributeTreeImpl - Class in org.sonar.php.tree.impl.declaration
- AttributeTreeImpl(NamespaceNameTree, SyntaxToken, SeparatedList<CallArgumentTree>, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.AttributeTreeImpl
B
- backingType() - Method in class org.sonar.php.tree.impl.declaration.EnumDeclarationTreeImpl
- backingType() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
- BACKTICK - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- BANG - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- BasePhpIniIssue - Class in org.sonar.php.ini
- BasePhpIniIssue(String) - Constructor for class org.sonar.php.ini.BasePhpIniIssue
- BINARY - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- binaryExpression(ExpressionTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>>) - Method in class org.sonar.php.parser.TreeFactory
- BinaryExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
-
BinaryExpressionTree.leftOperand()
*
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
/
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
%
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
+
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
-
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
<<
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
>>
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
<
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
>
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
<=
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
>=
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
==
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
===
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
!=
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
!==
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
<>
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
&
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
^
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
|
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
&&
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
and
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
||
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
or
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
instanceof
BinaryExpressionTree.rightOperand()
BinaryExpressionTree.leftOperand()
.
BinaryExpressionTree.rightOperand()
- BinaryExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- BinaryExpressionTreeImpl(Tree.Kind, ExpressionTree, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.BinaryExpressionTreeImpl
- BITWISE_AND - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- BITWISE_AND_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- BITWISE_COMPLEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- BITWISE_OR - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- BITWISE_OR_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- BITWISE_XOR - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- BITWISE_XOR_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- block() - Method in class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- block() - Method in class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- block() - Method in interface org.sonar.plugins.php.api.tree.statement.CatchBlockTree
- block() - Method in interface org.sonar.plugins.php.api.tree.statement.TryStatementTree
- block(InternalSyntaxToken, Optional<List<StatementTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- BLOCK - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- BLOCK - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- BLOCK() - Method in class org.sonar.php.parser.PHPGrammar
- blockNamespaceStatement(InternalSyntaxToken, Optional<NamespaceNameTree>, InternalSyntaxToken, Optional<List<StatementTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- blocks() - Method in class org.sonar.plugins.php.api.cfg.ControlFlowGraph
-
Includes start and end blocks
- BlockTree - Interface in org.sonar.plugins.php.api.tree.statement
-
A BlockTree is a list of zero or more
BlockTree.statements()
between braces which can be used anywhere a single statement is allowed. - BlockTreeImpl - Class in org.sonar.php.tree.impl.statement
- BlockTreeImpl(InternalSyntaxToken, List<StatementTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.BlockTreeImpl
- body() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- body() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- body() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- body() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- body() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionDeclarationTree
- body() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionTree
- body() - Method in interface org.sonar.plugins.php.api.tree.declaration.MethodDeclarationTree
- body() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrowFunctionExpressionTree
- body() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionExpressionTree
- BOOL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- BOOLEAN - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- BOOLEAN_LITERAL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- BOOLEAN_LITERAL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- booleanLiteral(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- BRACKET_DELIMITERS - Static variable in class org.sonar.php.regex.PhpRegexUtils
- branchingTree() - Method in interface org.sonar.plugins.php.api.cfg.CfgBranchingBlock
-
Syntax tree causing branching: e.g.
- BREAK - Enum constant in enum class org.sonar.php.api.PHPKeyword
- BREAK_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- BREAK_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- BREAK_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- breakStatement(InternalSyntaxToken, Optional<ExpressionTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- BreakStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- BreakStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- BreakStatementTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.BreakStatementTreeImpl
- breakToken() - Method in class org.sonar.php.tree.impl.statement.BreakStatementTreeImpl
- breakToken() - Method in interface org.sonar.plugins.php.api.tree.statement.BreakStatementTree
- build() - Method in class org.sonar.php.utils.collections.MapBuilder
- build(BlockTree) - Static method in class org.sonar.plugins.php.api.cfg.ControlFlowGraph
-
WARNING: This is an experimental API, it may change without notice.
- build(Tree) - Static method in class org.sonar.php.utils.SourceBuilder
- build(Tree, CheckContext) - Static method in class org.sonar.plugins.php.api.cfg.ControlFlowGraph
-
WARNING: This is an experimental API, it may change without notice.
- builder() - Static method in class org.sonar.php.utils.collections.MapBuilder
- BUILT_IN_TYPE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- BUILTINS - Enum constant in enum class org.sonar.php.symbols.BuiltinSymbolData
- BuiltinSymbolData - Enum Class in org.sonar.php.symbols
- builtInType(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- BuiltInTypeTree - Interface in org.sonar.plugins.php.api.tree.declaration
- BuiltInTypeTreeImpl - Class in org.sonar.php.tree.impl.declaration
- BuiltInTypeTreeImpl(InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.BuiltInTypeTreeImpl
- BYTE_ORDER_MARK - Static variable in class org.sonar.php.parser.PHPNodeBuilder
C
- Cache - Class in org.sonar.php.cache
- Cache(CacheContext) - Constructor for class org.sonar.php.cache.Cache
- CACHE_DATA_PREFIX - Static variable in class org.sonar.php.metrics.CpdVisitor
- CACHE_STRING_TABLE_PREFIX - Static variable in class org.sonar.php.metrics.CpdVisitor
- cacheContext() - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- cacheContext() - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
- cacheContext() - Method in record class org.sonar.plugins.php.api.visitors.PhpInputFileContext
-
Returns the value of the
cacheContext
record component. - CacheContext - Interface in org.sonar.plugins.php.api.cache
- CacheContextImpl - Class in org.sonar.php.cache
- CacheContextImpl(boolean, PhpWriteCache, PhpReadCache, String) - Constructor for class org.sonar.php.cache.CacheContextImpl
- CALL_ARGUMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CALLABLE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- CALLABLE_CONVERT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CALLABLE_CONVERT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CALLABLE_CONVERT() - Method in class org.sonar.php.parser.PHPGrammar
- callableConvert(InternalSyntaxToken, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- CallableConvertTree - Interface in org.sonar.plugins.php.api.tree.expression
- CallableConvertTreeImpl - Class in org.sonar.php.tree.impl.expression
- CallableConvertTreeImpl(SyntaxToken, SyntaxToken, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.CallableConvertTreeImpl
- callArguments() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- callArguments() - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- callArguments() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- callArguments() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionCallTree
- CallArgumentTree - Interface in org.sonar.plugins.php.api.tree.declaration
- CallArgumentTreeImpl - Class in org.sonar.php.tree.impl.declaration
- CallArgumentTreeImpl(TreeFactory.Tuple<NameIdentifierTree, InternalSyntaxToken>, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.declaration.CallArgumentTreeImpl
- called(String) - Method in class org.sonar.php.tree.symbols.SymbolImpl
- called(String) - Method in interface org.sonar.plugins.php.api.symbols.Symbol
- callee() - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- callee() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionCallTree
- CASE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- CASE_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- caseClause(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken, Optional<List<StatementTree>>) - Method in class org.sonar.php.parser.TreeFactory
- CaseClauseTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Case clause in switch statement (see
SwitchStatementTree
). - CaseClauseTreeImpl - Class in org.sonar.php.tree.impl.statement
- CaseClauseTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken, List<StatementTree>) - Constructor for class org.sonar.php.tree.impl.statement.CaseClauseTreeImpl
- cases() - Method in class org.sonar.php.tree.impl.declaration.EnumDeclarationTreeImpl
- cases() - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- cases() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- cases() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
-
The cases of the enumeration.
- cases() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchExpressionTree
- cases() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchStatementTree
- caseSeparatorToken() - Method in class org.sonar.php.tree.impl.statement.CaseClauseTreeImpl
- caseSeparatorToken() - Method in class org.sonar.php.tree.impl.statement.DefaultClauseTreeImpl
- caseSeparatorToken() - Method in interface org.sonar.plugins.php.api.tree.statement.CaseClauseTree
- caseSeparatorToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DefaultClauseTree
- caseSeparatorToken() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchCaseClauseTree
- caseToken() - Method in class org.sonar.php.tree.impl.statement.CaseClauseTreeImpl
- caseToken() - Method in class org.sonar.php.tree.impl.statement.DefaultClauseTreeImpl
- caseToken() - Method in class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- caseToken() - Method in interface org.sonar.plugins.php.api.tree.statement.CaseClauseTree
- caseToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DefaultClauseTree
- caseToken() - Method in interface org.sonar.plugins.php.api.tree.statement.EnumCaseTree
- caseToken() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchCaseClauseTree
- CAST_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
-
[ START ] Expression
- CAST_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CAST_TYPE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- castExpression(InternalSyntaxToken, InternalSyntaxToken, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
-
[ START ] Expression
- CastExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
- CastExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- CastExpressionTreeImpl(InternalSyntaxToken, InternalSyntaxToken, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.CastExpressionTreeImpl
- castType() - Method in class org.sonar.php.tree.impl.expression.CastExpressionTreeImpl
- castType() - Method in interface org.sonar.plugins.php.api.tree.expression.CastExpressionTree
- CATCH - Enum constant in enum class org.sonar.php.api.PHPKeyword
- CATCH_BLOCK - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CATCH_BLOCK - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CATCH_BLOCK() - Method in class org.sonar.php.parser.PHPGrammar
- catchBlock(InternalSyntaxToken, InternalSyntaxToken, NamespaceNameTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, NamespaceNameTree>>>, Optional<InternalSyntaxToken>, InternalSyntaxToken, BlockTree) - Method in class org.sonar.php.parser.TreeFactory
- catchBlocks() - Method in class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- catchBlocks() - Method in interface org.sonar.plugins.php.api.tree.statement.TryStatementTree
- CatchBlockTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Catch block of try statement (see
TryStatementTree
). - CatchBlockTreeImpl - Class in org.sonar.php.tree.impl.statement
- CatchBlockTreeImpl(InternalSyntaxToken, InternalSyntaxToken, SeparatedList<NamespaceNameTree>, VariableIdentifierTreeImpl, InternalSyntaxToken, BlockTree) - Constructor for class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- catchToken() - Method in class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- catchToken() - Method in interface org.sonar.plugins.php.api.tree.statement.CatchBlockTree
- CfgBlock - Interface in org.sonar.plugins.php.api.cfg
-
A node of a
ControlFlowGraph
. - CfgBranchingBlock - Interface in org.sonar.plugins.php.api.cfg
-
A
CfgBlock
with 2 successors: represents a block ending with a condition which determines which successor is executed next. - check() - Method in class org.sonar.plugins.php.api.visitors.FileIssue
- check() - Method in class org.sonar.plugins.php.api.visitors.LineIssue
- check() - Method in interface org.sonar.plugins.php.api.visitors.PhpIssue
- check() - Method in class org.sonar.plugins.php.api.visitors.PreciseIssue
- check(PHPCheck, PhpFile) - Static method in class org.sonar.plugins.php.api.tests.PHPCheckTest
-
Verifies that the given check raises issue as expected.
- check(PHPCheck, PhpFile, List<PhpIssue>) - Static method in class org.sonar.plugins.php.api.tests.PHPCheckTest
-
Verifies that the given check raises issue as expected.
- checkClasses() - Method in interface org.sonar.plugins.php.api.visitors.PHPCustomRuleRepository
-
List of the custom rules classes.
- CheckContext - Interface in org.sonar.plugins.php.api.visitors
- childrenIterator() - Method in class org.sonar.php.tree.impl.CompilationUnitTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.AttributeGroupTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.AttributeTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.BuiltInTypeTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.CallArgumentTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.CombinedTypeTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.ConstantDeclarationTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.EnumDeclarationTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.ParameterListTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.ReturnTypeClauseTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.TraitMethodReferenceTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.TraitPrecedenceTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.TypeTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerBracketTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerFunctionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.AssignmentByReferenceTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.AssignmentExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.BinaryExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.CallableConvertTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.CastExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.CompoundVariableTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ComputedVariableTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ExecutionOperatorTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringCharactersTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringLiteralTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl.HeredocBody
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.LexicalVariablesTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ListExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.LiteralTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.MatchConditionClauseTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.MatchDefaultClauseTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.NameIdentifierTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.NewExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ParenthesizedExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.PostfixExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.PrefixedCastExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.PrefixExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ReferenceVariableTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.SpreadArgumentTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.ThrowExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.VariableVariableTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- childrenIterator() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- childrenIterator() - Method in class org.sonar.php.tree.impl.PHPTree
-
Creates iterator for children of this node.
- childrenIterator() - Method in class org.sonar.php.tree.impl.ScriptTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.BlockTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.BreakStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.CaseClauseTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.ContinueStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.DefaultClauseTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.EchoTagStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.ElseClauseTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.ElseifClauseTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.EmptyStatementImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.ExpressionListStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.ExpressionStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.GlobalStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.GotoStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.InlineHTMLTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.LabelTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.ReturnStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.StaticStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.ThrowStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.UnsetVariableStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.VariableDeclarationTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- childrenIterator() - Method in class org.sonar.php.tree.impl.VariableIdentifierTreeImpl
- CLASS - Enum constant in enum class org.sonar.php.api.PHPKeyword
- CLASS - Enum constant in enum class org.sonar.plugins.php.api.symbols.Symbol.Kind
- CLASS_CONST_MODIFIER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CLASS_CONST_MODIFIER() - Method in class org.sonar.php.parser.PHPGrammar
- CLASS_CONSTANT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CLASS_CONSTANT_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CLASS_CONSTANT_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- CLASS_CONSTANT_PROPERTY_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CLASS_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CLASS_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CLASS_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- CLASS_MEMBER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CLASS_MEMBER() - Method in class org.sonar.php.parser.PHPGrammar
- CLASS_MEMBER_ACCESS - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CLASS_MEMBER_ACCESS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CLASS_MEMBER_ACCESS() - Method in class org.sonar.php.parser.PHPGrammar
- CLASS_PROPERTY_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CLASS_VARIABLE_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CLASS_VARIABLE_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- classConstantDeclaration(Optional<List<AttributeGroupTree>>, Optional<List<SyntaxToken>>, InternalSyntaxToken, VariableDeclarationTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, VariableDeclarationTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- classConstantDeclarationWithTypeHint(Optional<List<AttributeGroupTree>>, Optional<List<SyntaxToken>>, InternalSyntaxToken, DeclaredTypeTree, VariableDeclarationTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, VariableDeclarationTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- classDeclaration(Optional<List<AttributeGroupTree>>, Optional<List<SyntaxToken>>, InternalSyntaxToken, NameIdentifierTree, Optional<TreeFactory.Tuple<InternalSyntaxToken, NamespaceNameTree>>, Optional<TreeFactory.Tuple<InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>>>, InternalSyntaxToken, Optional<List<ClassMemberTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ClassDeclarationTree - Interface in org.sonar.plugins.php.api.tree.declaration
- ClassDeclarationTreeImpl - Class in org.sonar.php.tree.impl.declaration
- ClassDeclarationTreeImpl(Tree.Kind, List<AttributeGroupTree>, List<SyntaxToken>, SyntaxToken, NameIdentifierTree, SyntaxToken, NamespaceNameTree, SyntaxToken, SeparatedListImpl<NamespaceNameTree>, SyntaxToken, List<ClassMemberTree>, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- classMemberAccess(InternalSyntaxToken, Tree) - Method in class org.sonar.php.parser.TreeFactory
- ClassMemberTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
This interface represents class statement, which can be:
Method declaration
Class variable declaration
Trait use statement
Enum case for enum declarations
- classNamespaceName(NamespaceNameTree) - Method in class org.sonar.php.parser.TreeFactory
- ClassNamespaceNameTreeImpl - Class in org.sonar.php.tree.impl.declaration
- ClassNamespaceNameTreeImpl(NamespaceNameTree) - Constructor for class org.sonar.php.tree.impl.declaration.ClassNamespaceNameTreeImpl
- ClassPropertyDeclarationTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
Class Properties
- ClassPropertyDeclarationTreeImpl - Class in org.sonar.php.tree.impl.declaration
- ClassSymbol - Interface in org.sonar.php.symbols
- ClassSymbol.Kind - Enum Class in org.sonar.php.symbols
- classSymbolData() - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- classSymbolData(QualifiedName) - Method in enum class org.sonar.php.symbols.BuiltinSymbolData
- classSymbolData(QualifiedName) - Method in class org.sonar.php.symbols.ProjectSymbolData
- ClassSymbolData - Class in org.sonar.php.symbols
- ClassSymbolData(LocationInFile, QualifiedName, QualifiedName, List<QualifiedName>, List<MethodSymbolData>) - Constructor for class org.sonar.php.symbols.ClassSymbolData
- ClassSymbolData(LocationInFile, QualifiedName, QualifiedName, List<QualifiedName>, ClassSymbol.Kind, List<MethodSymbolData>) - Constructor for class org.sonar.php.symbols.ClassSymbolData
- classSymbolDatas() - Method in class org.sonar.php.tree.symbols.SymbolTableImpl
- classSymbolIndex() - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- ClassSymbolIndex - Class in org.sonar.php.symbols
- classSymbolsByQualifiedName() - Method in class org.sonar.php.symbols.ProjectSymbolData
- classToken() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- classToken() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- classToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- classToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
- classToken() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- ClassTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
Common interface for
ClassDeclarationTree
andAnonymousClassTree
- classVariableDeclaration(Optional<List<AttributeGroupTree>>, List<SyntaxToken>, Optional<DeclaredTypeTree>, VariableDeclarationTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, VariableDeclarationTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- clauses() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- clauses() - Method in interface org.sonar.plugins.php.api.tree.statement.UseStatementTree
- clear() - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- CLONE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- CLONE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- close() - Method in class org.sonar.php.cache.VarLengthInputStream
- close() - Method in class org.sonar.php.cache.VarLengthOutputStream
- closeBraceToken() - Method in class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- closeBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayAccessTree
- closeBracketToken() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternTreeImpl
- closeBracketToken() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerBracketTreeImpl
- closeBracketToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayAssignmentPatternTree
- closeBracketToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayInitializerBracketTree
- closeCurlyBrace() - Method in class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- closeCurlyBrace() - Method in interface org.sonar.plugins.php.api.tree.statement.NamespaceStatementTree
- closeCurlyBraceToken() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- closeCurlyBraceToken() - Method in class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- closeCurlyBraceToken() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- closeCurlyBraceToken() - Method in class org.sonar.php.tree.impl.expression.CompoundVariableTreeImpl
- closeCurlyBraceToken() - Method in class org.sonar.php.tree.impl.expression.ComputedVariableTreeImpl
- closeCurlyBraceToken() - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- closeCurlyBraceToken() - Method in class org.sonar.php.tree.impl.statement.BlockTreeImpl
- closeCurlyBraceToken() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- closeCurlyBraceToken() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.CompoundVariableTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ComputedVariableTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchExpressionTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.statement.BlockTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchStatementTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseStatementTree
- closeCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseTraitDeclarationTree
- closeDoubleQuoteToken() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringLiteralTreeImpl
- closeDoubleQuoteToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ExpandableStringLiteralTree
- closeParenthesis() - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- closeParenthesis() - Method in class org.sonar.php.tree.impl.expression.ParenthesizedExpressionTreeImpl
- closeParenthesis() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchExpressionTree
- closeParenthesis() - Method in interface org.sonar.plugins.php.api.tree.expression.ParenthesisedExpressionTree
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.declaration.AttributeTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.declaration.ParameterListTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerFunctionTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.CallableConvertTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.CastExpressionTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.LexicalVariablesTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.ListExpressionTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl.DeclareStatementHead
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl.ForEachStatementHeader
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl.ForStatementHeader
- closeParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.UnsetVariableStatementTreeImpl
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.AttributeTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterListTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayInitializerFunctionTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.CallableConvertTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.CastExpressionTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionCallTree
-
Nullable in case of internal function call with no parenthesis
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.LexicalVariablesTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ListExpressionTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.CatchBlockTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DeclareStatementTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- closeParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UnsetVariableStatementTree
- closingToken() - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl
- closingToken() - Method in interface org.sonar.plugins.php.api.tree.expression.HeredocStringLiteralTree
- CognitiveComplexity() - Constructor for class org.sonar.php.metrics.CognitiveComplexityVisitor.CognitiveComplexity
- CognitiveComplexityVisitor - Class in org.sonar.php.metrics
- CognitiveComplexityVisitor() - Constructor for class org.sonar.php.metrics.CognitiveComplexityVisitor
- CognitiveComplexityVisitor.CognitiveComplexity - Class in org.sonar.php.metrics
- CognitiveComplexityVisitor.ComplexityComponent - Class in org.sonar.php.metrics
- COLON - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- colonToken() - Method in class org.sonar.php.tree.impl.declaration.ReturnTypeClauseTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.statement.ElseClauseTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.statement.ElseifClauseTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.statement.LabelTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- colonToken() - Method in class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ReturnTypeClauseTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ConditionalExpressionTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DeclareStatementTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ElseClauseTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ElseifClauseTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.IfStatementTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.LabelTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchStatementTree
- colonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.WhileStatementTree
- column() - Method in class org.sonar.php.metrics.CpdVisitor.CpdToken
- column() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- column() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- column() - Method in interface org.sonar.plugins.php.api.tree.lexical.SyntaxToken
- columns(int, int) - Method in class org.sonar.plugins.php.api.tests.TestIssue
- combinedScalarOffset(ArrayInitializerTree, Optional<List<ArrayAccessTree>>) - Method in class org.sonar.php.parser.TreeFactory
- CombinedTypeTreeImpl - Class in org.sonar.php.tree.impl.declaration
- CombinedTypeTreeImpl(Tree.Kind, SeparatedList<TypeTree>) - Constructor for class org.sonar.php.tree.impl.declaration.CombinedTypeTreeImpl
- CombinedTypeTreeImpl.IntersectionTypeTreeImpl - Class in org.sonar.php.tree.impl.declaration
- CombinedTypeTreeImpl.UnionTypeTreeImpl - Class in org.sonar.php.tree.impl.declaration
- COMMA - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- COMMENT - Static variable in class org.sonar.php.parser.LexicalConstant
- commentLineNumber() - Method in class org.sonar.php.metrics.CommentLineVisitor
- commentLines() - Method in class org.sonar.php.metrics.CommentLineVisitor
- CommentLineVisitor - Class in org.sonar.php.metrics
- CommentLineVisitor(CompilationUnitTree) - Constructor for class org.sonar.php.metrics.CommentLineVisitor
- COMMON_SCALAR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- COMMON_SCALAR() - Method in class org.sonar.php.parser.PHPGrammar
- COMPARISON - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- COMPILATION_UNIT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- COMPILATION_UNIT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- COMPILATION_UNIT() - Method in class org.sonar.php.parser.PHPGrammar
- compilationUnit(Optional<ScriptTree>, Optional<InternalSyntaxToken>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- CompilationUnitTree - Interface in org.sonar.plugins.php.api.tree
-
Compilation Unit
- CompilationUnitTreeImpl - Class in org.sonar.php.tree.impl
- CompilationUnitTreeImpl(ScriptTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.CompilationUnitTreeImpl
- complete(ExpressionTree) - Method in class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- complete(ExpressionTree) - Method in class org.sonar.php.tree.impl.expression.CallableConvertTreeImpl
- complete(ExpressionTree) - Method in class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- complete(ExpressionTree) - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- complete(ExpressionTree) - Method in class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- completeConditionalExpr(ExpressionTree, Optional<List<ConditionalExpressionTreeImpl>>) - Method in class org.sonar.php.parser.TreeFactory
- completeExitExpression(InternalSyntaxToken, Optional<FunctionCallTreeImpl>) - Method in class org.sonar.php.parser.TreeFactory
- COMPLEX_ENCAPS_VARIABLE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- complexity(CompilationUnitTree) - Static method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- complexity(FunctionTree) - Static method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- complexity(Tree) - Static method in class org.sonar.php.metrics.ComplexityVisitor
- complexityNodesWithoutNestedFunctions(Tree) - Static method in class org.sonar.php.metrics.ComplexityVisitor
- complexityTrees(Tree) - Static method in class org.sonar.php.metrics.ComplexityVisitor
- ComplexityVisitor - Class in org.sonar.php.metrics
- ComplexityVisitor() - Constructor for class org.sonar.php.metrics.ComplexityVisitor
- ComplexityVisitor.ShallowComplexityVisitor - Class in org.sonar.php.metrics
- COMPOUND_VARIABLE() - Method in class org.sonar.php.parser.PHPGrammar
- COMPOUND_VARIABLE_NAME - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- compoundVariable(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- CompoundVariableTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Curly variable syntax
- CompoundVariableTreeImpl - Class in org.sonar.php.tree.impl.expression
- CompoundVariableTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.CompoundVariableTreeImpl
- computeCpdTokens(PhpFile, CompilationUnitTree, SymbolTable, CacheContext) - Method in class org.sonar.php.metrics.CpdVisitor
- COMPUTED_VARIABLE_NAME - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- COMPUTED_VARIABLE_NAME() - Method in class org.sonar.php.parser.PHPGrammar
- computedVariableName(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ComputedVariableTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Curly variable syntax
- ComputedVariableTreeImpl - Class in org.sonar.php.tree.impl.expression
- ComputedVariableTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ComputedVariableTreeImpl
- computeMeasures(FileLinesContext) - Method in class org.sonar.php.PHPAnalyzer
- computeNoSonarLines() - Method in class org.sonar.php.PHPAnalyzer
- concat(Collection<? extends T>...) - Static method in class org.sonar.php.utils.collections.ListUtils
- concat(Iterator<? extends T>...) - Static method in class org.sonar.php.utils.collections.IteratorUtils
- concat(Set<? extends T>...) - Static method in class org.sonar.php.utils.collections.SetUtils
- CONCATENATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CONCATENATION_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CONCATEQUAL - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- condition() - Method in class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- condition() - Method in class org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
- condition() - Method in class org.sonar.php.tree.impl.statement.ElseifClauseTreeImpl
- condition() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- condition() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl.ForStatementHeader
- condition() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- condition() - Method in class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- condition() - Method in interface org.sonar.plugins.php.api.tree.expression.ConditionalExpressionTree
- condition() - Method in interface org.sonar.plugins.php.api.tree.statement.DoWhileStatementTree
- condition() - Method in interface org.sonar.plugins.php.api.tree.statement.ElseifClauseTree
- condition() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- condition() - Method in interface org.sonar.plugins.php.api.tree.statement.IfStatementTree
- condition() - Method in interface org.sonar.plugins.php.api.tree.statement.WhileStatementTree
- CONDITIONAL_AND - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CONDITIONAL_AND_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- CONDITIONAL_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- CONDITIONAL_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CONDITIONAL_OR - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CONDITIONAL_OR_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- CONDITIONAL_XOR_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- ConditionalExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Conditional Expression
- ConditionalExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- ConditionalExpressionTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- conditions() - Method in class org.sonar.php.tree.impl.expression.MatchConditionClauseTreeImpl
- conditions() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchConditionClauseTree
- CONST - Enum constant in enum class org.sonar.php.api.PHPKeyword
- CONST_VAR() - Method in class org.sonar.php.parser.PHPGrammar
- constant(List<AttributeGroupTree>, List<SyntaxToken>, SyntaxToken, DeclaredTypeTree, SeparatedListImpl<VariableDeclarationTree>, InternalSyntaxToken) - Static method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- CONSTANT_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CONSTANT_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CONSTANT_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- CONSTANT_VAR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- constantDeclaration(InternalSyntaxToken, VariableDeclarationTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, VariableDeclarationTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ConstantDeclarationTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
Constants declaration
- ConstantDeclarationTreeImpl - Class in org.sonar.php.tree.impl.declaration
- ConstantDeclarationTreeImpl(SyntaxToken, SeparatedListImpl<VariableDeclarationTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.ConstantDeclarationTreeImpl
- constDeclaration(InternalSyntaxToken, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- constToken() - Method in class org.sonar.php.tree.impl.declaration.ConstantDeclarationTreeImpl
- constToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ConstantDeclarationTree
- contains(Object) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- contains(String) - Method in class org.sonar.php.cache.PhpReadCacheImpl
- contains(String) - Method in interface org.sonar.plugins.php.api.cache.PhpReadCache
-
Checks whether the cache contains the provided
key
. - containsAll(Collection<?>) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- CONTENT_HASHES_KEY - Static variable in class org.sonar.php.cache.Cache
- contents() - Method in class org.sonar.php.compat.PhpFileImpl
- contents() - Method in class org.sonar.plugins.php.api.tests.PhpTestFile
- contents() - Method in interface org.sonar.plugins.php.api.visitors.PhpFile
- context() - Method in interface org.sonar.plugins.php.api.visitors.PHPCheck
- context() - Method in class org.sonar.plugins.php.api.visitors.PHPSubscriptionCheck
- context() - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- CONTINUE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- CONTINUE_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- CONTINUE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- CONTINUE_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- continueStatement(InternalSyntaxToken, Optional<ExpressionTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ContinueStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- ContinueStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- ContinueStatementTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.ContinueStatementTreeImpl
- continueToken() - Method in class org.sonar.php.tree.impl.statement.ContinueStatementTreeImpl
- continueToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ContinueStatementTree
- ControlFlowGraph - Class in org.sonar.plugins.php.api.cfg
-
The Control Flow Graph for a PHP script or for the body of a function.
- copyFromPrevious(String) - Method in class org.sonar.php.cache.PhpWriteCacheImpl
- copyFromPrevious(String) - Method in interface org.sonar.plugins.php.api.cache.PhpWriteCache
-
Copy a cached entry from the previous cache to the new one.
- cost() - Method in class org.sonar.plugins.php.api.visitors.FileIssue
- cost() - Method in class org.sonar.plugins.php.api.visitors.LineIssue
- cost() - Method in interface org.sonar.plugins.php.api.visitors.PhpIssue
- cost() - Method in class org.sonar.plugins.php.api.visitors.PreciseIssue
- cost(double) - Method in class org.sonar.plugins.php.api.visitors.FileIssue
- cost(double) - Method in class org.sonar.plugins.php.api.visitors.LineIssue
- cost(double) - Method in interface org.sonar.plugins.php.api.visitors.PhpIssue
- cost(double) - Method in class org.sonar.plugins.php.api.visitors.PreciseIssue
- CounterVisitor - Class in org.sonar.php.metrics
- CounterVisitor(Tree) - Constructor for class org.sonar.php.metrics.CounterVisitor
- CpdDeserializationInput - Class in org.sonar.php.cache
- CpdDeserializationInput(byte[], byte[], String) - Constructor for class org.sonar.php.cache.CpdDeserializationInput
- CpdDeserializer - Class in org.sonar.php.cache
- CpdSerializationInput - Class in org.sonar.php.cache
- CpdSerializationInput(List<CpdVisitor.CpdToken>, String) - Constructor for class org.sonar.php.cache.CpdSerializationInput
- CpdSerializer - Class in org.sonar.php.cache
- CpdToken(int, int, int, int, String) - Constructor for class org.sonar.php.metrics.CpdVisitor.CpdToken
- cpdTokens() - Method in class org.sonar.php.cache.CpdSerializationInput
- cpdTokensBytes() - Method in class org.sonar.php.cache.CpdDeserializationInput
- CpdVisitor - Class in org.sonar.php.metrics
- CpdVisitor() - Constructor for class org.sonar.php.metrics.CpdVisitor
- CpdVisitor.CpdToken - Class in org.sonar.php.metrics
- create(String...) - Static method in class org.sonar.php.tree.symbols.SymbolQualifiedName
- create(String, int) - Static method in class org.sonar.plugins.php.api.tests.TestIssue
- create(String, int, int) - Static method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- create(Collection<ClassSymbolData>, Collection<FunctionSymbolData>) - Static method in class org.sonar.php.tree.symbols.SymbolTableImpl
- create(List<ClassSymbolData>, ProjectSymbolData) - Static method in class org.sonar.php.symbols.ClassSymbolIndex
- create(List<FunctionSymbolData>, ProjectSymbolData) - Static method in class org.sonar.php.symbols.FunctionSymbolIndex
- create(InputFile) - Static method in class org.sonar.php.compat.PhpFileImpl
- create(CompilationUnitTree) - Static method in class org.sonar.php.tree.symbols.SymbolTableImpl
- create(CompilationUnitTree, ProjectSymbolData, PhpFile) - Static method in class org.sonar.php.tree.symbols.SymbolTableImpl
- create(CompilationUnitTree, ProjectSymbolData, PhpFile, boolean) - Static method in class org.sonar.php.tree.symbols.SymbolTableImpl
- create(NamespaceNameTree) - Static method in class org.sonar.php.tree.symbols.SymbolQualifiedName
- create(SyntaxToken, String) - Static method in class org.sonar.php.metrics.CpdVisitor.CpdToken
- createClass(List<AttributeGroupTree>, List<SyntaxToken>, InternalSyntaxToken, NameIdentifierTree, InternalSyntaxToken, NamespaceNameTree, InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>, InternalSyntaxToken, List<ClassMemberTree>, InternalSyntaxToken) - Static method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- createGrammar() - Static method in enum class org.sonar.php.parser.PHPLexicalGrammar
- createGrammarBuilder() - Static method in enum class org.sonar.php.parser.PHPLexicalGrammar
- createGroupUseStatement(InternalSyntaxToken, InternalSyntaxToken, NamespaceNameTree, InternalSyntaxToken, InternalSyntaxToken, SeparatedListImpl<UseClauseTree>, InternalSyntaxToken, InternalSyntaxToken) - Static method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- createInterface(List<AttributeGroupTree>, InternalSyntaxToken, NameIdentifierTree, InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>, InternalSyntaxToken, List<ClassMemberTree>, InternalSyntaxToken) - Static method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- createNonTerminal(GrammarRuleKey, Rule, List<Object>, int, int) - Method in class org.sonar.php.parser.PHPNodeBuilder
- createParser() - Static method in class org.sonar.php.parser.PHPParserBuilder
- createParser(GrammarRuleKey) - Static method in class org.sonar.php.parser.PHPParserBuilder
-
This method should be used by tests only.
- createParser(GrammarRuleKey, int) - Static method in class org.sonar.php.parser.PHPParserBuilder
-
This method should be used if required to shift line of tokens
- createTerminal(Input, int, int, List<Trivia>, TokenType) - Method in class org.sonar.php.parser.PHPNodeBuilder
- createTrait(List<AttributeGroupTree>, InternalSyntaxToken, NameIdentifierTree, InternalSyntaxToken, List<ClassMemberTree>, InternalSyntaxToken) - Static method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- createUseStatement(InternalSyntaxToken, InternalSyntaxToken, SeparatedListImpl<UseClauseTree>, InternalSyntaxToken) - Static method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- createVerifier(List<File>, PHPCheck) - Method in class org.sonar.plugins.php.api.tests.PHPCheckVerifier
-
Internal use only.
- currentFileSymbolTable() - Method in class org.sonar.php.PHPAnalyzer
- currentFileTree() - Method in class org.sonar.php.PHPAnalyzer
- currentNamespace() - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
D
- data() - Method in class org.sonar.php.cache.SerializationResult
- DATA_CACHE_PREFIX - Static variable in class org.sonar.php.cache.Cache
- DEC - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- declaration() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- declaration() - Method in interface org.sonar.plugins.php.api.symbols.Symbol
- declarations() - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- declarations() - Method in class org.sonar.php.tree.impl.declaration.ConstantDeclarationTreeImpl
- declarations() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassPropertyDeclarationTree
- declarations() - Method in interface org.sonar.plugins.php.api.tree.declaration.ConstantDeclarationTree
- DeclarationVisitor - Class in org.sonar.php.tree.symbols
- DECLARE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- DECLARE_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- DECLARE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- DECLARE_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- DECLARE_STATEMENT_HEAD() - Method in class org.sonar.php.parser.PHPGrammar
- DECLARED_TYPE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- DECLARED_TYPE() - Method in class org.sonar.php.parser.PHPGrammar
- declaredMethods() - Method in interface org.sonar.php.symbols.ClassSymbol
- declaredType() - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- declaredType() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- declaredType() - Method in class org.sonar.php.tree.impl.declaration.ReturnTypeClauseTreeImpl
- declaredType() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassPropertyDeclarationTree
- declaredType() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- declaredType() - Method in interface org.sonar.plugins.php.api.tree.declaration.ReturnTypeClauseTree
- DeclaredTypeTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
Either a
TypeTree
or aUnionTypeTree
- declareStatementHead(InternalSyntaxToken, InternalSyntaxToken, VariableDeclarationTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, VariableDeclarationTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- DeclareStatementHead(SyntaxToken, SyntaxToken, SeparatedListImpl<VariableDeclarationTree>, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl.DeclareStatementHead
- DeclareStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- DeclareStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- DeclareStatementTreeImpl(DeclareStatementTreeImpl.DeclareStatementHead, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- DeclareStatementTreeImpl(DeclareStatementTreeImpl.DeclareStatementHead, InternalSyntaxToken, List<StatementTree>, InternalSyntaxToken, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- DeclareStatementTreeImpl(DeclareStatementTreeImpl.DeclareStatementHead, StatementTree) - Constructor for class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- DeclareStatementTreeImpl.DeclareStatementHead - Class in org.sonar.php.tree.impl.statement
- declareStatementWithOneStatement(DeclareStatementTreeImpl.DeclareStatementHead, StatementTree) - Method in class org.sonar.php.parser.TreeFactory
- declareToken() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl.DeclareStatementHead
- declareToken() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- declareToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DeclareStatementTree
- DEFAULT - Enum constant in enum class org.sonar.php.api.PHPKeyword
- DEFAULT_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- defaultClause(InternalSyntaxToken, InternalSyntaxToken, Optional<List<StatementTree>>) - Method in class org.sonar.php.parser.TreeFactory
- DefaultClauseTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Default case clause in switch statement (see
SwitchStatementTree
). - DefaultClauseTreeImpl - Class in org.sonar.php.tree.impl.statement
- DefaultClauseTreeImpl(InternalSyntaxToken, InternalSyntaxToken, List<StatementTree>) - Constructor for class org.sonar.php.tree.impl.statement.DefaultClauseTreeImpl
- defaultToken() - Method in class org.sonar.php.tree.impl.expression.MatchDefaultClauseTreeImpl
- defaultToken() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchDefaultClauseTree
- descendants(Tree) - Static method in class org.sonar.php.tree.TreeUtils
- descendants(Tree, Class<T>) - Static method in class org.sonar.php.tree.TreeUtils
- DIE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- difference(Set<T>, Set<T>) - Static method in class org.sonar.php.utils.collections.SetUtils
- DIMENSIONAL_OFFSET - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- DIMENSIONAL_OFFSET() - Method in class org.sonar.php.parser.PHPGrammar
- dimensionalOffset(InternalSyntaxToken, Optional<ExpressionTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- DIR_CONSTANT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- Directive - Interface in org.sonar.php.ini.tree
- directives() - Method in interface org.sonar.php.ini.tree.PhpIniFile
- directives() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl.DeclareStatementHead
- directives() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- directives() - Method in interface org.sonar.plugins.php.api.tree.statement.DeclareStatementTree
- directivesForName(String) - Method in interface org.sonar.php.ini.tree.PhpIniFile
- DIV - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- DIVEQUAL - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- DIVIDE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- DIVIDE_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- DO - Enum constant in enum class org.sonar.php.api.PHPKeyword
- DO_WHILE_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- DO_WHILE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- DO_WHILE_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- DOLLAR - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- DOLLAR_LCURLY - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- dollarTokens() - Method in class org.sonar.php.tree.impl.expression.VariableVariableTreeImpl
- dollarTokens() - Method in interface org.sonar.plugins.php.api.tree.expression.VariableVariableTree
- DOT - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- doToken() - Method in class org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
- doToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DoWhileStatementTree
- DOUBLE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- DOUBLE_QUOTE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- DOUBLEARROW - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- doubleArrowToken() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElementTreeImpl
- doubleArrowToken() - Method in class org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- doubleArrowToken() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- doubleArrowToken() - Method in class org.sonar.php.tree.impl.expression.MatchConditionClauseTreeImpl
- doubleArrowToken() - Method in class org.sonar.php.tree.impl.expression.MatchDefaultClauseTreeImpl
- doubleArrowToken() - Method in class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- doubleArrowToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- doubleArrowToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl.ForEachStatementHeader
- doubleArrowToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayAssignmentPatternElementTree
- doubleArrowToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayPairTree
- doubleArrowToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrowFunctionExpressionTree
- doubleArrowToken() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchClauseTree
- doubleArrowToken() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchConditionClauseTree
- doubleArrowToken() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchDefaultClauseTree
- doubleArrowToken() - Method in interface org.sonar.plugins.php.api.tree.expression.YieldExpressionTree
- doubleArrowToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- DOUBLECOLON - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- doubleColonToken() - Method in class org.sonar.php.tree.impl.declaration.TraitMethodReferenceTreeImpl
- doubleColonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitMethodReferenceTree
- doWhileStatement(InternalSyntaxToken, StatementTree, InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- DoWhileStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- DoWhileStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- DoWhileStatementTreeImpl(InternalSyntaxToken, StatementTree, InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
- DRUPAL - Enum constant in enum class org.sonar.plugins.php.api.symbols.SymbolTable.Framework
- DurationStatistics - Class in org.sonar
- DurationStatistics(Configuration) - Constructor for class org.sonar.DurationStatistics
E
- ECHO - Enum constant in enum class org.sonar.php.api.PHPKeyword
- ECHO_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ECHO_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- ECHO_TAG_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- echoStatement(InternalSyntaxToken, SeparatedListImpl<CallArgumentTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- EchoTagStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
An EchoTagStatementTree is an AST node that wrap an expression list to represent the php tag: <?=
EchoTagStatementTree.expressions()
?> - EchoTagStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- EchoTagStatementTreeImpl(SeparatedList<ExpressionTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.EchoTagStatementTreeImpl
- effortToFix() - Method in class org.sonar.plugins.php.api.tests.TestIssue
- effortToFix(double) - Method in class org.sonar.plugins.php.api.tests.TestIssue
- elements() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElements
- elements() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternTreeImpl
- elements() - Method in class org.sonar.php.tree.impl.expression.ListExpressionTreeImpl
- elements() - Method in interface org.sonar.plugins.php.api.cfg.CfgBlock
- elements() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayDestructuringTree
- elementsAndSeparators() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElements
- elementsAndSeparators() - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- elementsAndSeparators() - Method in interface org.sonar.plugins.php.api.tree.SeparatedList
- elementsAndSeparators(Function<T, ? extends Tree>) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- elementsAndSeparators(Function<T, ? extends Tree>) - Method in interface org.sonar.plugins.php.api.tree.SeparatedList
- ELLIPSIS - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- ellipsisToken() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- ellipsisToken() - Method in class org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- ellipsisToken() - Method in class org.sonar.php.tree.impl.expression.CallableConvertTreeImpl
- ellipsisToken() - Method in class org.sonar.php.tree.impl.expression.SpreadArgumentTreeImpl
- ellipsisToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- ellipsisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayPairTree
- ellipsisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.CallableConvertTree
- ellipsisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.SpreadArgumentTree
- ELSE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- ELSE_CLAUSE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ELSE_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ELSE_CLAUSE() - Method in class org.sonar.php.parser.PHPGrammar
- elseClause() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- elseClause() - Method in interface org.sonar.plugins.php.api.tree.statement.IfStatementTree
- elseClause(InternalSyntaxToken, StatementTree) - Method in class org.sonar.php.parser.TreeFactory
- ElseClauseTree - Interface in org.sonar.plugins.php.api.tree.statement
- ElseClauseTreeImpl - Class in org.sonar.php.tree.impl.statement
- ElseClauseTreeImpl(InternalSyntaxToken, InternalSyntaxToken, List<StatementTree>) - Constructor for class org.sonar.php.tree.impl.statement.ElseClauseTreeImpl
- ElseClauseTreeImpl(InternalSyntaxToken, StatementTree) - Constructor for class org.sonar.php.tree.impl.statement.ElseClauseTreeImpl
- ELSEIF - Enum constant in enum class org.sonar.php.api.PHPKeyword
- ELSEIF_CLAUSE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ELSEIF_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ELSEIF_CLAUSE() - Method in class org.sonar.php.parser.PHPGrammar
- elseifClause(InternalSyntaxToken, ParenthesisedExpressionTree, StatementTree) - Method in class org.sonar.php.parser.TreeFactory
- elseifClauses() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- elseifClauses() - Method in interface org.sonar.plugins.php.api.tree.statement.IfStatementTree
- ElseifClauseTree - Interface in org.sonar.plugins.php.api.tree.statement
- ElseifClauseTreeImpl - Class in org.sonar.php.tree.impl.statement
- ElseifClauseTreeImpl(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, List<StatementTree>) - Constructor for class org.sonar.php.tree.impl.statement.ElseifClauseTreeImpl
- ElseifClauseTreeImpl(InternalSyntaxToken, ParenthesisedExpressionTree, StatementTree) - Constructor for class org.sonar.php.tree.impl.statement.ElseifClauseTreeImpl
- elseifToken() - Method in class org.sonar.php.tree.impl.statement.ElseifClauseTreeImpl
- elseifToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ElseifClauseTree
- elseToken() - Method in class org.sonar.php.tree.impl.statement.ElseClauseTreeImpl
- elseToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ElseClauseTree
- empty() - Static method in class org.sonar.php.tree.impl.SeparatedListImpl
- EMPTY - Enum constant in enum class org.sonar.php.api.PHPKeyword
- EMPTY - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- EMPTY - Enum constant in enum class org.sonar.plugins.php.api.symbols.SymbolTable.Framework
- EMPTY_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- EMPTY_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- EMPTY_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- emptyStatement(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- EmptyStatementImpl - Class in org.sonar.php.tree.impl.statement
- EmptyStatementImpl(InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.EmptyStatementImpl
- EmptyStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
An empty statement is written as a single semicolon (
;
). - ENCAPS_VAR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ENCAPS_VAR_IDENTIFIER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ENCAPSULATED_COMPLEX_VARIABLE() - Method in class org.sonar.php.parser.PHPGrammar
- ENCAPSULATED_SEMI_COMPLEX_VARIABLE() - Method in class org.sonar.php.parser.PHPGrammar
- ENCAPSULATED_SIMPLE_VARIABLE() - Method in class org.sonar.php.parser.PHPGrammar
- ENCAPSULATED_STRING_VARIABLE() - Method in class org.sonar.php.parser.PHPGrammar
- ENCAPSULATED_VARIABLE_IDENTIFIER() - Method in class org.sonar.php.parser.PHPGrammar
- encapsulatedComplexVariable(InternalSyntaxToken, Tree, ExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- encapsulatedSemiComplexVariable(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- encapsulatedSimpleVar(VariableIdentifierTree, Optional<ExpressionTree>) - Method in class org.sonar.php.parser.TreeFactory
- encapsulatedVariableIdentifier(InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- end() - Method in class org.sonar.plugins.php.api.cfg.ControlFlowGraph
- endColumn() - Method in class org.sonar.php.metrics.CpdVisitor.CpdToken
- endColumn() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- endColumn() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- endColumn() - Method in class org.sonar.plugins.php.api.tests.TestIssue
- endColumn() - Method in class org.sonar.plugins.php.api.tests.TestIssue.Location
- endColumn() - Method in interface org.sonar.plugins.php.api.tree.lexical.SyntaxToken
- endColumn(int) - Method in class org.sonar.plugins.php.api.tests.TestIssue
- ENDDECLARE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- endDeclareToken() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- endDeclareToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DeclareStatementTree
- ENDFOR - Enum constant in enum class org.sonar.php.api.PHPKeyword
- ENDFOREACH - Enum constant in enum class org.sonar.php.api.PHPKeyword
- endforeachToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- endforeachToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- endforToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- endforToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- ENDIF - Enum constant in enum class org.sonar.php.api.PHPKeyword
- endifToken() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- endifToken() - Method in interface org.sonar.plugins.php.api.tree.statement.IfStatementTree
- endLine() - Method in class org.sonar.php.metrics.CpdVisitor.CpdToken
- endLine() - Method in class org.sonar.php.symbols.LocationInFileImpl
- endLine() - Method in enum class org.sonar.php.symbols.UnknownLocationInFile
- endLine() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- endLine() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- endLine() - Method in class org.sonar.plugins.php.api.tests.TestIssue
- endLine() - Method in interface org.sonar.plugins.php.api.tree.lexical.SyntaxToken
- endLine() - Method in class org.sonar.plugins.php.api.visitors.IssueLocation
- endLine() - Method in interface org.sonar.plugins.php.api.visitors.LocationInFile
- endLine(int) - Method in class org.sonar.plugins.php.api.tests.TestIssue
- endLineOffset() - Method in class org.sonar.php.symbols.LocationInFileImpl
- endLineOffset() - Method in enum class org.sonar.php.symbols.UnknownLocationInFile
- endLineOffset() - Method in class org.sonar.plugins.php.api.visitors.IssueLocation
- endLineOffset() - Method in interface org.sonar.plugins.php.api.visitors.LocationInFile
- ENDSWITCH - Enum constant in enum class org.sonar.php.api.PHPKeyword
- endswitchToken() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- endswitchToken() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchStatementTree
- endToken() - Method in class org.sonar.php.tree.impl.declaration.AttributeGroupTreeImpl
- endToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.AttributeGroupTree
- ENDWHILE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- endWhileToken() - Method in class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- endWhileToken() - Method in interface org.sonar.plugins.php.api.tree.statement.WhileStatementTree
- ENUM - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ENUM_CASE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ENUM_CASE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ENUM_CASE() - Method in class org.sonar.php.parser.PHPGrammar
- ENUM_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ENUM_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ENUM_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- ENUM_MEMBER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- ENUM_MEMBER() - Method in class org.sonar.php.parser.PHPGrammar
-
In contrast to class declarations, enums cannot contain properties.
- enumCase(Optional<List<AttributeGroupTree>>, SyntaxToken, NameIdentifierTree, Optional<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>, SyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- EnumCaseTree - Interface in org.sonar.plugins.php.api.tree.statement
- EnumCaseTreeImpl - Class in org.sonar.php.tree.impl.statement
- EnumCaseTreeImpl(List<AttributeGroupTree>, SyntaxToken, NameIdentifierTree, SyntaxToken, ExpressionTree, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- enumDeclaration(Optional<List<AttributeGroupTree>>, SyntaxToken, NameIdentifierTree, Optional<TreeFactory.Tuple<InternalSyntaxToken, TypeTree>>, Optional<TreeFactory.Tuple<InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>>>, SyntaxToken, Optional<List<ClassMemberTree>>, SyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- EnumDeclarationTree - Interface in org.sonar.plugins.php.api.tree.declaration
- EnumDeclarationTreeImpl - Class in org.sonar.php.tree.impl.declaration
- EnumDeclarationTreeImpl(List<AttributeGroupTree>, SyntaxToken, NameIdentifierTree, SyntaxToken, TypeTree, InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>, SyntaxToken, List<ClassMemberTree>, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.EnumDeclarationTreeImpl
- EOF - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
-
Lexical
- eofToken() - Method in class org.sonar.php.tree.impl.CompilationUnitTreeImpl
- eofToken() - Method in interface org.sonar.plugins.php.api.tree.CompilationUnitTree
- EOS - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
-
End of statement.
- EOS() - Method in class org.sonar.php.parser.PHPGrammar
- eosToken() - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.declaration.ConstantDeclarationTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.declaration.TraitPrecedenceTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.BreakStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.ContinueStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.EchoTagStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.ExpressionListStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.ExpressionStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.GlobalStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.GotoStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.ReturnStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.StaticStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.ThrowStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.UnsetVariableStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- eosToken() - Method in class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassPropertyDeclarationTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ConstantDeclarationTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.BreakStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ContinueStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DeclareStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DoWhileStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.EchoTagStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.EnumCaseTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ExpressionListStatementTree
-
Deprecated.
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ExpressionStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.GlobalStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.GotoStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.IfStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.NamespaceStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ReturnStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.StaticStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ThrowStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitAdaptationStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UnsetVariableStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseStatementTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseTraitDeclarationTree
- eosToken() - Method in interface org.sonar.plugins.php.api.tree.statement.WhileStatementTree
- EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- EQUAL - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- EQUAL_TO - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- EQUAL2 - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- EQUALITY_EXPR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- EQUALITY_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- equals(Object) - Method in class org.sonar.php.symbols.LocationInFileImpl
- equals(Object) - Method in class org.sonar.php.symbols.Parameter
- equals(Object) - Method in class org.sonar.php.tree.symbols.SymbolQualifiedName
- equals(Object) - Method in record class org.sonar.php.tree.symbols.SymbolReturnType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.sonar.plugins.php.api.visitors.PhpInputFileContext
-
Indicates whether some other object is "equal to" this one.
- equalSign() - Method in interface org.sonar.php.ini.tree.Directive
- equalToken() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- equalToken() - Method in class org.sonar.php.tree.impl.expression.AssignmentByReferenceTreeImpl
- equalToken() - Method in class org.sonar.php.tree.impl.expression.AssignmentExpressionTreeImpl
- equalToken() - Method in class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- equalToken() - Method in class org.sonar.php.tree.impl.statement.VariableDeclarationTreeImpl
- equalToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- equalToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.VariableDeclarationTree
- equalToken() - Method in interface org.sonar.plugins.php.api.tree.statement.EnumCaseTree
- ERROR_CONTROL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- EVAL - Enum constant in enum class org.sonar.php.api.PHPKeyword
- EVAL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- exceptionTypes() - Method in class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- exceptionTypes() - Method in interface org.sonar.plugins.php.api.tree.statement.CatchBlockTree
- EXECUTION_OPERATOR - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- EXECUTION_OPERATOR() - Method in class org.sonar.php.parser.PHPGrammar
- executionOperator(ExpandableStringLiteralTree) - Method in class org.sonar.php.parser.TreeFactory
- ExecutionOperatorTree - Interface in org.sonar.plugins.php.api.tree.expression
- ExecutionOperatorTreeImpl - Class in org.sonar.php.tree.impl.expression
- ExecutionOperatorTreeImpl(ExpandableStringLiteralTree) - Constructor for class org.sonar.php.tree.impl.expression.ExecutionOperatorTreeImpl
- EXIT - Enum constant in enum class org.sonar.php.api.PHPKeyword
- EXIT_EXPRESSION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- EXIT_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- EXPANDABLE_STRING_CHARACTERS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- EXPANDABLE_STRING_CHARACTERS() - Method in class org.sonar.php.parser.PHPGrammar
- EXPANDABLE_STRING_LITERAL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- EXPANDABLE_STRING_LITERAL() - Method in class org.sonar.php.parser.PHPGrammar
- expandableArrayAccess(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- expandableObjectMemberAccess(InternalSyntaxToken, NameIdentifierTree) - Method in class org.sonar.php.parser.TreeFactory
- expandableStringCharacters(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ExpandableStringCharactersTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Characters within expandable string
- ExpandableStringCharactersTreeImpl - Class in org.sonar.php.tree.impl.expression
- ExpandableStringCharactersTreeImpl(Tree.Kind, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ExpandableStringCharactersTreeImpl
- expandableStringLiteral(Tree, InternalSyntaxToken, List<ExpressionTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ExpandableStringLiteralTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Expandable String, containing variable name
- ExpandableStringLiteralTreeImpl - Class in org.sonar.php.tree.impl.expression
- ExpandableStringLiteralTreeImpl(InternalSyntaxToken, List<ExpressionTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ExpandableStringLiteralTreeImpl
- ExpectedIssuesParser - Class in org.sonar.php.utils
- ExpectedIssuesParser() - Constructor for class org.sonar.php.utils.ExpectedIssuesParser
- expression() - Method in class org.sonar.php.tree.impl.expression.CallableConvertTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.CastExpressionTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.MatchConditionClauseTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.MatchDefaultClauseTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.NewExpressionTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.ParenthesizedExpressionTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.PostfixExpressionTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.PrefixedCastExpressionTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.PrefixExpressionTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.expression.ThrowExpressionTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.statement.CaseClauseTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.statement.ExpressionStatementTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl.ForEachStatementHeader
- expression() - Method in class org.sonar.php.tree.impl.statement.ReturnStatementTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- expression() - Method in class org.sonar.php.tree.impl.statement.ThrowStatementTreeImpl
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.CallableConvertTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.CastExpressionTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchClauseTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchConditionClauseTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchDefaultClauseTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchExpressionTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.NewExpressionTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.ParenthesisedExpressionTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.PrefixedCastExpressionTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.ThrowExpressionTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.expression.UnaryExpressionTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.statement.CaseClauseTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.statement.ExpressionStatementTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.statement.ReturnStatementTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchStatementTree
- expression() - Method in interface org.sonar.plugins.php.api.tree.statement.ThrowStatementTree
- EXPRESSION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- EXPRESSION_LIST_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- EXPRESSION_LIST_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
-
Deprecated.since 3.1. Use
Tree.Kind.ECHO_TAG_STATEMENT
- EXPRESSION_LIST_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- EXPRESSION_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- EXPRESSION_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- EXPRESSION_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- expressionListStatement(ExpressionTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ExpressionListStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Deprecated.since 3.1. Use
EchoTagStatementTree
- ExpressionListStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- ExpressionListStatementTreeImpl(SeparatedList<ExpressionTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.ExpressionListStatementTreeImpl
- expressionRecovery(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- expressions() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringLiteralTreeImpl
- expressions() - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl
- expressions() - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl.HeredocBody
- expressions() - Method in class org.sonar.php.tree.impl.statement.EchoTagStatementTreeImpl
- expressions() - Method in class org.sonar.php.tree.impl.statement.ExpressionListStatementTreeImpl
- expressions() - Method in interface org.sonar.plugins.php.api.tree.expression.ExpandableStringLiteralTree
- expressions() - Method in interface org.sonar.plugins.php.api.tree.expression.HeredocStringLiteralTree
- expressions() - Method in interface org.sonar.plugins.php.api.tree.statement.EchoTagStatementTree
- expressions() - Method in interface org.sonar.plugins.php.api.tree.statement.ExpressionListStatementTree
-
Deprecated.
- expressionStatement(ExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ExpressionStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Expression statement is used for processing expressions, e.g.
- ExpressionStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- ExpressionStatementTreeImpl(ExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.ExpressionStatementTreeImpl
- ExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Parent interface for all the trees representing expressions (e.g.
- EXTENDS - Enum constant in enum class org.sonar.php.api.PHPKeyword
- extendsToken() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- extendsToken() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- extendsToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- extendsToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
- extendsToken() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- extractedSuppressedWarningsFromArgument(Collection<CallArgumentTree>) - Method in class org.sonar.php.filters.SuppressWarningFilter
F
- FALSE - Enum constant in enum class org.sonar.php.symbols.Trilean
- falseExpression() - Method in class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- falseExpression() - Method in interface org.sonar.plugins.php.api.tree.expression.ConditionalExpressionTree
- falseSuccessor() - Method in interface org.sonar.plugins.php.api.cfg.CfgBranchingBlock
- fetchConstructor() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- fetchConstructor() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- fetchConstructor() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
-
Fetch class constructor declaration within class
members
. - FIELD - Enum constant in enum class org.sonar.plugins.php.api.symbols.Symbol.Kind
- FILE_CONSTANT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FILE_OPENING_TAG - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FILE_OPENING_TAG - Enum constant in enum class org.sonar.php.parser.PHPTokenType
- FileIssue - Class in org.sonar.plugins.php.api.visitors
- FileIssue(PHPCheck, String) - Constructor for class org.sonar.plugins.php.api.visitors.FileIssue
- FileMeasures - Class in org.sonar.php.metrics
- FileMeasures() - Constructor for class org.sonar.php.metrics.FileMeasures
- filename() - Method in class org.sonar.php.compat.PhpFileImpl
- filename() - Method in class org.sonar.plugins.php.api.tests.PhpTestFile
- filename() - Method in interface org.sonar.plugins.php.api.visitors.PhpFile
- fileOpeningTagToken() - Method in class org.sonar.php.tree.impl.ScriptTreeImpl
- fileOpeningTagToken() - Method in interface org.sonar.plugins.php.api.tree.ScriptTree
- filePath() - Method in class org.sonar.php.symbols.LocationInFileImpl
- filePath() - Method in enum class org.sonar.php.symbols.UnknownLocationInFile
- filePath() - Method in class org.sonar.plugins.php.api.visitors.IssueLocation
- filePath() - Method in interface org.sonar.plugins.php.api.visitors.LocationInFile
- FINAL - Enum constant in enum class org.sonar.php.api.PHPKeyword
- FINALLY - Enum constant in enum class org.sonar.php.api.PHPKeyword
- finallyBlock() - Method in class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- finallyBlock() - Method in interface org.sonar.plugins.php.api.tree.statement.TryStatementTree
- finallyToken() - Method in class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- finallyToken() - Method in interface org.sonar.plugins.php.api.tree.statement.TryStatementTree
- findAncestorWithKind(Tree, Collection<Tree.Kind>) - Static method in class org.sonar.php.tree.TreeUtils
- findAncestorWithKind(Tree, Tree.Kind...) - Static method in class org.sonar.php.tree.TreeUtils
- first() - Method in class org.sonar.php.parser.TreeFactory.Tuple
- firstDescendant(Tree, Class<T>) - Static method in class org.sonar.php.tree.TreeUtils
- firstDescendant(Tree, Predicate<Tree>) - Static method in class org.sonar.php.tree.TreeUtils
- firstSemicolonToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- firstSemicolonToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl.ForStatementHeader
- firstSemicolonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- FLOAT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FN - Enum constant in enum class org.sonar.php.api.PHPKeyword
- FOR - Enum constant in enum class org.sonar.php.api.PHPKeyword
- FOR_EXPR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FOR_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- FOR_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FOR_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- FOR_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- FOR_STATEMENT_HEADER() - Method in class org.sonar.php.parser.PHPGrammar
- FOREACH - Enum constant in enum class org.sonar.php.api.PHPKeyword
- FOREACH_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FOREACH_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- FOREACH_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- FOREACH_STATEMENT_HEADER() - Method in class org.sonar.php.parser.PHPGrammar
- FOREACH_VARIABLE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FOREACH_VARIABLE() - Method in class org.sonar.php.parser.PHPGrammar
- forEachStatement(ForEachStatementTreeImpl.ForEachStatementHeader, StatementTree) - Method in class org.sonar.php.parser.TreeFactory
- forEachStatementAlternative(ForEachStatementTreeImpl.ForEachStatementHeader, InternalSyntaxToken, Optional<List<StatementTree>>, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- forEachStatementHeader(InternalSyntaxToken, InternalSyntaxToken, ExpressionTree, InternalSyntaxToken, Optional<TreeFactory.Tuple<ExpressionTree, InternalSyntaxToken>>, ExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ForEachStatementHeader(InternalSyntaxToken, InternalSyntaxToken, ExpressionTree, InternalSyntaxToken, ExpressionTree, InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl.ForEachStatementHeader
- ForEachStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Represents foreach statement and alternative foreach statement syntax as well.
- ForEachStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- ForEachStatementTreeImpl(ForEachStatementTreeImpl.ForEachStatementHeader, InternalSyntaxToken, List<StatementTree>, InternalSyntaxToken, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- ForEachStatementTreeImpl(ForEachStatementTreeImpl.ForEachStatementHeader, StatementTree) - Constructor for class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- ForEachStatementTreeImpl.ForEachStatementHeader - Class in org.sonar.php.tree.impl.statement
-
Utility class hidden from API (it's mainly created to avoid duplication in grammar)
- foreachToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl.ForEachStatementHeader
- foreachToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- foreachToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- forExpr(ExpressionTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>>) - Method in class org.sonar.php.parser.TreeFactory
- forStatement(ForStatementTreeImpl.ForStatementHeader, StatementTree) - Method in class org.sonar.php.parser.TreeFactory
- forStatementAlternative(ForStatementTreeImpl.ForStatementHeader, InternalSyntaxToken, Optional<List<StatementTree>>, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- forStatementHeader(InternalSyntaxToken, InternalSyntaxToken, Optional<SeparatedListImpl<ExpressionTree>>, InternalSyntaxToken, Optional<SeparatedListImpl<ExpressionTree>>, InternalSyntaxToken, Optional<SeparatedListImpl<ExpressionTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ForStatementHeader(InternalSyntaxToken, InternalSyntaxToken, SeparatedListImpl<ExpressionTree>, InternalSyntaxToken, SeparatedListImpl<ExpressionTree>, InternalSyntaxToken, SeparatedListImpl<ExpressionTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.ForStatementTreeImpl.ForStatementHeader
- ForStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Represents for statement and alternative for statement syntax as well.
- ForStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- ForStatementTreeImpl(ForStatementTreeImpl.ForStatementHeader, InternalSyntaxToken, List<StatementTree>, InternalSyntaxToken, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- ForStatementTreeImpl(ForStatementTreeImpl.ForStatementHeader, StatementTree) - Constructor for class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- ForStatementTreeImpl.ForStatementHeader - Class in org.sonar.php.tree.impl.statement
-
Utility class hidden from API (it's mainly created to avoid duplication in grammar)
- forToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl.ForStatementHeader
- forToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- forToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- FrameworkDetectionVisitor - Class in org.sonar.php.tree.visitors
-
Visitor that detects the framework used in the analyzed file.
- FrameworkDetectionVisitor() - Constructor for class org.sonar.php.tree.visitors.FrameworkDetectionVisitor
- from(ReturnTypeClauseTree) - Static method in record class org.sonar.php.tree.symbols.SymbolReturnType
- FROM - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- fromBinary(CpdDeserializationInput) - Static method in class org.sonar.php.cache.CpdDeserializer
- fromBinary(SymbolTableDeserializationInput) - Static method in class org.sonar.php.cache.SymbolTableDeserializer
- fromToken() - Method in class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- fromToken() - Method in interface org.sonar.plugins.php.api.tree.expression.YieldExpressionTree
- fromTree(ParameterTree) - Static method in class org.sonar.php.symbols.Parameter
- fullName() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- fullName() - Method in interface org.sonar.plugins.php.api.tree.declaration.NamespaceNameTree
-
Return the concatenation of: absolute separator (if present) namespaces with separators (if present) name
- fullyQualifiedName() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- fullyQualifiedName() - Method in interface org.sonar.plugins.php.api.tree.declaration.NamespaceNameTree
-
Return the fully qualified form of the namespaced name, with the namespaces and separators if present and the absolute separator if present.
- FUNCTION - Enum constant in enum class org.sonar.php.api.PHPKeyword
- FUNCTION - Enum constant in enum class org.sonar.plugins.php.api.symbols.Symbol.Kind
- FUNCTION_CALL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- FUNCTION_CALL_ARGUMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FUNCTION_CALL_ARGUMENT() - Method in class org.sonar.php.parser.PHPGrammar
- FUNCTION_CALL_ARGUMENT_LIST() - Method in class org.sonar.php.parser.PHPGrammar
- FUNCTION_CALL_PARAMETER_LIST - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FUNCTION_CONSTANT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- FUNCTION_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
-
Declaration
- FUNCTION_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- FUNCTION_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- FUNCTION_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- FUNCTION_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- functionCallArgument(Optional<TreeFactory.Tuple<NameIdentifierTree, InternalSyntaxToken>>, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- functionCallArgument(ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- functionCallParameterList(InternalSyntaxToken, SeparatedListImpl<CallArgumentTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- FunctionCallTree - Interface in org.sonar.plugins.php.api.tree.expression
- FunctionCallTreeImpl - Class in org.sonar.php.tree.impl.expression
- FunctionCallTreeImpl(InternalSyntaxToken, SeparatedListImpl<CallArgumentTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- FunctionCallTreeImpl(ExpressionTree, InternalSyntaxToken, SeparatedListImpl<CallArgumentTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- FunctionCallTreeImpl(ExpressionTree, SeparatedListImpl<CallArgumentTree>) - Constructor for class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- functionDeclaration(Optional<List<AttributeGroupTree>>, InternalSyntaxToken, Optional<InternalSyntaxToken>, NameIdentifierTree, ParameterListTree, Optional<ReturnTypeClauseTree>, BlockTree) - Method in class org.sonar.php.parser.TreeFactory
- FunctionDeclarationTree - Interface in org.sonar.plugins.php.api.tree.declaration
- FunctionDeclarationTreeImpl - Class in org.sonar.php.tree.impl.declaration
- FunctionDeclarationTreeImpl(List<AttributeGroupTree>, InternalSyntaxToken, InternalSyntaxToken, NameIdentifierTree, ParameterListTree, ReturnTypeClauseTree, BlockTree) - Constructor for class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- functionExpression(Optional<List<AttributeGroupTree>>, Optional<InternalSyntaxToken>, InternalSyntaxToken, Optional<InternalSyntaxToken>, ParameterListTree, Optional<LexicalVariablesTree>, Optional<ReturnTypeClauseTree>, BlockTree) - Method in class org.sonar.php.parser.TreeFactory
- FunctionExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
- FunctionExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- FunctionExpressionTreeImpl(List<AttributeGroupTree>, InternalSyntaxToken, InternalSyntaxToken, InternalSyntaxToken, ParameterListTree, LexicalVariablesTree, ReturnTypeClauseTree, BlockTree) - Constructor for class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- FunctionSymbol - Interface in org.sonar.php.symbols
- functionSymbolData() - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- functionSymbolData(QualifiedName) - Method in class org.sonar.php.symbols.ProjectSymbolData
- FunctionSymbolData - Class in org.sonar.php.symbols
- FunctionSymbolData(LocationInFile, QualifiedName, List<Parameter>, FunctionSymbolData.FunctionSymbolProperties, ReturnType) - Constructor for class org.sonar.php.symbols.FunctionSymbolData
- FunctionSymbolData.FunctionSymbolProperties - Class in org.sonar.php.symbols
- functionSymbolDatas() - Method in class org.sonar.php.tree.symbols.SymbolTableImpl
- FunctionSymbolImpl(FunctionSymbolData) - Constructor for class org.sonar.php.symbols.FunctionSymbolIndex.FunctionSymbolImpl
- functionSymbolIndex() - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- FunctionSymbolIndex - Class in org.sonar.php.symbols
- FunctionSymbolIndex(ProjectSymbolData) - Constructor for class org.sonar.php.symbols.FunctionSymbolIndex
- FunctionSymbolIndex.FunctionSymbolImpl - Class in org.sonar.php.symbols
- FunctionSymbolProperties() - Constructor for class org.sonar.php.symbols.FunctionSymbolData.FunctionSymbolProperties
- FunctionSymbolProperties(boolean, boolean) - Constructor for class org.sonar.php.symbols.FunctionSymbolData.FunctionSymbolProperties
- functionSymbolsByQualifiedName() - Method in class org.sonar.php.symbols.ProjectSymbolData
- functionToken() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- functionToken() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- functionToken() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- functionToken() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- functionToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionDeclarationTree
- functionToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionTree
- functionToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.MethodDeclarationTree
- functionToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrowFunctionExpressionTree
- functionToken() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionExpressionTree
- FunctionTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
Common interface for all kinds of function.
G
- GE - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- get(int) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- get(ClassSymbolData) - Method in class org.sonar.php.symbols.ClassSymbolIndex
- get(FunctionSymbolData) - Method in class org.sonar.php.symbols.FunctionSymbolIndex
- get(QualifiedName) - Method in class org.sonar.php.symbols.ClassSymbolIndex
- get(QualifiedName) - Method in class org.sonar.php.symbols.FunctionSymbolIndex
- get(ClassDeclarationTree) - Static method in class org.sonar.php.symbols.Symbols
- get(MethodDeclarationTree) - Static method in class org.sonar.php.symbols.Symbols
- get(AnonymousClassTree) - Static method in class org.sonar.php.symbols.Symbols
- get(FunctionCallTree) - Static method in class org.sonar.php.symbols.Symbols
- getAssociatedInterface() - Method in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- getClass(NamespaceNameTree) - Static method in class org.sonar.php.symbols.Symbols
- getClassNodes() - Static method in class org.sonar.php.metrics.MetricsVisitor
- getClassNumber() - Method in class org.sonar.php.metrics.CounterVisitor
- getClassNumber() - Method in class org.sonar.php.metrics.FileMeasures
- getCommentLinesNumber() - Method in class org.sonar.php.metrics.FileMeasures
- getComplexityComponents() - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor.CognitiveComplexity
- getCpdTokens() - Method in class org.sonar.php.metrics.CpdVisitor
- getDeclaredMethod(String) - Method in interface org.sonar.php.symbols.ClassSymbol
- getEndDelimiter(String) - Static method in class org.sonar.php.regex.PhpRegexUtils
- getFileCognitiveComplexity() - Method in class org.sonar.php.metrics.FileMeasures
- getFileComplexity() - Method in class org.sonar.php.metrics.FileMeasures
- getFileMeasures(PhpFile, CompilationUnitTree, SymbolTable, FileLinesContext) - Method in class org.sonar.php.metrics.MetricsVisitor
- getFirstToken() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- getFirstToken() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- getFirstToken() - Method in class org.sonar.php.tree.impl.PHPTree
- getFramework() - Method in class org.sonar.php.tree.symbols.SymbolTableImpl
- getFramework() - Method in class org.sonar.php.tree.visitors.FrameworkDetectionVisitor
- getFramework() - Method in interface org.sonar.plugins.php.api.symbols.SymbolTable
- getFramework() - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
-
Determine if the current file uses a specific framework.
- getFullyQualifiedName(NamespaceNameTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- getFullyQualifiedName(NamespaceNameTree, Symbol.Kind) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
-
Resolution rules are defined in http://php.net/manual/en/language.namespaces.rules.php
- getFunctionNodes() - Static method in class org.sonar.php.metrics.MetricsVisitor
- getFunctionNumber() - Method in class org.sonar.php.metrics.CounterVisitor
- getFunctionNumber() - Method in class org.sonar.php.metrics.FileMeasures
- getGen() - Method in class org.sonar.php.cfg.LiveVariablesAnalysis.LiveVariables
- getImplementationVersion(Class<?>) - Static method in class org.sonar.php.cache.CacheContextImpl
- getIn() - Method in class org.sonar.php.cfg.LiveVariablesAnalysis.LiveVariables
- getIndex(String) - Method in class org.sonar.php.cache.StringTable
- getIssues() - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- getIssues() - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
- getKeywordValues() - Static method in enum class org.sonar.php.api.PHPKeyword
- getKill() - Method in class org.sonar.php.cfg.LiveVariablesAnalysis.LiveVariables
- getKind() - Method in class org.sonar.php.tree.impl.CompilationUnitTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.AttributeGroupTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.AttributeTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.BuiltInTypeTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.CallArgumentTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.CombinedTypeTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.ConstantDeclarationTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.ParameterListTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.ReturnTypeClauseTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.TraitMethodReferenceTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.TraitPrecedenceTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.TypeTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerBracketTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerFunctionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.AssignmentByReferenceTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.AssignmentExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.BinaryExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.CallableConvertTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.CastExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.CompoundVariableTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ComputedVariableTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ExecutionOperatorTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringCharactersTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringLiteralTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl.HeredocBody
- getKind() - Method in class org.sonar.php.tree.impl.expression.LexicalVariablesTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ListExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.LiteralTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.MatchConditionClauseTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.MatchDefaultClauseTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.NameIdentifierTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.NewExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ParenthesizedExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.PostfixExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.PrefixedCastExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.PrefixExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ReferenceVariableTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.SpreadArgumentTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.ThrowExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.VariableVariableTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- getKind() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- getKind() - Method in class org.sonar.php.tree.impl.ScriptTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.BlockTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.BreakStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.CaseClauseTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.ContinueStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.DefaultClauseTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.EchoTagStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.ElseClauseTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.ElseifClauseTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.EmptyStatementImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.ExpressionListStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.ExpressionStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.GlobalStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.GotoStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.InlineHTMLTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.LabelTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.ReturnStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.StaticStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.ThrowStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.UnsetVariableStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.VariableDeclarationTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- getKind() - Method in class org.sonar.php.tree.impl.VariableIdentifierTreeImpl
- getKind() - Method in interface org.sonar.plugins.php.api.tree.Tree
- getLast(List<T>) - Static method in class org.sonar.php.utils.collections.ListUtils
- getLast(List<T>, T) - Static method in class org.sonar.php.utils.collections.ListUtils
- getLastToken() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- getLastToken() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- getLastToken() - Method in class org.sonar.php.tree.impl.PHPTree
- getLine() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- getLine() - Method in class org.sonar.php.tree.impl.PHPTree
- getLinesOfCode() - Method in class org.sonar.php.metrics.LineVisitor
- getLinesOfCodeNumber() - Method in class org.sonar.php.metrics.FileMeasures
- getLinesOfCodeNumber() - Method in class org.sonar.php.metrics.LineVisitor
- getLiveVariables(CfgBlock) - Method in class org.sonar.php.cfg.LiveVariablesAnalysis
- getOnlyElement(List<T>) - Static method in class org.sonar.php.utils.collections.ListUtils
- getOut() - Method in class org.sonar.php.cfg.LiveVariablesAnalysis.LiveVariables
- getParent() - Method in class org.sonar.php.tree.impl.PHPTree
- getParent() - Method in interface org.sonar.plugins.php.api.tree.Tree
- getPhpFile() - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- getPhpFile() - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
- getReadCache() - Method in class org.sonar.php.cache.CacheContextImpl
- getReadCache() - Method in interface org.sonar.plugins.php.api.cache.CacheContext
- getReadSymbols() - Method in class org.sonar.php.cfg.LiveVariablesAnalysis
- getRegexForLiterals(FlagSet, LiteralTree) - Method in class org.sonar.php.regex.RegexCache
- getRootCause(Throwable) - Static method in class org.sonar.php.utils.Throwables
- getScopeFor(Tree) - Method in class org.sonar.php.tree.symbols.SymbolTableImpl
- getScopeFor(Tree) - Method in interface org.sonar.plugins.php.api.symbols.SymbolTable
- getScopes() - Method in class org.sonar.php.tree.symbols.SymbolTableImpl
- getScopes() - Method in interface org.sonar.plugins.php.api.symbols.SymbolTable
- getSeparator(int) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- getSeparator(int) - Method in interface org.sonar.plugins.php.api.tree.SeparatedList
- getSeparators() - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- getSeparators() - Method in interface org.sonar.plugins.php.api.tree.SeparatedList
- getStackTraceAsString(Throwable) - Static method in class org.sonar.php.utils.Throwables
- getStatementNumber() - Method in class org.sonar.php.metrics.CounterVisitor
- getStatementNumber() - Method in class org.sonar.php.metrics.FileMeasures
- getString(int) - Method in class org.sonar.php.cache.StringTable
- getStringList() - Method in class org.sonar.php.cache.StringTable
- getSymbol(String, Symbol.Kind...) - Method in class org.sonar.php.tree.symbols.Scope
-
returns symbol available in this scope with satisfying name and kind.
- getSymbol(Tree) - Method in class org.sonar.php.tree.symbols.SymbolTableImpl
- getSymbol(Tree) - Method in interface org.sonar.plugins.php.api.symbols.SymbolTable
- getSymbols() - Method in class org.sonar.php.tree.symbols.SymbolTableImpl
-
Returns all symbols in script
- getSymbols(String) - Method in class org.sonar.php.tree.symbols.SymbolTableImpl
- getSymbols(Symbol.Kind) - Method in class org.sonar.php.tree.symbols.Scope
- getSymbols(Symbol.Kind) - Method in class org.sonar.php.tree.symbols.SymbolTableImpl
- getSymbols(Symbol.Kind) - Method in interface org.sonar.plugins.php.api.symbols.SymbolTable
- getValue() - Method in enum class org.sonar.php.api.PHPKeyword
- getValue() - Method in enum class org.sonar.php.api.PHPPunctuator
- getValue() - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor.CognitiveComplexity
- getVariableUsages(Tree) - Method in class org.sonar.php.cfg.LiveVariablesAnalysis.LiveVariables
- getWorkingDirectory() - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- getWorkingDirectory() - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
- getWriteCache() - Method in class org.sonar.php.cache.CacheContextImpl
- getWriteCache() - Method in interface org.sonar.plugins.php.api.cache.CacheContext
- GLOBAL - Enum constant in enum class org.sonar.php.api.PHPKeyword
- GLOBAL_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- GLOBAL_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- GLOBAL_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- GLOBAL_VAR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- GLOBAL_VAR() - Method in class org.sonar.php.parser.PHPGrammar
- globalStatement(InternalSyntaxToken, VariableTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, VariableTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
-
[ START ] Statement
- GlobalStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Global variable declaration
- GlobalStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- GlobalStatementTreeImpl(InternalSyntaxToken, SeparatedListImpl<VariableTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.GlobalStatementTreeImpl
- globalToken() - Method in class org.sonar.php.tree.impl.statement.GlobalStatementTreeImpl
- globalToken() - Method in interface org.sonar.plugins.php.api.tree.statement.GlobalStatementTree
- globalVar(Optional<List<InternalSyntaxToken>>, VariableTree) - Method in class org.sonar.php.parser.TreeFactory
- GOTO - Enum constant in enum class org.sonar.php.api.PHPKeyword
- GOTO_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- GOTO_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- GOTO_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- gotoStatement(InternalSyntaxToken, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- GotoStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- GotoStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- GotoStatementTreeImpl(InternalSyntaxToken, NameIdentifierTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.GotoStatementTreeImpl
- gotoToken() - Method in class org.sonar.php.tree.impl.statement.GotoStatementTreeImpl
- gotoToken() - Method in interface org.sonar.plugins.php.api.tree.statement.GotoStatementTree
- GREATER_THAN - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- GREATER_THAN_OR_EQUAL_TO - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- GROUP_USE_CLAUSE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- GROUP_USE_CLAUSE() - Method in class org.sonar.php.parser.PHPGrammar
- GROUP_USE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- GROUP_USE_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- groupUseClause(Optional<InternalSyntaxToken>, NamespaceNameTree, Optional<TreeFactory.Tuple<InternalSyntaxToken, InternalSyntaxToken>>) - Method in class org.sonar.php.parser.TreeFactory
- groupUseStatement(InternalSyntaxToken, Optional<InternalSyntaxToken>, NamespaceNameTree, InternalSyntaxToken, InternalSyntaxToken, UseClauseTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, UseClauseTree>>>, Optional<InternalSyntaxToken>, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- GT - Enum constant in enum class org.sonar.php.api.PHPPunctuator
H
- HALT_COMPILER - Enum constant in enum class org.sonar.php.api.PHPKeyword
- HALT_COMPILER_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- haltCompilerStatement(InternalSyntaxToken, InternalSyntaxToken, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- hasAnnotation(Tree, String) - Static method in class org.sonar.php.tree.TreeUtils
- HasAttributes - Interface in org.sonar.plugins.php.api.tree.declaration
- HasClassSymbol - Interface in org.sonar.php.tree.symbols
- hasDefault() - Method in class org.sonar.php.symbols.Parameter
- hasEllipsisOperator() - Method in class org.sonar.php.symbols.Parameter
- hasFuncGetArgs() - Method in interface org.sonar.php.symbols.FunctionSymbol
- hasFuncGetArgs() - Method in class org.sonar.php.symbols.FunctionSymbolData.FunctionSymbolProperties
- hasFuncGetArgs() - Method in class org.sonar.php.symbols.FunctionSymbolData
- hasFuncGetArgs() - Method in class org.sonar.php.symbols.FunctionSymbolIndex.FunctionSymbolImpl
- hasFuncGetArgs() - Method in class org.sonar.php.symbols.UnknownFunctionSymbol
- hasFuncGetArgs(boolean) - Method in class org.sonar.php.symbols.FunctionSymbolData.FunctionSymbolProperties
- HasFunctionSymbol - Interface in org.sonar.php.tree.symbols
- hashCode() - Method in class org.sonar.php.symbols.LocationInFileImpl
- hashCode() - Method in class org.sonar.php.symbols.Parameter
- hashCode() - Method in class org.sonar.php.tree.symbols.SymbolQualifiedName
- hashCode() - Method in record class org.sonar.php.tree.symbols.SymbolReturnType
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.sonar.plugins.php.api.visitors.PhpInputFileContext
-
Returns a hash code value for this object.
- HasMethodSymbol - Interface in org.sonar.php.tree.symbols
- hasModifier(String) - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- hasModifier(String) - Method in class org.sonar.php.tree.symbols.SymbolImpl
- hasModifier(String) - Method in interface org.sonar.plugins.php.api.symbols.Symbol
- hasModifiers(String...) - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- hasModifiers(String...) - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassPropertyDeclarationTree
- hasQualifiedName() - Method in enum class org.sonar.plugins.php.api.symbols.Symbol.Kind
- hasQualifiers() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- hasQualifiers() - Method in interface org.sonar.plugins.php.api.tree.declaration.NamespaceNameTree
-
Return true if the namespace name has namespace separator.
- hasReturn() - Method in interface org.sonar.php.symbols.FunctionSymbol
- hasReturn() - Method in class org.sonar.php.symbols.FunctionSymbolData.FunctionSymbolProperties
- hasReturn() - Method in class org.sonar.php.symbols.FunctionSymbolData
- hasReturn() - Method in class org.sonar.php.symbols.FunctionSymbolIndex.FunctionSymbolImpl
- hasReturn() - Method in class org.sonar.php.symbols.UnknownFunctionSymbol
- hasReturn(boolean) - Method in class org.sonar.php.symbols.FunctionSymbolData.FunctionSymbolProperties
- hasUnresolvedCompact() - Method in class org.sonar.php.tree.symbols.Scope
- HEREDOC - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- HEREDOC - Static variable in class org.sonar.php.parser.LexicalConstant
- HEREDOC_BODY - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- HEREDOC_BODY() - Method in class org.sonar.php.parser.PHPGrammar
- HEREDOC_LITERAL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
-
LiteralTree
heredoc
- HEREDOC_STRING_CHARACTERS - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- HEREDOC_STRING_CHARACTERS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- HEREDOC_STRING_CHARACTERS - Static variable in class org.sonar.php.parser.LexicalConstant
- HEREDOC_STRING_CHARACTERS() - Method in class org.sonar.php.parser.PHPGrammar
- HEREDOC_STRING_LITERAL() - Method in class org.sonar.php.parser.PHPGrammar
- HeredocBody(List<ExpressionTree>) - Constructor for class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl.HeredocBody
- heredocBodyTree(List<ExpressionTree>) - Method in class org.sonar.php.parser.TreeFactory
- heredocStringCharacters(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- heredocStringLiteral(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- HeredocStringLiteralTree - Interface in org.sonar.plugins.php.api.tree.expression
- HeredocStringLiteralTreeImpl - Class in org.sonar.php.tree.impl.expression
- HeredocStringLiteralTreeImpl(SyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl
- HeredocStringLiteralTreeImpl.HeredocBody - Class in org.sonar.php.tree.impl.expression
- highlight(SymbolTable, NewSymbolTable) - Static method in class org.sonar.php.highlighter.SymbolHighlighter
- highlight(Tree, NewHighlighting) - Static method in class org.sonar.php.highlighter.SyntaxHighlighterVisitor
I
- identifier() - Method in class org.sonar.php.tree.impl.statement.GotoStatementTreeImpl
- identifier() - Method in class org.sonar.php.tree.impl.statement.VariableDeclarationTreeImpl
- identifier() - Method in interface org.sonar.plugins.php.api.tree.declaration.VariableDeclarationTree
- identifier() - Method in interface org.sonar.plugins.php.api.tree.statement.GotoStatementTree
- identifier(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- IDENTIFIER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- IDENTIFIER - Static variable in class org.sonar.php.parser.LexicalConstant
- IDENTIFIER_OR_KEYWORD - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- IDENTIFIER_PART - Static variable in class org.sonar.php.parser.LexicalConstant
- identifierOrKeyword(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- IdentifierTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Common interface to represent all kinds of identifiers.
- IF - Enum constant in enum class org.sonar.php.api.PHPKeyword
- IF_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- IF_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- IF_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- ifStatement(InternalSyntaxToken, ParenthesisedExpressionTree, StatementTree, Optional<List<ElseifClauseTree>>, Optional<ElseClauseTree>) - Method in class org.sonar.php.parser.TreeFactory
- IfStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Represents if statement and alternative if statement syntax as well.
- IfStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- IfStatementTreeImpl(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, List<StatementTree>, List<ElseifClauseTree>, ElseClauseTree, InternalSyntaxToken, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- IfStatementTreeImpl(InternalSyntaxToken, ParenthesisedExpressionTree, StatementTree, List<ElseifClauseTree>, ElseClauseTree) - Constructor for class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- ifToken() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- ifToken() - Method in interface org.sonar.plugins.php.api.tree.statement.IfStatementTree
- implementedInterfaces() - Method in interface org.sonar.php.symbols.ClassSymbol
- implementedInterfaces() - Method in class org.sonar.php.symbols.ClassSymbolData
- IMPLEMENTS - Enum constant in enum class org.sonar.php.api.PHPKeyword
- implementsToken() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- implementsToken() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- implementsToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- implementsToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
- implementsToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
- implementsToken() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- INC - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- INCLUDE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- INCLUDE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INCLUDE_ONCE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- INCLUDE_ONCE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- indexOf(Object) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- init() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl.ForStatementHeader
- init() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- init() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- init() - Method in interface org.sonar.plugins.php.api.visitors.PHPCheck
-
Initialize the check, this method is called once.
- init() - Method in class org.sonar.plugins.php.api.visitors.PHPSubscriptionCheck
- init() - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- initValue() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- initValue() - Method in class org.sonar.php.tree.impl.statement.VariableDeclarationTreeImpl
- initValue() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- initValue() - Method in interface org.sonar.plugins.php.api.tree.declaration.VariableDeclarationTree
- INLINE_HTML - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INLINE_HTML - Enum constant in enum class org.sonar.php.parser.PHPTokenType
- INLINE_HTML - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- INLINE_HTML() - Method in class org.sonar.php.parser.PHPGrammar
- INLINE_HTML_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INLINE_HTML_TOKEN - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- inlineHTML(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- inlineHTMLToken() - Method in class org.sonar.php.tree.impl.statement.InlineHTMLTreeImpl
- inlineHTMLToken() - Method in interface org.sonar.plugins.php.api.tree.statement.InlineHTMLTree
- InlineHTMLTree - Interface in org.sonar.plugins.php.api.tree.statement
-
This interface presents HTML code embedded into php code.
- InlineHTMLTreeImpl - Class in org.sonar.php.tree.impl.statement
- InlineHTMLTreeImpl(InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.InlineHTMLTreeImpl
- INNER_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INNER_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- INSTANCE_OF - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
-
BinaryExpressionTree
instanceof
- INSTANCEOF - Enum constant in enum class org.sonar.php.api.PHPKeyword
- INSTEADOF - Enum constant in enum class org.sonar.php.api.PHPKeyword
- insteadOfToken() - Method in class org.sonar.php.tree.impl.declaration.TraitPrecedenceTreeImpl
- insteadOfToken() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitPrecedenceTree
- INT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INTEGER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INTERFACE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- INTERFACE - Enum constant in enum class org.sonar.php.symbols.ClassSymbol.Kind
- INTERFACE_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INTERFACE_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- INTERFACE_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- INTERFACE_LIST - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INTERFACE_LIST() - Method in class org.sonar.php.parser.PHPGrammar
- interfaceDeclaration(Optional<List<AttributeGroupTree>>, InternalSyntaxToken, NameIdentifierTree, Optional<TreeFactory.Tuple<InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>>>, InternalSyntaxToken, Optional<List<ClassMemberTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- interfaceList(NamespaceNameTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, NamespaceNameTree>>>) - Method in class org.sonar.php.parser.TreeFactory
- interfaces() - Method in class org.sonar.php.tree.symbols.TypeSymbolImpl
- interfaces() - Method in interface org.sonar.plugins.php.api.symbols.TypeSymbol
- INTERNAL_FUNCTION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INTERNAL_FUNCTION() - Method in class org.sonar.php.parser.PHPGrammar
- internalFunction(InternalSyntaxToken, InternalSyntaxToken, SeparatedListImpl<ExpressionTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- internalFunction(InternalSyntaxToken, InternalSyntaxToken, ExpressionTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>>, Optional<InternalSyntaxToken>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- internalFunction(InternalSyntaxToken, InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- internalFunction(InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- InternalSyntaxToken - Class in org.sonar.php.tree.impl.lexical
- InternalSyntaxToken(int, int, String, List<SyntaxTrivia>, int, boolean) - Constructor for class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- InternalSyntaxTrivia - Class in org.sonar.php.tree.impl.lexical
- InternalSyntaxTrivia(String, int, int) - Constructor for class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- INTERSECTION_TYPE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- INTERSECTION_TYPE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- INTERSECTION_TYPE() - Method in class org.sonar.php.parser.PHPGrammar
- intersectionType(TypeTree, List<TreeFactory.Tuple<SyntaxToken, TypeTree>>) - Method in class org.sonar.php.parser.TreeFactory
- IntersectionTypeTree - Interface in org.sonar.plugins.php.api.tree.declaration
- IntersectionTypeTreeImpl(SeparatedList<TypeTree>) - Constructor for class org.sonar.php.tree.impl.declaration.CombinedTypeTreeImpl.IntersectionTypeTreeImpl
- is(TokenType) - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- is(ClassSymbol.Kind) - Method in interface org.sonar.php.symbols.ClassSymbol
- is(Symbol.Kind) - Method in class org.sonar.php.tree.symbols.SymbolImpl
- is(Symbol.Kind) - Method in interface org.sonar.plugins.php.api.symbols.Symbol
- is(Tree.Kind...) - Method in class org.sonar.php.tree.impl.PHPTree
- is(Tree.Kind...) - Method in interface org.sonar.plugins.php.api.tree.Tree
- isAbstract() - Method in interface org.sonar.php.symbols.MethodSymbol
- isAbstract() - Method in class org.sonar.php.symbols.MethodSymbolData
- isAbstract() - Method in class org.sonar.php.symbols.MethodSymbolImpl
- isAbstract() - Method in class org.sonar.php.symbols.UnknownMethodSymbol
- isAbstract() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- isAbstract() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- isBracketedNamespace(NamespaceStatementTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- isCacheEnabled() - Method in class org.sonar.php.cache.CacheContextImpl
- isCacheEnabled() - Method in interface org.sonar.plugins.php.api.cache.CacheContext
- isDescendant(Tree, Tree) - Static method in class org.sonar.php.tree.TreeUtils
- isEmpty() - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- isEOF() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- isFalse() - Method in enum class org.sonar.php.symbols.Trilean
- isFinal() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- isFinal() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- isFullyQualified() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- isFullyQualified() - Method in interface org.sonar.plugins.php.api.tree.declaration.NamespaceNameTree
-
Return true if the namespace name starts with a namespace separator.
- isGlobal() - Method in class org.sonar.php.tree.symbols.Scope
- isLeaf() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- isLeaf() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- isLeaf() - Method in class org.sonar.php.tree.impl.PHPTree
- isNullSafeObjectAccess() - Method in class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- isNullSafeObjectAccess() - Method in interface org.sonar.plugins.php.api.tree.expression.MemberAccessTree
- isOrSubClassOf(QualifiedName) - Method in class org.sonar.php.symbols.AbstractClassSymbol
- isOrSubClassOf(QualifiedName) - Method in interface org.sonar.php.symbols.ClassSymbol
- isOverriding() - Method in interface org.sonar.php.symbols.MethodSymbol
- isOverriding() - Method in class org.sonar.php.symbols.MethodSymbolImpl
- isOverriding() - Method in class org.sonar.php.symbols.UnknownMethodSymbol
- isPresent() - Method in record class org.sonar.php.tree.symbols.SymbolReturnType
-
Returns the value of the
isPresent
record component. - isPresent() - Method in interface org.sonar.plugins.php.api.symbols.ReturnType
- isPropertyPromotion() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- isRead() - Method in class org.sonar.php.cfg.LiveVariablesAnalysis.VariableUsage
- isReadonly() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- isReadOnly() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- isReadOnly() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- isReadOnly() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- isReadOnly() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- ISSET - Enum constant in enum class org.sonar.php.api.PHPKeyword
- ISSET - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- isSimple() - Method in class org.sonar.php.tree.impl.declaration.CombinedTypeTreeImpl
- isSimple() - Method in class org.sonar.php.tree.impl.declaration.TypeTreeImpl
- isSimple() - Method in interface org.sonar.plugins.php.api.tree.declaration.DeclaredTypeTree
- isStatic() - Method in class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- isStatic() - Method in interface org.sonar.plugins.php.api.tree.expression.MemberAccessTree
- isSubTypeOf(QualifiedName...) - Method in class org.sonar.php.symbols.AbstractClassSymbol
- isSubTypeOf(QualifiedName...) - Method in interface org.sonar.php.symbols.ClassSymbol
- IssueLocation - Class in org.sonar.plugins.php.api.visitors
- IssueLocation(Tree, String) - Constructor for class org.sonar.plugins.php.api.visitors.IssueLocation
- IssueLocation(Tree, Tree, String) - Constructor for class org.sonar.plugins.php.api.visitors.IssueLocation
- IssueLocation(LocationInFile, String) - Constructor for class org.sonar.plugins.php.api.visitors.IssueLocation
- isTestMethod() - Method in interface org.sonar.php.symbols.MethodSymbol
- isTestMethod() - Method in class org.sonar.php.symbols.MethodSymbolData
- isTestMethod() - Method in class org.sonar.php.symbols.MethodSymbolImpl
- isTestMethod() - Method in class org.sonar.php.symbols.UnknownMethodSymbol
- isTrue() - Method in enum class org.sonar.php.symbols.Trilean
- isUnknownSymbol() - Method in class org.sonar.php.symbols.FunctionSymbolIndex.FunctionSymbolImpl
- isUnknownSymbol() - Method in interface org.sonar.php.symbols.Symbol
- isUnknownSymbol() - Method in class org.sonar.php.symbols.UnknownFunctionSymbol
- isVoid() - Method in record class org.sonar.php.tree.symbols.SymbolReturnType
-
Returns the value of the
isVoid
record component. - isVoid() - Method in interface org.sonar.plugins.php.api.symbols.ReturnType
- isWrite() - Method in class org.sonar.php.cfg.LiveVariablesAnalysis.VariableUsage
- ITERABLE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- iterator() - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- iteratorOf(T) - Static method in class org.sonar.php.utils.collections.IteratorUtils
- iteratorOf(T...) - Static method in class org.sonar.php.utils.collections.IteratorUtils
- IteratorUtils - Class in org.sonar.php.utils.collections
K
- key() - Method in class org.sonar.php.compat.PhpFileImpl
- key() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElementTreeImpl
- key() - Method in class org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- key() - Method in class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- key() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl.ForEachStatementHeader
- key() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- key() - Method in class org.sonar.plugins.php.api.tests.PhpTestFile
- key() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayAssignmentPatternElementTree
- key() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayPairTree
- key() - Method in interface org.sonar.plugins.php.api.tree.expression.YieldExpressionTree
- key() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
-
value can be:
reference variable
assignment list
or other expressions. - key() - Method in interface org.sonar.plugins.php.api.visitors.PhpFile
- KEYWORDS - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- kind() - Method in class org.sonar.php.symbols.ClassSymbolData
- kind() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- kind() - Method in interface org.sonar.plugins.php.api.symbols.Symbol
- KINDS_WITH_CONTROL_FLOW - Static variable in class org.sonar.plugins.php.api.cfg.ControlFlowGraph
L
- label() - Method in class org.sonar.php.tree.impl.statement.LabelTreeImpl
- label() - Method in interface org.sonar.plugins.php.api.tree.statement.LabelTree
- label(InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- LABEL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- LABEL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- LABEL() - Method in class org.sonar.php.parser.PHPGrammar
- LabelTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Label which is used by goto statement.
- LabelTreeImpl - Class in org.sonar.php.tree.impl.statement
- LabelTreeImpl(NameIdentifierTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.LabelTreeImpl
- lastIndexOf(Object) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- LBRACKET - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- LCURLYBRACE - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- LE - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- leaveNode(Tree) - Method in class org.sonar.plugins.php.api.visitors.PHPTreeSubscriber
- LEFT_SHIFT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- LEFT_SHIFT_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- leftOperand() - Method in class org.sonar.php.tree.impl.expression.BinaryExpressionTreeImpl
- leftOperand() - Method in interface org.sonar.plugins.php.api.tree.expression.BinaryExpressionTree
- LESS_THAN - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- LESS_THAN_OR_EQUAL_TO - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- lexical(LexerlessGrammarBuilder) - Static method in enum class org.sonar.php.parser.PHPLexicalGrammar
- LEXICAL_VARIABLE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- LEXICAL_VARIABLE() - Method in class org.sonar.php.parser.PHPGrammar
- LEXICAL_VARIABLES - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- LEXICAL_VARIABLES() - Method in class org.sonar.php.parser.PHPGrammar
- LexicalConstant - Class in org.sonar.php.parser
- lexicalVariable(Optional<InternalSyntaxToken>, VariableIdentifierTree) - Method in class org.sonar.php.parser.TreeFactory
- lexicalVariables(InternalSyntaxToken, InternalSyntaxToken, VariableTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, VariableTree>>>, Optional<InternalSyntaxToken>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- LexicalVariablesTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Lexical Variable: use construct that allows an anonymous function to inherit from parent scope variables.
- LexicalVariablesTreeImpl - Class in org.sonar.php.tree.impl.expression
- LexicalVariablesTreeImpl(InternalSyntaxToken, InternalSyntaxToken, SeparatedListImpl, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.LexicalVariablesTreeImpl
- lexicalVars() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- lexicalVars() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionExpressionTree
- line() - Method in class org.sonar.php.ini.BasePhpIniIssue
- line() - Method in interface org.sonar.php.ini.PhpIniIssue
- line() - Method in class org.sonar.php.metrics.CpdVisitor.CpdToken
- line() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- line() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- line() - Method in class org.sonar.plugins.php.api.tests.TestIssue
- line() - Method in class org.sonar.plugins.php.api.tests.TestIssue.Location
- line() - Method in interface org.sonar.plugins.php.api.tree.lexical.SyntaxToken
- line() - Method in class org.sonar.plugins.php.api.visitors.LineIssue
- line(int) - Method in class org.sonar.php.ini.BasePhpIniIssue
- line(int) - Method in interface org.sonar.php.ini.PhpIniIssue
- LINE_CONSTANT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- LINE_TERMINATOR - Static variable in class org.sonar.php.parser.LexicalConstant
-
LF, CR, LS, PS
- LINEBREAK_PATTERN - Static variable in class org.sonar.php.utils.Patterns
- LineIssue - Class in org.sonar.plugins.php.api.visitors
- LineIssue(PHPCheck, int, String) - Constructor for class org.sonar.plugins.php.api.visitors.LineIssue
- linesOfCode(Tree) - Static method in class org.sonar.php.metrics.LineVisitor
- LineVisitor - Class in org.sonar.php.metrics
- LineVisitor(CompilationUnitTree) - Constructor for class org.sonar.php.metrics.LineVisitor
- LIST - Enum constant in enum class org.sonar.php.api.PHPKeyword
- LIST_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- LIST_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- LIST_EXPRESSION_ASSIGNMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- LIST_EXPRESSION_ASSIGNMENT() - Method in class org.sonar.php.parser.PHPGrammar
- listExpression(InternalSyntaxToken, InternalSyntaxToken, Optional<ArrayAssignmentPatternElementTree>, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, Optional<ArrayAssignmentPatternElementTree>>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- listExpressionAssignment(ExpressionTree, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- ListExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
- ListExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- ListExpressionTreeImpl(InternalSyntaxToken, InternalSyntaxToken, ArrayAssignmentPatternElements, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ListExpressionTreeImpl
- listIterator() - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- listIterator(int) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- listToken() - Method in class org.sonar.php.tree.impl.expression.ListExpressionTreeImpl
- listToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ListExpressionTree
- ListUtils - Class in org.sonar.php.utils.collections
- literal() - Method in class org.sonar.php.tree.impl.expression.ExecutionOperatorTreeImpl
- literal() - Method in interface org.sonar.plugins.php.api.tree.expression.ExecutionOperatorTree
- LiteralTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Literal
- LiteralTreeImpl - Class in org.sonar.php.tree.impl.expression
- LiteralTreeImpl(Tree.Kind, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.LiteralTreeImpl
- LiteralUtils - Class in org.sonar.php.utils
- LiveVariablesAnalysis - Class in org.sonar.php.cfg
-
This class provides information about symbols which are "live" (which value will be read) at some point of the program.
- LiveVariablesAnalysis() - Constructor for class org.sonar.php.cfg.LiveVariablesAnalysis
- LiveVariablesAnalysis.LiveVariables - Class in org.sonar.php.cfg
-
Holds the information about the liveness of variables for one basic block.
- LiveVariablesAnalysis.VariableUsage - Class in org.sonar.php.cfg
- location() - Method in interface org.sonar.php.symbols.ClassSymbol
- location() - Method in class org.sonar.php.symbols.ClassSymbolData
- location() - Method in interface org.sonar.php.symbols.FunctionSymbol
- location() - Method in class org.sonar.php.symbols.FunctionSymbolData
- location() - Method in class org.sonar.php.symbols.FunctionSymbolIndex.FunctionSymbolImpl
- location() - Method in class org.sonar.php.symbols.UnknownFunctionSymbol
- LocationInFile - Interface in org.sonar.plugins.php.api.visitors
- locationInFileFor(IndexRange) - Method in class org.sonar.php.regex.PhpAnalyzerRegexSource
- LocationInFileImpl - Class in org.sonar.php.symbols
- LocationInFileImpl(String, int, int, int, int) - Constructor for class org.sonar.php.symbols.LocationInFileImpl
- log() - Method in class org.sonar.DurationStatistics
- LOGICAL_COMPLEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- longLiteralValue(String) - Static method in class org.sonar.php.utils.LiteralUtils
- LOWER_BINARY_CAST_PREFIX - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- LPARENTHESIS - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- LT - Enum constant in enum class org.sonar.php.api.PHPPunctuator
M
- MAGIC_CONSTANT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
-
LiteralTree
__CLASS__
,__FILE__
,__DIR__
,__FUNCTION__
,__LINE__
,__METHOD__
,__NAMESPACE__
,__TRAIT__
- magicConstantLiteral(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- MapBuilder<K,
V> - Class in org.sonar.php.utils.collections -
This class is used for Java < 9 to simplify the creation of maps.
- MATCH - Enum constant in enum class org.sonar.php.api.PHPKeyword
- MATCH_CLAUSE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- MATCH_CLAUSE() - Method in class org.sonar.php.parser.PHPGrammar
- MATCH_CONDITION_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- MATCH_DEFAULT_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- MATCH_EXPRESSION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- MATCH_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- MATCH_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- MatchClauseTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Starting from PHP 8.0 Match expression
- matchConditionClause(ExpressionTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>>, Optional<InternalSyntaxToken>, SyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- MatchConditionClauseTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Starting from PHP 8.0 Condition match clause in match expression (see
MatchClauseTree
). - MatchConditionClauseTreeImpl - Class in org.sonar.php.tree.impl.expression
- MatchConditionClauseTreeImpl(SeparatedList<ExpressionTree>, SyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.MatchConditionClauseTreeImpl
- matchDefaultClause(SyntaxToken, Optional<SyntaxToken>, SyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- MatchDefaultClauseTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Default match clause in match expression (see
MatchClauseTree
). - MatchDefaultClauseTreeImpl - Class in org.sonar.php.tree.impl.expression
- MatchDefaultClauseTreeImpl(SyntaxToken, Optional<SyntaxToken>, SyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.MatchDefaultClauseTreeImpl
- matchExpression(SyntaxToken, ParenthesisedExpressionTree, SyntaxToken, MatchClauseTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, MatchClauseTree>>>, Optional<InternalSyntaxToken>, SyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- MatchExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Starting from PHP 8.0 Match expression
- MatchExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- MatchExpressionTreeImpl(SyntaxToken, SyntaxToken, ExpressionTree, SyntaxToken, SyntaxToken, SeparatedList<MatchClauseTree>, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- matchToken() - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- matchToken() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchExpressionTree
- MAX_DEPTH - Static variable in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- member() - Method in class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- member() - Method in interface org.sonar.plugins.php.api.tree.expression.MemberAccessTree
- MEMBER_CONST_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- MEMBER_CONST_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
-
[ START ] Declaration
- MEMBER_EXPRESSION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- MEMBER_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- MEMBER_MODIFIER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- MEMBER_MODIFIER() - Method in class org.sonar.php.parser.PHPGrammar
- MemberAccessTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Object/Class Member Access
- MemberAccessTreeImpl - Class in org.sonar.php.tree.impl.expression
- MemberAccessTreeImpl(Tree.Kind, InternalSyntaxToken, Tree) - Constructor for class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- memberConstDeclaration(InternalSyntaxToken, Optional<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>) - Method in class org.sonar.php.parser.TreeFactory
- memberExpression(ExpressionTree, Optional<List<ExpressionTree>>) - Method in class org.sonar.php.parser.TreeFactory
- memberExpression(ExpressionTree, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- memberName(QualifiedName, String, Symbol.Kind) - Static method in class org.sonar.php.tree.symbols.QualifiedNames
- members() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- members() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- members() - Method in class org.sonar.php.tree.symbols.TypeSymbolImpl
- members() - Method in interface org.sonar.plugins.php.api.symbols.TypeSymbol
- members() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- members() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
- members() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
- members() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- MemberSymbol - Interface in org.sonar.plugins.php.api.symbols
-
Symbol for method, field or constant of
TypeSymbol
- MemberSymbolImpl - Class in org.sonar.php.tree.symbols
- merge(Collection<? extends T>...) - Static method in class org.sonar.php.utils.collections.ListUtils
- message() - Method in class org.sonar.php.ini.BasePhpIniIssue
- message() - Method in interface org.sonar.php.ini.PhpIniIssue
- message() - Method in class org.sonar.plugins.php.api.tests.TestIssue.Location
- message() - Method in class org.sonar.plugins.php.api.tests.TestIssue
- message() - Method in class org.sonar.plugins.php.api.visitors.FileIssue
- message() - Method in class org.sonar.plugins.php.api.visitors.IssueLocation
- message() - Method in class org.sonar.plugins.php.api.visitors.LineIssue
- message(String) - Method in class org.sonar.plugins.php.api.tests.TestIssue
- method() - Method in class org.sonar.php.tree.impl.declaration.TraitMethodReferenceTreeImpl
- method() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitMethodReferenceTree
- METHOD_CONSTANT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- METHOD_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- METHOD_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- METHOD_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- methodDeclaration(Optional<List<AttributeGroupTree>>, Optional<List<SyntaxToken>>, InternalSyntaxToken, Optional<InternalSyntaxToken>, NameIdentifierTree, ParameterListTree, Optional<ReturnTypeClauseTree>, Tree) - Method in class org.sonar.php.parser.TreeFactory
- MethodDeclarationTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
Class Methods
- MethodDeclarationTreeImpl - Class in org.sonar.php.tree.impl.declaration
- MethodDeclarationTreeImpl(List<AttributeGroupTree>, List<SyntaxToken>, InternalSyntaxToken, InternalSyntaxToken, NameIdentifierTree, ParameterListTree, ReturnTypeClauseTree, Tree) - Constructor for class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- methodReference() - Method in class org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
- methodReference() - Method in class org.sonar.php.tree.impl.declaration.TraitPrecedenceTreeImpl
- methodReference() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitAliasTree
- methodReference() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitPrecedenceTree
- methods() - Method in class org.sonar.php.symbols.ClassSymbolData
- MethodSymbol - Interface in org.sonar.php.symbols
- MethodSymbolData - Class in org.sonar.php.symbols
- MethodSymbolData(LocationInFile, String, List<Parameter>, FunctionSymbolData.FunctionSymbolProperties, Visibility, ReturnType) - Constructor for class org.sonar.php.symbols.MethodSymbolData
- MethodSymbolData(LocationInFile, String, List<Parameter>, FunctionSymbolData.FunctionSymbolProperties, Visibility, ReturnType, boolean, boolean) - Constructor for class org.sonar.php.symbols.MethodSymbolData
- MethodSymbolImpl - Class in org.sonar.php.symbols
- MethodSymbolImpl(MethodSymbolData, ClassSymbol) - Constructor for class org.sonar.php.symbols.MethodSymbolImpl
- MetricsVisitor - Class in org.sonar.php.metrics
- MetricsVisitor() - Constructor for class org.sonar.php.metrics.MetricsVisitor
- MINIMUM_RUNTIME_VERSION - Static variable in class org.sonar.php.cache.CacheContextImpl
- MINUS - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- MINUS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- MINUS_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- MINUS_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- MIXED - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- MOD - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- MOD_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- modifiers() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- modifiers() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- modifiers() - Method in interface org.sonar.plugins.php.api.symbols.Symbol
- modifiers() - Method in interface org.sonar.plugins.php.api.tree.declaration.MethodDeclarationTree
- modifiersToken() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- modifiersToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- modifiersToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
- modifierToken() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- modifierToken() - Method in class org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
- modifierToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
-
Deprecated, for removal: This API element is subject to removal in a future version.- Use
ClassDeclarationTree.modifiersToken()
instead. - modifierToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
-
Deprecated, for removal: This API element is subject to removal in a future version.- Use
EnumDeclarationTree.modifiersToken()
instead. - modifierToken() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitAliasTree
- modifierTokens() - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- modifierTokens() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassPropertyDeclarationTree
- MULTIPLICATIVE_EXPR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- MULTIPLICATIVE_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- MULTIPLY - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- MULTIPLY_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
N
- name() - Method in interface org.sonar.php.ini.tree.Directive
- name() - Method in interface org.sonar.php.symbols.MethodSymbol
- name() - Method in class org.sonar.php.symbols.MethodSymbolData
- name() - Method in class org.sonar.php.symbols.MethodSymbolImpl
- name() - Method in class org.sonar.php.symbols.Parameter
- name() - Method in class org.sonar.php.symbols.UnknownMethodSymbol
- name() - Method in class org.sonar.php.tree.impl.declaration.AttributeTreeImpl
- name() - Method in class org.sonar.php.tree.impl.declaration.CallArgumentTreeImpl
- name() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- name() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- name() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- name() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- name() - Method in class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- name() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- name() - Method in interface org.sonar.plugins.php.api.symbols.Symbol
- name() - Method in interface org.sonar.plugins.php.api.tree.declaration.AttributeTree
- name() - Method in interface org.sonar.plugins.php.api.tree.declaration.CallArgumentTree
- name() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- name() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
- name() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionDeclarationTree
- name() - Method in interface org.sonar.plugins.php.api.tree.declaration.MethodDeclarationTree
- name() - Method in interface org.sonar.plugins.php.api.tree.declaration.NamespaceNameTree
- name() - Method in interface org.sonar.plugins.php.api.tree.statement.EnumCaseTree
- NAME_IDENTIFIER - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- NAME_IDENTIFIER() - Method in class org.sonar.php.parser.PHPGrammar
- NAME_IDENTIFIER_OR_KEYWORD - Enum constant in enum class org.sonar.php.parser.PHPGrammarRuleKey
- NAME_IDENTIFIER_OR_KEYWORD() - Method in class org.sonar.php.parser.PHPGrammar
- NameIdentifierTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Identifier
- NameIdentifierTreeImpl - Class in org.sonar.php.tree.impl.expression
- NameIdentifierTreeImpl(InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.NameIdentifierTreeImpl
- NAMESPACE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- NAMESPACE_CONSTANT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- NAMESPACE_NAME - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- NAMESPACE_NAME - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- NAMESPACE_NAME() - Method in class org.sonar.php.parser.PHPGrammar
- NAMESPACE_NAME_WITHOUT_SINGLE_KEYWORD - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- NAMESPACE_NAME_WITHOUT_SINGLE_KEYWORD() - Method in class org.sonar.php.parser.PHPGrammar
- NAMESPACE_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- NAMESPACE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- NAMESPACE_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- namespaceName() - Method in class org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- namespaceName() - Method in class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- namespaceName() - Method in interface org.sonar.plugins.php.api.tree.statement.NamespaceStatementTree
- namespaceName() - Method in interface org.sonar.plugins.php.api.tree.statement.UseClauseTree
- namespaceName(TreeFactory.Tuple<InternalSyntaxToken, InternalSyntaxToken>, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, InternalSyntaxToken>>>) - Method in class org.sonar.php.parser.TreeFactory
- namespaceName(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- namespaceName(InternalSyntaxToken, List<TreeFactory.Tuple<InternalSyntaxToken, InternalSyntaxToken>>) - Method in class org.sonar.php.parser.TreeFactory
- NamespaceNameTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
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.
- NamespaceNameTreeImpl - Class in org.sonar.php.tree.impl.declaration
- NamespaceNameTreeImpl(SyntaxToken, SeparatedList<NameIdentifierTree>, IdentifierTree) - Constructor for class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- namespaces() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- namespaces() - Method in interface org.sonar.plugins.php.api.tree.declaration.NamespaceNameTree
- namespaceStatement(InternalSyntaxToken, NamespaceNameTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- NamespaceStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Namespace definition
- NamespaceStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- NamespaceStatementTreeImpl(InternalSyntaxToken, NamespaceNameTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- NamespaceStatementTreeImpl(InternalSyntaxToken, NamespaceNameTree, InternalSyntaxToken, List<StatementTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- namespaceToken() - Method in class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- namespaceToken() - Method in interface org.sonar.plugins.php.api.tree.statement.NamespaceStatementTree
- NEW - Enum constant in enum class org.sonar.php.api.PHPKeyword
- NEW_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- NEW_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- NEW_LINE - Static variable in class org.sonar.php.parser.LexicalConstant
-
Heredoc / Nowdoc
- NEW_OBJECT_CLASS_FIELD_ACCESS - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- NEW_OBJECT_CLASS_FIELD_ACCESS() - Method in class org.sonar.php.parser.PHPGrammar
- NEW_OBJECT_EXPRESSION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- NEW_OBJECT_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- newArrayInitBracket(InternalSyntaxToken, Optional<SeparatedListImpl<ArrayPairTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- newArrayInitFunction(InternalSyntaxToken, InternalSyntaxToken, Optional<SeparatedListImpl<ArrayPairTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- newConditionalExpr(InternalSyntaxToken, Optional<ExpressionTree>, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- newExitExpression(InternalSyntaxToken, Optional<ExpressionTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- newExpression(InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- NewExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
- NewExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- NewExpressionTreeImpl(InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.NewExpressionTreeImpl
- newFileIssue(PHPCheck, String) - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- newFileIssue(PHPCheck, String) - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
-
To add cost use
FileIssue.cost(double)
. - newIssue(String) - Static method in class org.sonar.php.ini.BasePhpIniIssue
- newIssue(PhpRegexCheck, RegexSyntaxElement, String) - Method in interface org.sonar.php.regex.RegexCheckContext
- newIssue(PhpRegexCheck, RegexSyntaxElement, String) - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- newIssue(Tree, String) - Method in interface org.sonar.plugins.php.api.visitors.PHPCheck
- newIssue(Tree, String) - Method in class org.sonar.plugins.php.api.visitors.PHPSubscriptionCheck
- newIssue(Tree, String) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- newIssue(PHPCheck, Tree, String) - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- newIssue(PHPCheck, Tree, String) - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
-
To add secondary locations and cost use
PreciseIssue.secondary(Tree, String)
andPreciseIssue.cost(double)
. - newIssue(PHPCheck, Tree, Tree, String) - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- newIssue(PHPCheck, Tree, Tree, String) - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
-
To add secondary locations and cost use
PreciseIssue.secondary(Tree, String)
andPreciseIssue.cost(double)
. - newIssue(PHPCheck, IssueLocation) - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- newIssue(PHPCheck, IssueLocation) - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
-
Report an issue with precise issue location based on lines and columns without relaying on tree elements
- newLineIssue(PHPCheck, int, String) - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- newLineIssue(PHPCheck, int, String) - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
-
To add cost use
LineIssue.cost(double)
. - newObjectExpression(ExpressionTree, Optional<List<ExpressionTree>>, Optional<FunctionCallTree>) - Method in class org.sonar.php.parser.TreeFactory
- newStaticIdentifier(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- newToken() - Method in class org.sonar.php.tree.impl.expression.NewExpressionTreeImpl
- newToken() - Method in interface org.sonar.plugins.php.api.tree.expression.NewExpressionTree
- newTuple(T, U) - Method in class org.sonar.php.parser.TreeFactory
- NEXT_IS_DOLLAR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- nextFile(InputFile) - Method in class org.sonar.php.PHPAnalyzer
- nodesToVisit() - Method in class org.sonar.php.metrics.CounterVisitor
- nodesToVisit() - Method in class org.sonar.php.metrics.MetricsVisitor
- nodesToVisit() - Method in class org.sonar.php.utils.SourceBuilder
- nodesToVisit() - Method in class org.sonar.plugins.php.api.visitors.PHPSubscriptionCheck
- nodesToVisit() - Method in class org.sonar.plugins.php.api.visitors.PHPTreeSubscriber
- NORMAL - Enum constant in enum class org.sonar.php.symbols.ClassSymbol.Kind
- noSonarLines() - Method in class org.sonar.php.metrics.CommentLineVisitor
- NOT_EQUAL_TO - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- notDefined() - Static method in record class org.sonar.php.tree.symbols.SymbolReturnType
- NOTEQUAL - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- NOTEQUAL2 - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- NOTEQUALBIS - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- NOWDOC - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- NOWDOC - Static variable in class org.sonar.php.parser.LexicalConstant
- NOWDOC_LITERAL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- NOWDOC_STRING_LITERAL() - Method in class org.sonar.php.parser.PHPGrammar
- nowdocLiteral(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- NS_SEPARATOR - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- NS_SEPARATOR_WITHOUT_SPACE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- nsSeparatorToken() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- nsSeparatorToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseStatementTree
- NULL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- NULL_COALESCE - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- NULL_COALESCING_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- NULL_COALESCING_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- NULL_COALESCING_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- NULL_COALESCING_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- NULL_LITERAL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
-
LiteralTree
null
- NULL_SAFE_ARROW - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- nullCoalescingExpr(ExpressionTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>>) - Method in class org.sonar.php.parser.TreeFactory
- nullLiteral(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- NUMERIC_LITERAL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- NUMERIC_LITERAL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
-
LiteralTree
numeric
- NUMERIC_LITERAL - Static variable in class org.sonar.php.parser.LexicalConstant
-
Numeric Literal
- NUMERIC_LITERAL() - Method in class org.sonar.php.parser.PHPGrammar
- numericLiteral(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
O
- object() - Method in class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- object() - Method in class org.sonar.php.tree.impl.expression.MemberAccessTreeImpl
- object() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayAccessTree
- object() - Method in interface org.sonar.plugins.php.api.tree.expression.MemberAccessTree
- OBJECT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- OBJECT_MEMBER_ACCESS - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- OBJECT_MEMBER_ACCESS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- OBJECT_MEMBER_ACCESS() - Method in class org.sonar.php.parser.PHPGrammar
- objectMemberAccess(InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- of(SensorContext) - Static method in class org.sonar.php.cache.CacheContextImpl
- offset() - Method in class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- offset() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayAccessTree
- openBraceToken() - Method in class org.sonar.php.tree.impl.expression.ArrayAccessTreeImpl
- openBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayAccessTree
- openBracketToken() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternTreeImpl
- openBracketToken() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerBracketTreeImpl
- openBracketToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayAssignmentPatternTree
- openBracketToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayInitializerBracketTree
- openCurlyBrace() - Method in class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- openCurlyBrace() - Method in interface org.sonar.plugins.php.api.tree.statement.NamespaceStatementTree
- openCurlyBraceToken() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- openCurlyBraceToken() - Method in class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- openCurlyBraceToken() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- openCurlyBraceToken() - Method in class org.sonar.php.tree.impl.expression.ComputedVariableTreeImpl
- openCurlyBraceToken() - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- openCurlyBraceToken() - Method in class org.sonar.php.tree.impl.statement.BlockTreeImpl
- openCurlyBraceToken() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- openCurlyBraceToken() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ComputedVariableTree
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchExpressionTree
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.statement.BlockTree
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchStatementTree
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseStatementTree
- openCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseTraitDeclarationTree
- openDollarCurlyBraceToken() - Method in class org.sonar.php.tree.impl.expression.CompoundVariableTreeImpl
- openDollarCurlyBraceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.CompoundVariableTree
- openDoubleQuoteToken() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringLiteralTreeImpl
- openDoubleQuoteToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ExpandableStringLiteralTree
- openingToken() - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl
- openingToken() - Method in interface org.sonar.plugins.php.api.tree.expression.HeredocStringLiteralTree
- openParenthesis() - Method in class org.sonar.php.tree.impl.expression.MatchExpressionTreeImpl
- openParenthesis() - Method in class org.sonar.php.tree.impl.expression.ParenthesizedExpressionTreeImpl
- openParenthesis() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchExpressionTree
- openParenthesis() - Method in interface org.sonar.plugins.php.api.tree.expression.ParenthesisedExpressionTree
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.declaration.AttributeTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.declaration.ParameterListTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.ArrayInitializerFunctionTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.CallableConvertTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.CastExpressionTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.LexicalVariablesTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.expression.ListExpressionTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl.DeclareStatementHead
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl.ForEachStatementHeader
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl.ForStatementHeader
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- openParenthesisToken() - Method in class org.sonar.php.tree.impl.statement.UnsetVariableStatementTreeImpl
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.AttributeTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterListTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayInitializerFunctionTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.CallableConvertTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.CastExpressionTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionCallTree
-
Nullable in case of internal function call with no parenthesis
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.LexicalVariablesTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ListExpressionTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.CatchBlockTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DeclareStatementTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- openParenthesisToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UnsetVariableStatementTree
- operator() - Method in class org.sonar.php.tree.impl.expression.AssignmentByReferenceTreeImpl
- operator() - Method in class org.sonar.php.tree.impl.expression.AssignmentExpressionTreeImpl
- operator() - Method in class org.sonar.php.tree.impl.expression.BinaryExpressionTreeImpl
- operator() - Method in class org.sonar.php.tree.impl.expression.PostfixExpressionTreeImpl
- operator() - Method in class org.sonar.php.tree.impl.expression.PrefixExpressionTreeImpl
- operator() - Method in interface org.sonar.plugins.php.api.tree.expression.AssignmentExpressionTree
- operator() - Method in interface org.sonar.plugins.php.api.tree.expression.BinaryExpressionTree
- operator() - Method in interface org.sonar.plugins.php.api.tree.expression.UnaryExpressionTree
- OR - Enum constant in enum class org.sonar.php.api.PHPKeyword
- OR - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- OR_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- OR_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- org.sonar - package org.sonar
- org.sonar.php - package org.sonar.php
- org.sonar.php.api - package org.sonar.php.api
- org.sonar.php.cache - package org.sonar.php.cache
- org.sonar.php.cfg - package org.sonar.php.cfg
- org.sonar.php.compat - package org.sonar.php.compat
- org.sonar.php.filters - package org.sonar.php.filters
- org.sonar.php.highlighter - package org.sonar.php.highlighter
- org.sonar.php.ini - package org.sonar.php.ini
- org.sonar.php.ini.tree - package org.sonar.php.ini.tree
- org.sonar.php.metrics - package org.sonar.php.metrics
- org.sonar.php.parser - package org.sonar.php.parser
- org.sonar.php.regex - package org.sonar.php.regex
- org.sonar.php.symbols - package org.sonar.php.symbols
- org.sonar.php.tree - package org.sonar.php.tree
- org.sonar.php.tree.impl - package org.sonar.php.tree.impl
- org.sonar.php.tree.impl.declaration - package org.sonar.php.tree.impl.declaration
- org.sonar.php.tree.impl.expression - package org.sonar.php.tree.impl.expression
- org.sonar.php.tree.impl.lexical - package org.sonar.php.tree.impl.lexical
- org.sonar.php.tree.impl.statement - package org.sonar.php.tree.impl.statement
- org.sonar.php.tree.symbols - package org.sonar.php.tree.symbols
- org.sonar.php.tree.visitors - package org.sonar.php.tree.visitors
- org.sonar.php.utils - package org.sonar.php.utils
- org.sonar.php.utils.collections - package org.sonar.php.utils.collections
- org.sonar.plugins.php.api.cache - package org.sonar.plugins.php.api.cache
- org.sonar.plugins.php.api.cfg - package org.sonar.plugins.php.api.cfg
- org.sonar.plugins.php.api.symbols - package org.sonar.plugins.php.api.symbols
- org.sonar.plugins.php.api.tests - package org.sonar.plugins.php.api.tests
- org.sonar.plugins.php.api.tree - package org.sonar.plugins.php.api.tree
- org.sonar.plugins.php.api.tree.declaration - package org.sonar.plugins.php.api.tree.declaration
- org.sonar.plugins.php.api.tree.expression - package org.sonar.plugins.php.api.tree.expression
- org.sonar.plugins.php.api.tree.lexical - package org.sonar.plugins.php.api.tree.lexical
- org.sonar.plugins.php.api.tree.statement - package org.sonar.plugins.php.api.tree.statement
- org.sonar.plugins.php.api.visitors - package org.sonar.plugins.php.api.visitors
- OROR - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- outer() - Method in class org.sonar.php.tree.symbols.Scope
- owner() - Method in interface org.sonar.php.symbols.MethodSymbol
- owner() - Method in class org.sonar.php.symbols.MethodSymbolImpl
- owner() - Method in class org.sonar.php.symbols.UnknownMethodSymbol
- owner() - Method in class org.sonar.php.tree.symbols.MemberSymbolImpl
- owner() - Method in interface org.sonar.plugins.php.api.symbols.MemberSymbol
P
- parameter(Optional<List<AttributeGroupTree>>, Optional<List<SyntaxToken>>, Optional<DeclaredTypeTree>, Optional<InternalSyntaxToken>, Optional<InternalSyntaxToken>, InternalSyntaxToken, Optional<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>) - Method in class org.sonar.php.parser.TreeFactory
- Parameter - Class in org.sonar.php.symbols
- Parameter(String, String, boolean, boolean) - Constructor for class org.sonar.php.symbols.Parameter
- PARAMETER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- PARAMETER - Enum constant in enum class org.sonar.plugins.php.api.symbols.Symbol.Kind
- PARAMETER - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- PARAMETER() - Method in class org.sonar.php.parser.PHPGrammar
- PARAMETER_LIST - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- PARAMETER_LIST - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- PARAMETER_LIST() - Method in class org.sonar.php.parser.PHPGrammar
- parameterList(InternalSyntaxToken, Optional<TreeFactory.Tuple<TreeFactory.Tuple<ParameterTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ParameterTree>>>>, Optional<InternalSyntaxToken>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ParameterListTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
Function parameters List
- ParameterListTreeImpl - Class in org.sonar.php.tree.impl.declaration
- ParameterListTreeImpl(InternalSyntaxToken, SeparatedListImpl<ParameterTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.ParameterListTreeImpl
- parameters() - Method in interface org.sonar.php.symbols.FunctionSymbol
- parameters() - Method in class org.sonar.php.symbols.FunctionSymbolData
- parameters() - Method in class org.sonar.php.symbols.FunctionSymbolIndex.FunctionSymbolImpl
- parameters() - Method in class org.sonar.php.symbols.UnknownFunctionSymbol
- parameters() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- parameters() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- parameters() - Method in class org.sonar.php.tree.impl.declaration.ParameterListTreeImpl
- parameters() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- parameters() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- parameters() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionDeclarationTree
- parameters() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionTree
- parameters() - Method in interface org.sonar.plugins.php.api.tree.declaration.MethodDeclarationTree
- parameters() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterListTree
- parameters() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrowFunctionExpressionTree
- parameters() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionExpressionTree
- ParameterTree - Interface in org.sonar.plugins.php.api.tree.declaration
- ParameterTreeImpl - Class in org.sonar.php.tree.impl.declaration
- ParameterTreeImpl(List<AttributeGroupTree>, List<SyntaxToken>, DeclaredTypeTree, InternalSyntaxToken, InternalSyntaxToken, VariableIdentifierTree, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- PARENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- PARENTHESISED_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- ParenthesisedExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
-
Parenthesised Expression
- PARENTHESIZED_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- parenthesizedExpression(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ParenthesizedExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- ParenthesizedExpressionTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.ParenthesizedExpressionTreeImpl
- parse(File) - Method in class org.sonar.php.parser.PHPParser
- parse(String) - Method in class org.sonar.php.ini.PhpIniParser
- parse(String) - Method in class org.sonar.php.parser.PHPParser
- parse(PhpFile) - Method in class org.sonar.php.ini.PhpIniParser
- parseExpectedIssues(PhpFile, CompilationUnitTree) - Static method in class org.sonar.php.utils.ExpectedIssuesParser
- pathOf(PhpFile) - Static method in class org.sonar.php.tree.symbols.DeclarationVisitor
-
Provide the path of the file from the URI in case the PhpFile is located on the local filesystem
- Patterns - Class in org.sonar.php.utils
- PHP_CLOSING_TAG - Static variable in class org.sonar.php.parser.LexicalConstant
- PHP_END_TAG - Static variable in class org.sonar.php.parser.LexicalConstant
- PHP_OPENING_TAG - Static variable in class org.sonar.php.parser.LexicalConstant
-
PHP TAGS & INLINE HTML
- PHP_START_TAG - Static variable in class org.sonar.php.parser.LexicalConstant
- PHP5_CONSTRUCTOR_NAME - Static variable in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
-
PHP 5 introduce a new way to declare constructors: by defining a method named "__construct".
- PHPAnalyzer - Class in org.sonar.php
- PHPAnalyzer(List<PHPCheck>, List<PHPCheck>, File, ProjectSymbolData, DurationStatistics, CacheContext, SuppressWarningFilter, boolean) - Constructor for class org.sonar.php.PHPAnalyzer
- PhpAnalyzerRegexSource - Class in org.sonar.php.regex
- PhpAnalyzerRegexSource(LiteralTree) - Constructor for class org.sonar.php.regex.PhpAnalyzerRegexSource
- PHPCheck - Interface in org.sonar.plugins.php.api.visitors
-
Marker interface for all PHP checks.
- PHPCheckContext - Class in org.sonar.php.tree.visitors
- PHPCheckContext(PhpFile, CompilationUnitTree, File) - Constructor for class org.sonar.php.tree.visitors.PHPCheckContext
- PHPCheckContext(PhpFile, CompilationUnitTree, File, SymbolTable) - Constructor for class org.sonar.php.tree.visitors.PHPCheckContext
- PHPCheckContext(PhpInputFileContext, CompilationUnitTree, SymbolTable) - Constructor for class org.sonar.php.tree.visitors.PHPCheckContext
- PHPCheckTest - Class in org.sonar.plugins.php.api.tests
-
Helper class for checks unit test.
- PHPCheckVerifier - Class in org.sonar.plugins.php.api.tests
- PHPCheckVerifier(boolean, boolean) - Constructor for class org.sonar.plugins.php.api.tests.PHPCheckVerifier
-
Internal use only.
- PHPCustomRuleRepository - Interface in org.sonar.plugins.php.api.visitors
-
Extension point to create a custom rule repository for PHP.
- phpFile() - Method in record class org.sonar.plugins.php.api.visitors.PhpInputFileContext
-
Returns the value of the
phpFile
record component. - PhpFile - Interface in org.sonar.plugins.php.api.visitors
-
Class representing a file being analysed by our PHP analyzer.
- PhpFileImpl - Class in org.sonar.php.compat
- PHPGrammar - Class in org.sonar.php.parser
- PHPGrammar(GrammarBuilder<InternalSyntaxToken>, TreeFactory) - Constructor for class org.sonar.php.parser.PHPGrammar
- PHPGrammarRuleKey - Enum Class in org.sonar.php.parser
- PhpIniCheck - Interface in org.sonar.php.ini
- PhpIniFile - Interface in org.sonar.php.ini.tree
- PhpIniIssue - Interface in org.sonar.php.ini
- PhpIniParser - Class in org.sonar.php.ini
- PhpIniParser() - Constructor for class org.sonar.php.ini.PhpIniParser
- PhpInputFileContext - Record Class in org.sonar.plugins.php.api.visitors
- PhpInputFileContext(PhpFile, File, CacheContext) - Constructor for record class org.sonar.plugins.php.api.visitors.PhpInputFileContext
-
Creates an instance of a
PhpInputFileContext
record class. - PhpIssue - Interface in org.sonar.plugins.php.api.visitors
-
This interface is used to represent issue created by checks before feeding them to SonarQube.
- PHPIssueFilter - Interface in org.sonar.php.filters
- PHPKeyword - Enum Class in org.sonar.php.api
- PHPLexicalGrammar - Enum Class in org.sonar.php.parser
- PHPNodeBuilder - Class in org.sonar.php.parser
- PHPNodeBuilder() - Constructor for class org.sonar.php.parser.PHPNodeBuilder
- PHPNodeBuilder(int) - Constructor for class org.sonar.php.parser.PHPNodeBuilder
- PHPParser - Class in org.sonar.php.parser
- PHPParser(GrammarRuleKey, int) - Constructor for class org.sonar.php.parser.PHPParser
- PHPParserBuilder - Class in org.sonar.php.parser
- PHPPunctuator - Enum Class in org.sonar.php.api
- PhpReadCache - Interface in org.sonar.plugins.php.api.cache
- PhpReadCacheImpl - Class in org.sonar.php.cache
- PhpReadCacheImpl(ReadCache) - Constructor for class org.sonar.php.cache.PhpReadCacheImpl
- PhpRegexCheck - Interface in org.sonar.php.regex
- PhpRegexCheck.PhpRegexIssueLocation - Class in org.sonar.php.regex
- PhpRegexIssueLocation(RegexSyntaxElement, String) - Constructor for class org.sonar.php.regex.PhpRegexCheck.PhpRegexIssueLocation
- PhpRegexIssueLocation(RegexIssueLocation) - Constructor for class org.sonar.php.regex.PhpRegexCheck.PhpRegexIssueLocation
- PhpRegexUtils - Class in org.sonar.php.regex
- PHPSubscriptionCheck - Class in org.sonar.plugins.php.api.visitors
- PHPSubscriptionCheck() - Constructor for class org.sonar.plugins.php.api.visitors.PHPSubscriptionCheck
- PhpTestFile - Class in org.sonar.plugins.php.api.tests
- PhpTestFile(File) - Constructor for class org.sonar.plugins.php.api.tests.PhpTestFile
- PHPTokenType - Enum Class in org.sonar.php.parser
- PHPTree - Class in org.sonar.php.tree.impl
- PHPTree() - Constructor for class org.sonar.php.tree.impl.PHPTree
- PHPTreeSubscriber - Class in org.sonar.plugins.php.api.visitors
- PHPTreeSubscriber() - Constructor for class org.sonar.plugins.php.api.visitors.PHPTreeSubscriber
- PHPVisitorCheck - Class in org.sonar.plugins.php.api.visitors
- PHPVisitorCheck() - Constructor for class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- PhpWriteCache - Interface in org.sonar.plugins.php.api.cache
- PhpWriteCacheImpl - Class in org.sonar.php.cache
- PhpWriteCacheImpl(WriteCache) - Constructor for class org.sonar.php.cache.PhpWriteCacheImpl
- pluginVersion() - Method in class org.sonar.php.cache.CacheContextImpl
- pluginVersion() - Method in class org.sonar.php.cache.CpdDeserializationInput
- pluginVersion() - Method in class org.sonar.php.cache.CpdSerializationInput
- pluginVersion() - Method in class org.sonar.php.cache.SymbolTableDeserializationInput
- pluginVersion() - Method in class org.sonar.php.cache.SymbolTableSerializationInput
- pluginVersion() - Method in interface org.sonar.plugins.php.api.cache.CacheContext
- PLUS - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- PLUS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- PLUS_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- PLUS_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- POSTFIX_DECREMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- POSTFIX_EXPR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- POSTFIX_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- POSTFIX_INCREMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- postfixExpression(ExpressionTree, Optional<Object>) - Method in class org.sonar.php.parser.TreeFactory
- PostfixExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- PostfixExpressionTreeImpl(Tree.Kind, ExpressionTree, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.expression.PostfixExpressionTreeImpl
- POWER - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- POWER_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- POWER_EXPR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- POWER_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- powerExpr(ExpressionTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>>) - Method in class org.sonar.php.parser.TreeFactory
- PreciseIssue - Class in org.sonar.plugins.php.api.visitors
- PreciseIssue(PHPCheck, IssueLocation) - Constructor for class org.sonar.plugins.php.api.visitors.PreciseIssue
- predecessors() - Method in interface org.sonar.plugins.php.api.cfg.CfgBlock
- prefix() - Method in class org.sonar.php.tree.impl.expression.PrefixedCastExpressionTreeImpl
- prefix() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- prefix() - Method in interface org.sonar.plugins.php.api.tree.expression.PrefixedCastExpressionTree
- prefix() - Method in interface org.sonar.plugins.php.api.tree.statement.UseStatementTree
- PREFIX_DECREMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- PREFIX_INCREMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- PREFIXED_BINARY_CAST() - Method in class org.sonar.php.parser.PHPGrammar
- PREFIXED_CAST_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- prefixedCastExpression(InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- PrefixedCastExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
- PrefixedCastExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- PrefixedCastExpressionTreeImpl(InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.PrefixedCastExpressionTreeImpl
- prefixExpr(Optional<List<InternalSyntaxToken>>, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- PrefixExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- PrefixExpressionTreeImpl(Tree.Kind, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.PrefixExpressionTreeImpl
- PRIMARY_EXPRESSION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
-
Expression
- PRIMARY_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- primaryLocation() - Method in class org.sonar.plugins.php.api.visitors.PreciseIssue
- PRINT - Enum constant in enum class org.sonar.php.api.PHPKeyword
- PRINT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- PRIVATE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- PRIVATE - Enum constant in enum class org.sonar.php.symbols.Visibility
- ProjectSymbolData - Class in org.sonar.php.symbols
-
Instances of this class should never hold references to an AST node: we want to have a low memory usage for the analysis of a project and an AST node basically keeps references to the whole AST of a file.
- ProjectSymbolData() - Constructor for class org.sonar.php.symbols.ProjectSymbolData
- projectSymbolDataBytes() - Method in class org.sonar.php.cache.SymbolTableDeserializationInput
- properties() - Method in class org.sonar.php.symbols.FunctionSymbolData
- PROTECTED - Enum constant in enum class org.sonar.php.api.PHPKeyword
- PROTECTED - Enum constant in enum class org.sonar.php.symbols.Visibility
- PUBLIC - Enum constant in enum class org.sonar.php.api.PHPKeyword
- PUBLIC - Enum constant in enum class org.sonar.php.symbols.Visibility
- put(K, V) - Method in class org.sonar.php.utils.collections.MapBuilder
Q
- qualifiedName() - Method in interface org.sonar.php.symbols.ClassSymbol
- qualifiedName() - Method in class org.sonar.php.symbols.ClassSymbolData
- qualifiedName() - Method in interface org.sonar.php.symbols.FunctionSymbol
- qualifiedName() - Method in class org.sonar.php.symbols.FunctionSymbolData
- qualifiedName() - Method in class org.sonar.php.symbols.FunctionSymbolIndex.FunctionSymbolImpl
- qualifiedName() - Method in class org.sonar.php.symbols.MethodSymbolImpl
- qualifiedName() - Method in class org.sonar.php.symbols.UnknownFunctionSymbol
- qualifiedName() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- qualifiedName() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- qualifiedName() - Method in interface org.sonar.plugins.php.api.symbols.Symbol
- qualifiedName() - Method in interface org.sonar.plugins.php.api.tree.declaration.NamespaceNameTree
-
Return the qualified form of the namespaced name, with the namespaces and separators if present, only the name otherwise.
- qualifiedName(String) - Static method in class org.sonar.php.tree.symbols.SymbolQualifiedName
-
Utility method to conveniently create SymbolQualifiedName objects with PHP namespace notation.
- qualifiedName(String) - Static method in interface org.sonar.plugins.php.api.symbols.QualifiedName
- QualifiedName - Interface in org.sonar.plugins.php.api.symbols
-
Represents fully qualified name of the symbol, like
namespace\foo\bar
. - QualifiedNames - Class in org.sonar.php.tree.symbols
- QUERY - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- queryToken() - Method in class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- queryToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ConditionalExpressionTree
- questionMarkToken() - Method in class org.sonar.php.tree.impl.declaration.TypeTreeImpl
- questionMarkToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.TypeTree
-
Optional leading
?
token, as in?int
, to mark the object (parameter, returned value) as optional.
R
- RBRACKET - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- RCURLYBRACE - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- read(String) - Method in class org.sonar.php.cache.PhpReadCacheImpl
- read(String) - Method in interface org.sonar.plugins.php.api.cache.PhpReadCache
-
Returns an input stream for the data cached with the provided
key
. - read(InputFile) - Method in class org.sonar.php.cache.Cache
- readBoolean() - Method in class org.sonar.php.cache.VarLengthInputStream
- readByte() - Method in class org.sonar.php.cache.VarLengthInputStream
- readBytes(String) - Method in class org.sonar.php.cache.PhpReadCacheImpl
- readBytes(String) - Method in interface org.sonar.plugins.php.api.cache.PhpReadCache
- readFileContentHash(InputFile) - Method in class org.sonar.php.cache.Cache
- readInt() - Method in class org.sonar.php.cache.VarLengthInputStream
- READONLY - Enum constant in enum class org.sonar.php.api.PHPKeyword
- readonlyToken() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- readonlyToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- readUTF() - Method in class org.sonar.php.cache.VarLengthInputStream
- REAL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- REFERENCE_VARIABLE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- REFERENCE_VARIABLE() - Method in class org.sonar.php.parser.PHPGrammar
- referenceToken() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- referenceToken() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- referenceToken() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- referenceToken() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- referenceToken() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- referenceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionDeclarationTree
- referenceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionTree
- referenceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.MethodDeclarationTree
- referenceToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- referenceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrowFunctionExpressionTree
- referenceToken() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionExpressionTree
- referenceVariable(InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- ReferenceVariableTree - Interface in org.sonar.plugins.php.api.tree.expression
- ReferenceVariableTreeImpl - Class in org.sonar.php.tree.impl.expression
- ReferenceVariableTreeImpl(InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.ReferenceVariableTreeImpl
- RegexCache - Class in org.sonar.php.regex
- RegexCache() - Constructor for class org.sonar.php.regex.RegexCache
- RegexCheckContext - Interface in org.sonar.php.regex
- regexForLiteral(FlagSet, LiteralTree) - Method in interface org.sonar.php.regex.RegexCheckContext
- regexForLiteral(FlagSet, LiteralTree) - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- REGULAR_STRING_LITERAL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- REGULAR_STRING_LITERAL - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
-
LiteralTree
string
- REGULAR_VAR_IDENTIFIER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- regularStringLiteral(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- RELATIONAL_EXPR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- RELATIONAL_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- REMAINDER - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- REMAINDER_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- remove(int) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- remove(Object) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- removeAll(Collection<?>) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- repositoryKey() - Method in interface org.sonar.plugins.php.api.visitors.PHPCustomRuleRepository
-
Key of the custom rule repository.
- REQUIRE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- REQUIRE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- REQUIRE_ONCE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- REQUIRE_ONCE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- reset() - Method in class org.sonar.php.filters.SuppressWarningFilter
- retainAll(Collection<?>) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- RETURN - Enum constant in enum class org.sonar.php.api.PHPKeyword
- RETURN_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- RETURN_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- RETURN_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- RETURN_TYPE_CLAUSE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- RETURN_TYPE_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- RETURN_TYPE_CLAUSE() - Method in class org.sonar.php.parser.PHPGrammar
- returnStatement(InternalSyntaxToken, Optional<ExpressionTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ReturnStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- ReturnStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- ReturnStatementTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.ReturnStatementTreeImpl
- returnToken() - Method in class org.sonar.php.tree.impl.statement.ReturnStatementTreeImpl
- returnToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ReturnStatementTree
- returnType() - Method in interface org.sonar.php.symbols.FunctionSymbol
- returnType() - Method in class org.sonar.php.symbols.FunctionSymbolData
- returnType() - Method in class org.sonar.php.symbols.FunctionSymbolIndex.FunctionSymbolImpl
- returnType() - Method in class org.sonar.php.symbols.UnknownFunctionSymbol
- ReturnType - Interface in org.sonar.plugins.php.api.symbols
-
Represent details about the declared return type of function and method.
- returnTypeClause() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- returnTypeClause() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- returnTypeClause() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- returnTypeClause() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- returnTypeClause() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionDeclarationTree
- returnTypeClause() - Method in interface org.sonar.plugins.php.api.tree.declaration.FunctionTree
- returnTypeClause() - Method in interface org.sonar.plugins.php.api.tree.declaration.MethodDeclarationTree
- returnTypeClause() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrowFunctionExpressionTree
- returnTypeClause() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionExpressionTree
- returnTypeClause(InternalSyntaxToken, DeclaredTypeTree) - Method in class org.sonar.php.parser.TreeFactory
- ReturnTypeClauseTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
ReturnTypeClauseTree is an optional element of function declaration
- ReturnTypeClauseTreeImpl - Class in org.sonar.php.tree.impl.declaration
- ReturnTypeClauseTreeImpl(InternalSyntaxToken, DeclaredTypeTree) - Constructor for class org.sonar.php.tree.impl.declaration.ReturnTypeClauseTreeImpl
- reverse(List<T>) - Static method in class org.sonar.php.utils.collections.ListUtils
- RIGHT_SHIFT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- RIGHT_SHIFT_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- rightOperand() - Method in class org.sonar.php.tree.impl.expression.BinaryExpressionTreeImpl
- rightOperand() - Method in interface org.sonar.plugins.php.api.tree.expression.BinaryExpressionTree
- RPARENTHESIS - Enum constant in enum class org.sonar.php.api.PHPPunctuator
S
- scan(List<T>) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- scan(Tree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- scanTree(Tree) - Method in class org.sonar.plugins.php.api.visitors.PHPTreeSubscriber
- scanWithoutParsing(PhpInputFileContext) - Method in class org.sonar.php.metrics.CpdVisitor
- scanWithoutParsing(PhpInputFileContext) - Method in interface org.sonar.plugins.php.api.visitors.PHPCheck
- scope() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- Scope - Class in org.sonar.php.tree.symbols
- Scope(Scope, Tree, boolean) - Constructor for class org.sonar.php.tree.symbols.Scope
- Scope(CompilationUnitTree) - Constructor for class org.sonar.php.tree.symbols.Scope
-
Used for global scope
- script() - Method in class org.sonar.php.tree.impl.CompilationUnitTreeImpl
- script() - Method in interface org.sonar.plugins.php.api.tree.CompilationUnitTree
- script(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- script(InternalSyntaxToken, Optional<List<StatementTree>>) - Method in class org.sonar.php.parser.TreeFactory
- SCRIPT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- SCRIPT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- SCRIPT() - Method in class org.sonar.php.parser.PHPGrammar
- ScriptTree - Interface in org.sonar.plugins.php.api.tree
-
PHP Script
- ScriptTreeImpl - Class in org.sonar.php.tree.impl
- ScriptTreeImpl(InternalSyntaxToken, List<StatementTree>) - Constructor for class org.sonar.php.tree.impl.ScriptTreeImpl
- second() - Method in class org.sonar.php.parser.TreeFactory.Tuple
- secondary(Integer...) - Method in class org.sonar.plugins.php.api.tests.TestIssue
- secondary(List<Integer>) - Method in class org.sonar.plugins.php.api.tests.TestIssue
- secondary(Tree, String) - Method in class org.sonar.plugins.php.api.visitors.PreciseIssue
- secondary(Tree, Tree, String) - Method in class org.sonar.plugins.php.api.visitors.PreciseIssue
- secondary(IssueLocation) - Method in class org.sonar.plugins.php.api.visitors.PreciseIssue
- secondary(LocationInFile, String) - Method in class org.sonar.plugins.php.api.visitors.PreciseIssue
- secondaryLocations() - Method in class org.sonar.plugins.php.api.tests.TestIssue
- secondaryLocations() - Method in class org.sonar.plugins.php.api.visitors.PreciseIssue
- secondSemicolonToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl.ForStatementHeader
- secondSemicolonToken() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- secondSemicolonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- SELF - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- SEMI_COMPLEX_ENCAPS_VARIABLE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- SEMI_COMPLEX_RECOVERY_EXPRESSION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- SEMICOLON - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- semicolonToken() - Method in class org.sonar.php.tree.impl.statement.EmptyStatementImpl
- semicolonToken() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- semicolonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.EmptyStatementTree
- semicolonToken() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchStatementTree
- SeparatedList<T extends Tree> - Interface in org.sonar.plugins.php.api.tree
- SeparatedListImpl<T extends Tree> - Class in org.sonar.php.tree.impl
- SeparatedListImpl(List<T>, List<SyntaxToken>) - Constructor for class org.sonar.php.tree.impl.SeparatedListImpl
- separator() - Method in class org.sonar.php.tree.impl.declaration.CallArgumentTreeImpl
- separator() - Method in interface org.sonar.plugins.php.api.tree.declaration.CallArgumentTree
- separators() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElements
- separators() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternTreeImpl
- separators() - Method in class org.sonar.php.tree.impl.expression.ListExpressionTreeImpl
- separators() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayDestructuringTree
- SerializationResult - Class in org.sonar.php.cache
- SerializationResult(byte[], byte[]) - Constructor for class org.sonar.php.cache.SerializationResult
- set(int, T) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- setClassNumber(int) - Method in class org.sonar.php.metrics.FileMeasures
- setCommentLinesNumber(int) - Method in class org.sonar.php.metrics.FileMeasures
- setFileCognitiveComplexity(int) - Method in class org.sonar.php.metrics.FileMeasures
- setFileComplexity(int) - Method in class org.sonar.php.metrics.FileMeasures
- setFunctionNumber(int) - Method in class org.sonar.php.metrics.FileMeasures
- setLinesOfCodeNumber(int) - Method in class org.sonar.php.metrics.FileMeasures
- setParent(Tree) - Method in class org.sonar.php.tree.impl.PHPTree
- setStatementNumber(int) - Method in class org.sonar.php.metrics.FileMeasures
- setSymbol(ClassSymbol) - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- setSymbol(ClassSymbol) - Method in class org.sonar.php.tree.impl.declaration.ClassNamespaceNameTreeImpl
- setSymbol(ClassSymbol) - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- setSymbol(ClassSymbol) - Method in interface org.sonar.php.tree.symbols.HasClassSymbol
- setSymbol(FunctionSymbol) - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- setSymbol(FunctionSymbol) - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- setSymbol(FunctionSymbol) - Method in interface org.sonar.php.tree.symbols.HasFunctionSymbol
- setSymbol(MethodSymbol) - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- setSymbol(MethodSymbol) - Method in interface org.sonar.php.tree.symbols.HasMethodSymbol
- setSymbol(SymbolImpl) - Method in class org.sonar.php.tree.impl.VariableIdentifierTreeImpl
- SetUtils - Class in org.sonar.php.utils.collections
- ShallowComplexityVisitor(Tree) - Constructor for class org.sonar.php.metrics.ComplexityVisitor.ShallowComplexityVisitor
- SHIFT_EXPR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- SHIFT_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- shortDeclareStatement(DeclareStatementTreeImpl.DeclareStatementHead, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- SIMPLE_ENCAPS_VARIABLE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- simpleName() - Method in class org.sonar.php.tree.symbols.SymbolQualifiedName
- simpleName() - Method in interface org.sonar.plugins.php.api.symbols.QualifiedName
- singleToken(SyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- size() - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- SL - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- SL_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- SourceBuilder - Class in org.sonar.php.utils
- SourceBuilder() - Constructor for class org.sonar.php.utils.SourceBuilder
- SPACESHIP - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- SPACING - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
-
SPACING
- SPECIAL_CALL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- SPECIAL_CALL() - Method in class org.sonar.php.parser.PHPGrammar
- SPREAD_ARGUMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- SPREAD_ARGUMENT() - Method in class org.sonar.php.parser.PHPGrammar
- spreadArgument(InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- SpreadArgumentTree - Interface in org.sonar.plugins.php.api.tree.expression
- SpreadArgumentTreeImpl - Class in org.sonar.php.tree.impl.expression
- SpreadArgumentTreeImpl(InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.SpreadArgumentTreeImpl
- SR - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- SR_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- STANDARD_IF_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- STANDARD_IF_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- STAR - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- STAR_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- STAR_STAR - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- STAR_STAR_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- start() - Method in class org.sonar.plugins.php.api.cfg.ControlFlowGraph
- startColumn() - Method in class org.sonar.plugins.php.api.tests.TestIssue.Location
- startColumn() - Method in class org.sonar.plugins.php.api.tests.TestIssue
- startColumn(int) - Method in class org.sonar.plugins.php.api.tests.TestIssue
- startIndex() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- startLine() - Method in class org.sonar.php.symbols.LocationInFileImpl
- startLine() - Method in enum class org.sonar.php.symbols.UnknownLocationInFile
- startLine() - Method in class org.sonar.plugins.php.api.visitors.IssueLocation
- startLine() - Method in interface org.sonar.plugins.php.api.visitors.LocationInFile
- startLineOffset() - Method in class org.sonar.php.symbols.LocationInFileImpl
- startLineOffset() - Method in enum class org.sonar.php.symbols.UnknownLocationInFile
- startLineOffset() - Method in class org.sonar.plugins.php.api.visitors.IssueLocation
- startLineOffset() - Method in interface org.sonar.plugins.php.api.visitors.LocationInFile
- startToken() - Method in class org.sonar.php.tree.impl.declaration.AttributeGroupTreeImpl
- startToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.AttributeGroupTree
- statement() - Method in class org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
- statement() - Method in interface org.sonar.plugins.php.api.tree.statement.DoWhileStatementTree
- STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- statements() - Method in class org.sonar.php.tree.impl.ScriptTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.BlockTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.CaseClauseTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.DeclareStatementTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.DefaultClauseTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.ElseClauseTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.ElseifClauseTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.IfStatementTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.NamespaceStatementTreeImpl
- statements() - Method in class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- statements() - Method in interface org.sonar.plugins.php.api.tree.ScriptTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.BlockTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.CaseClauseTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.DeclareStatementTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.DefaultClauseTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.ElseClauseTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.ElseifClauseTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.IfStatementTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.NamespaceStatementTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchCaseClauseTree
- statements() - Method in interface org.sonar.plugins.php.api.tree.statement.WhileStatementTree
- StatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Parent interface for all the trees representing statements (e.g.
- STATIC - Enum constant in enum class org.sonar.php.api.PHPKeyword
- STATIC_SCALAR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- STATIC_SCALAR() - Method in class org.sonar.php.parser.PHPGrammar
- STATIC_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- STATIC_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- STATIC_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- STATIC_VAR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- STATIC_VAR() - Method in class org.sonar.php.parser.PHPGrammar
- staticStatement(InternalSyntaxToken, VariableDeclarationTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, VariableDeclarationTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- StaticStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Static variable declaration
- StaticStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- StaticStatementTreeImpl(InternalSyntaxToken, SeparatedListImpl<VariableDeclarationTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.StaticStatementTreeImpl
- staticToken() - Method in class org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- staticToken() - Method in class org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- staticToken() - Method in class org.sonar.php.tree.impl.statement.StaticStatementTreeImpl
- staticToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrowFunctionExpressionTree
- staticToken() - Method in interface org.sonar.plugins.php.api.tree.expression.FunctionExpressionTree
- staticToken() - Method in interface org.sonar.plugins.php.api.tree.statement.StaticStatementTree
- staticVar(InternalSyntaxToken, Optional<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>) - Method in class org.sonar.php.parser.TreeFactory
- STRICT_EQUAL_TO - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- STRICT_NOT_EQUAL_TO - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- STRING - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- STRING_CHARACTERS_EXECUTION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- STRING_CHARACTERS_EXECUTION - Static variable in class org.sonar.php.parser.LexicalConstant
- STRING_CHARACTERS_EXECUTION() - Method in class org.sonar.php.parser.PHPGrammar
- STRING_LITERAL - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- STRING_LITERAL - Static variable in class org.sonar.php.parser.LexicalConstant
-
String
- STRING_LITERAL() - Method in class org.sonar.php.parser.PHPGrammar
- STRING_TABLE_CACHE_PREFIX - Static variable in class org.sonar.php.cache.Cache
- STRING_WITH_ENCAPS_VAR_CHARACTERS - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- STRING_WITH_ENCAPS_VAR_CHARACTERS - Static variable in class org.sonar.php.parser.LexicalConstant
- stringLiteral(ExpressionTree, Optional<ArrayAccessTree>) - Method in class org.sonar.php.parser.TreeFactory
- strings() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringLiteralTreeImpl
- strings() - Method in class org.sonar.php.tree.impl.expression.HeredocStringLiteralTreeImpl
- strings() - Method in interface org.sonar.plugins.php.api.tree.expression.ExpandableStringLiteralTree
- strings() - Method in interface org.sonar.plugins.php.api.tree.expression.HeredocStringLiteralTree
- stringTable() - Method in class org.sonar.php.cache.CpdDeserializationInput
- stringTable() - Method in class org.sonar.php.cache.SerializationResult
- stringTable() - Method in class org.sonar.php.cache.SymbolTableDeserializationInput
- StringTable - Class in org.sonar.php.cache
- StringTable() - Constructor for class org.sonar.php.cache.StringTable
- StringTable(List<String>) - Constructor for class org.sonar.php.cache.StringTable
- subList(int, int) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- successors() - Method in interface org.sonar.plugins.php.api.cfg.CfgBlock
- superClass() - Method in interface org.sonar.php.symbols.ClassSymbol
- superClass() - Method in class org.sonar.php.symbols.ClassSymbolData
- superClass() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- superClass() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- superClass() - Method in class org.sonar.php.tree.symbols.TypeSymbolImpl
- superClass() - Method in interface org.sonar.plugins.php.api.symbols.TypeSymbol
- superClass() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- superClass() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
- superClass() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- superInterfaces() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- superInterfaces() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- superInterfaces() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
- superInterfaces() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassTree
- superInterfaces() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
- superInterfaces() - Method in interface org.sonar.plugins.php.api.tree.expression.AnonymousClassTree
- SuppressWarningFilter - Class in org.sonar.php.filters
- SuppressWarningFilter() - Constructor for class org.sonar.php.filters.SuppressWarningFilter
- SWITCH - Enum constant in enum class org.sonar.php.api.PHPKeyword
- SWITCH_CASE_CLAUSE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- SWITCH_CASE_CLAUSE() - Method in class org.sonar.php.parser.PHPGrammar
- SWITCH_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- SWITCH_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- SWITCH_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- SwitchCaseClauseTree - Interface in org.sonar.plugins.php.api.tree.statement
-
General interface for switch clauses.
- switchStatement(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, Optional<InternalSyntaxToken>, Optional<List<SwitchCaseClauseTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- SwitchStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- SwitchStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- SwitchStatementTreeImpl(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, InternalSyntaxToken, List<SwitchCaseClauseTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- SwitchStatementTreeImpl(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, InternalSyntaxToken, List<SwitchCaseClauseTree>, InternalSyntaxToken, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- switchToken() - Method in class org.sonar.php.tree.impl.statement.SwitchStatementTreeImpl
- switchToken() - Method in interface org.sonar.plugins.php.api.tree.statement.SwitchStatementTree
- symbol() - Method in class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
- symbol() - Method in class org.sonar.php.tree.impl.declaration.ClassNamespaceNameTreeImpl
- symbol() - Method in class org.sonar.php.tree.impl.declaration.FunctionDeclarationTreeImpl
- symbol() - Method in class org.sonar.php.tree.impl.declaration.MethodDeclarationTreeImpl
- symbol() - Method in class org.sonar.php.tree.impl.expression.AnonymousClassTreeImpl
- symbol() - Method in class org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- symbol() - Method in class org.sonar.php.tree.impl.VariableIdentifierTreeImpl
- symbol() - Method in interface org.sonar.php.tree.symbols.HasClassSymbol
- symbol() - Method in interface org.sonar.php.tree.symbols.HasFunctionSymbol
- symbol() - Method in interface org.sonar.php.tree.symbols.HasMethodSymbol
- Symbol - Interface in org.sonar.php.symbols
- Symbol - Interface in org.sonar.plugins.php.api.symbols
- Symbol.Kind - Enum Class in org.sonar.plugins.php.api.symbols
- SymbolHighlighter - Class in org.sonar.php.highlighter
- SymbolImpl - Class in org.sonar.php.tree.symbols
- SymbolQualifiedName - Class in org.sonar.php.tree.symbols
- SymbolReturnType - Record Class in org.sonar.php.tree.symbols
- SymbolReturnType(boolean, boolean) - Constructor for record class org.sonar.php.tree.symbols.SymbolReturnType
-
Creates an instance of a
SymbolReturnType
record class. - symbols - Variable in class org.sonar.php.tree.symbols.Scope
- Symbols - Class in org.sonar.php.symbols
-
Utility class to retrieve symbols from the AST.
- symbolTable - Variable in class org.sonar.php.tree.symbols.DeclarationVisitor
- symbolTable() - Method in class org.sonar.php.cache.SymbolTableSerializationInput
- symbolTable() - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- symbolTable() - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
- SymbolTable - Interface in org.sonar.plugins.php.api.symbols
- SymbolTable.Framework - Enum Class in org.sonar.plugins.php.api.symbols
-
Some specific PHP frameworks can be detected by the plugin.
- SymbolTableDeserializationInput - Class in org.sonar.php.cache
- SymbolTableDeserializationInput(byte[], byte[], String) - Constructor for class org.sonar.php.cache.SymbolTableDeserializationInput
- SymbolTableDeserializer - Class in org.sonar.php.cache
- SymbolTableImpl - Class in org.sonar.php.tree.symbols
- SymbolTableSerializationInput - Class in org.sonar.php.cache
- SymbolTableSerializationInput(SymbolTableImpl, String) - Constructor for class org.sonar.php.cache.SymbolTableSerializationInput
- SymbolTableSerializer - Class in org.sonar.php.cache
- SymbolVisitor - Class in org.sonar.php.tree.symbols
- SymbolVisitor(SymbolTableImpl) - Constructor for class org.sonar.php.tree.symbols.SymbolVisitor
- syntacticSuccessor() - Method in interface org.sonar.plugins.php.api.cfg.CfgBlock
- SyntaxHighlighterVisitor - Class in org.sonar.php.highlighter
- SyntaxToken - Interface in org.sonar.plugins.php.api.tree.lexical
-
Represents a token in the syntax tree.
- SyntaxTrivia - Interface in org.sonar.plugins.php.api.tree.lexical
-
Represents a Trivia in the SyntaxTree.
T
- terminate() - Method in class org.sonar.php.PHPAnalyzer
- terminate() - Method in interface org.sonar.plugins.php.api.visitors.PHPCheck
-
Terminates the check, doing cleanup and postprocessing after the analysis of all project files if necessary.
- TestIssue - Class in org.sonar.plugins.php.api.tests
- TestIssue.Location - Class in org.sonar.plugins.php.api.tests
- text() - Method in class org.sonar.php.metrics.CpdVisitor.CpdToken
- text() - Method in class org.sonar.php.tree.impl.expression.NameIdentifierTreeImpl
- text() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- text() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- text() - Method in class org.sonar.php.tree.impl.VariableIdentifierTreeImpl
- text() - Method in interface org.sonar.plugins.php.api.tree.expression.IdentifierTree
- text() - Method in interface org.sonar.plugins.php.api.tree.expression.NameIdentifierTree
- text() - Method in interface org.sonar.plugins.php.api.tree.expression.VariableIdentifierTree
- text() - Method in interface org.sonar.plugins.php.api.tree.lexical.SyntaxToken
- THROW - Enum constant in enum class org.sonar.php.api.PHPKeyword
- THROW_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- THROW_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- THROW_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- THROW_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- THROW_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- Throwables - Class in org.sonar.php.utils
- throwExpression(SyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- ThrowExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
- ThrowExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- ThrowExpressionTreeImpl(SyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.ThrowExpressionTreeImpl
- throwStatement(ThrowExpressionTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- ThrowStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- ThrowStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- ThrowStatementTreeImpl(ThrowExpressionTree, SyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.ThrowStatementTreeImpl
- throwToken() - Method in class org.sonar.php.tree.impl.expression.ThrowExpressionTreeImpl
- throwToken() - Method in class org.sonar.php.tree.impl.statement.ThrowStatementTreeImpl
- throwToken() - Method in interface org.sonar.plugins.php.api.tree.expression.ThrowExpressionTree
- throwToken() - Method in interface org.sonar.plugins.php.api.tree.statement.ThrowStatementTree
- TILDA - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- time(String, Supplier<T>) - Method in class org.sonar.DurationStatistics
- toArray() - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- toArray(U[]) - Method in class org.sonar.php.tree.impl.SeparatedListImpl
- toBinary(CpdSerializationInput) - Static method in class org.sonar.php.cache.CpdSerializer
- toBinary(SymbolTableSerializationInput) - Static method in class org.sonar.php.cache.SymbolTableSerializer
- toIndex() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- token() - Method in class org.sonar.php.tree.impl.declaration.BuiltInTypeTreeImpl
- token() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringCharactersTreeImpl
- token() - Method in class org.sonar.php.tree.impl.expression.LiteralTreeImpl
- token() - Method in class org.sonar.php.tree.impl.expression.NameIdentifierTreeImpl
- token() - Method in class org.sonar.php.tree.impl.VariableIdentifierTreeImpl
- token() - Method in interface org.sonar.plugins.php.api.tree.declaration.BuiltInTypeTree
- token() - Method in interface org.sonar.plugins.php.api.tree.expression.ExpandableStringCharactersTree
- token() - Method in interface org.sonar.plugins.php.api.tree.expression.IdentifierTree
- token() - Method in interface org.sonar.plugins.php.api.tree.expression.LiteralTree
- token() - Method in interface org.sonar.plugins.php.api.tree.expression.NameIdentifierTree
- token() - Method in interface org.sonar.plugins.php.api.tree.expression.VariableIdentifierTree
- TOKEN - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- TOP_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
-
Statement
- TOP_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
-
[ START ] Statement
- toString() - Method in class org.sonar.php.compat.PhpFileImpl
- toString() - Method in class org.sonar.php.symbols.LocationInFileImpl
- toString() - Method in class org.sonar.php.tree.impl.PHPTree
- toString() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- toString() - Method in class org.sonar.php.tree.symbols.SymbolQualifiedName
- toString() - Method in record class org.sonar.php.tree.symbols.SymbolReturnType
-
Returns a string representation of this record class.
- toString() - Method in class org.sonar.plugins.php.api.tests.PhpTestFile
- toString() - Method in record class org.sonar.plugins.php.api.visitors.PhpInputFileContext
-
Returns a string representation of this record class.
- trailingComma() - Method in class org.sonar.php.tree.impl.expression.MatchDefaultClauseTreeImpl
- trailingComma() - Method in interface org.sonar.plugins.php.api.tree.expression.MatchDefaultClauseTree
- trait() - Method in class org.sonar.php.tree.impl.declaration.TraitMethodReferenceTreeImpl
- trait() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitMethodReferenceTree
- TRAIT - Enum constant in enum class org.sonar.php.api.PHPKeyword
- TRAIT_ALIAS - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TRAIT_ALIAS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- TRAIT_ALIAS() - Method in class org.sonar.php.parser.PHPGrammar
- TRAIT_CONSTANT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TRAIT_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TRAIT_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- TRAIT_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- TRAIT_METHOD_REFERENCE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TRAIT_METHOD_REFERENCE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- TRAIT_METHOD_REFERENCE() - Method in class org.sonar.php.parser.PHPGrammar
- TRAIT_METHOD_REFERENCE_FULLY_QUALIFIED - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TRAIT_METHOD_REFERENCE_FULLY_QUALIFIED() - Method in class org.sonar.php.parser.PHPGrammar
- TRAIT_PRECEDENCE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TRAIT_PRECEDENCE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- TRAIT_PRECEDENCE() - Method in class org.sonar.php.parser.PHPGrammar
- TRAIT_USE_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TraitAdaptationStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- traitAlias(TraitMethodReferenceTree, InternalSyntaxToken, Optional<SyntaxToken>, NameIdentifierTree, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- traitAlias(TraitMethodReferenceTree, InternalSyntaxToken, SyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- TraitAliasTree - Interface in org.sonar.plugins.php.api.tree.statement
- TraitAliasTreeImpl - Class in org.sonar.php.tree.impl.declaration
- TraitAliasTreeImpl(TraitMethodReferenceTree, InternalSyntaxToken, SyntaxToken, NameIdentifierTree, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
- traitDeclaration(Optional<List<AttributeGroupTree>>, InternalSyntaxToken, NameIdentifierTree, InternalSyntaxToken, Optional<List<ClassMemberTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- traitMethodReference(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- traitMethodReference(NamespaceNameTree, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- TraitMethodReferenceTree - Interface in org.sonar.plugins.php.api.tree.statement
- TraitMethodReferenceTreeImpl - Class in org.sonar.php.tree.impl.declaration
- TraitMethodReferenceTreeImpl(NamespaceNameTree, SyntaxToken, NameIdentifierTree) - Constructor for class org.sonar.php.tree.impl.declaration.TraitMethodReferenceTreeImpl
- TraitMethodReferenceTreeImpl(NameIdentifierTree) - Constructor for class org.sonar.php.tree.impl.declaration.TraitMethodReferenceTreeImpl
- traitPrecedence(TraitMethodReferenceTree, InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- TraitPrecedenceTree - Interface in org.sonar.plugins.php.api.tree.statement
- TraitPrecedenceTreeImpl - Class in org.sonar.php.tree.impl.declaration
- TraitPrecedenceTreeImpl(TraitMethodReferenceTree, InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.TraitPrecedenceTreeImpl
- traits() - Method in class org.sonar.php.tree.impl.declaration.TraitPrecedenceTreeImpl
- traits() - Method in class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- traits() - Method in interface org.sonar.plugins.php.api.tree.statement.TraitPrecedenceTree
- traits() - Method in interface org.sonar.plugins.php.api.tree.statement.UseTraitDeclarationTree
- tree() - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor.ComplexityComponent
- tree() - Method in class org.sonar.php.tree.symbols.Scope
- tree() - Method in class org.sonar.php.tree.visitors.PHPCheckContext
- tree() - Method in interface org.sonar.plugins.php.api.visitors.CheckContext
- Tree - Interface in org.sonar.plugins.php.api.tree
-
Common interface for all nodes in an abstract syntax tree.
- Tree.Kind - Enum Class in org.sonar.plugins.php.api.tree
- TreeFactory - Class in org.sonar.php.parser
- TreeFactory() - Constructor for class org.sonar.php.parser.TreeFactory
- TreeFactory.Tuple<T,
U> - Class in org.sonar.php.parser -
[ END ] Expression
- TreeUtils - Class in org.sonar.php.tree
- Trilean - Enum Class in org.sonar.php.symbols
-
A tree-value boolean: true, false, unknown.
- TRIVIA - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- trivias() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxToken
- trivias() - Method in class org.sonar.php.tree.impl.lexical.InternalSyntaxTrivia
- trivias() - Method in interface org.sonar.plugins.php.api.tree.lexical.SyntaxToken
- TRUE - Enum constant in enum class org.sonar.php.symbols.Trilean
- trueExpression() - Method in class org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- trueExpression() - Method in interface org.sonar.plugins.php.api.tree.expression.ConditionalExpressionTree
- trueSuccessor() - Method in interface org.sonar.plugins.php.api.cfg.CfgBranchingBlock
- TRY - Enum constant in enum class org.sonar.php.api.PHPKeyword
- TRY_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TRY_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- TRY_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- tryStatement(InternalSyntaxToken, BlockTree, Optional<List<CatchBlockTree>>, Optional<TreeFactory.Tuple<InternalSyntaxToken, BlockTree>>) - Method in class org.sonar.php.parser.TreeFactory
- TryStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- TryStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- TryStatementTreeImpl(InternalSyntaxToken, BlockTree, List<CatchBlockTree>) - Constructor for class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- TryStatementTreeImpl(InternalSyntaxToken, BlockTree, List<CatchBlockTree>, InternalSyntaxToken, BlockTree) - Constructor for class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- tryToken() - Method in class org.sonar.php.tree.impl.statement.TryStatementTreeImpl
- tryToken() - Method in interface org.sonar.plugins.php.api.tree.statement.TryStatementTree
- Tuple(T, U) - Constructor for class org.sonar.php.parser.TreeFactory.Tuple
- type() - Method in class org.sonar.php.symbols.Parameter
- type() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
-
Deprecated.since 3.11 - Use
ParameterTreeImpl.declaredType()
instead. - type() - Method in class org.sonar.php.tree.impl.declaration.ReturnTypeClauseTreeImpl
-
Deprecated.since 3.11 - Use
ReturnTypeClauseTreeImpl.declaredType()
instead. - type() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
-
Deprecated.since 3.11 - Use
ParameterTree.declaredType()
instead. - type() - Method in interface org.sonar.plugins.php.api.tree.declaration.ReturnTypeClauseTree
-
Deprecated.since 3.11 - Use
ReturnTypeClauseTree.declaredType()
instead. - type(Optional<InternalSyntaxToken>, TypeNameTree) - Method in class org.sonar.php.parser.TreeFactory
- TYPE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TYPE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- TYPE() - Method in class org.sonar.php.parser.PHPGrammar
- TYPE_NAME - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- TYPE_NAME() - Method in class org.sonar.php.parser.PHPGrammar
- typeAnnotation() - Method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
-
Deprecated.since 3.11 - use
ClassPropertyDeclarationTreeImpl.declaredType()
instead. - typeAnnotation() - Method in interface org.sonar.plugins.php.api.tree.declaration.ClassPropertyDeclarationTree
-
Deprecated.since 3.11 - Use
ClassPropertyDeclarationTree.declaredType()
instead. - typeColonToken() - Method in class org.sonar.php.tree.impl.declaration.EnumDeclarationTreeImpl
- typeColonToken() - Method in interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
- typeName() - Method in class org.sonar.php.tree.impl.declaration.TypeTreeImpl
- typeName() - Method in interface org.sonar.plugins.php.api.tree.declaration.TypeTree
-
The underlying type, e.g.,
int
in?int
. - TypeNameTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
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 type - types() - Method in class org.sonar.php.tree.impl.declaration.CombinedTypeTreeImpl
- types() - Method in interface org.sonar.plugins.php.api.tree.declaration.IntersectionTypeTree
- types() - Method in interface org.sonar.plugins.php.api.tree.declaration.UnionTypeTree
- TypeSymbol - Interface in org.sonar.plugins.php.api.symbols
-
Symbol for class, trait or interface
- TypeSymbolImpl - Class in org.sonar.php.tree.symbols
- TypeSymbolImpl(IdentifierTree, Scope, SymbolQualifiedName) - Constructor for class org.sonar.php.tree.symbols.TypeSymbolImpl
- TypeTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
This interface represents type clause (appearing in function return type or parameter type), possibly prefixed with a
?
which stands for "optional". - TypeTreeImpl - Class in org.sonar.php.tree.impl.declaration
- TypeTreeImpl(SyntaxToken, TypeNameTree) - Constructor for class org.sonar.php.tree.impl.declaration.TypeTreeImpl
U
- UNARY_EXPR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- UNARY_EXPR() - Method in class org.sonar.php.parser.PHPGrammar
- UNARY_MINUS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- UNARY_PLUS - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- UnaryExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
-
UnaryExpressionTree.expression()
++
UnaryExpressionTree.expression()
--
@
UnaryExpressionTree.expression()
--
UnaryExpressionTree.expression()
++
UnaryExpressionTree.expression()
+
UnaryExpressionTree.expression()
-
UnaryExpressionTree.expression()
~
UnaryExpressionTree.expression()
!
UnaryExpressionTree.expression()
- UNION_TYPE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- UNION_TYPE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- UNION_TYPE() - Method in class org.sonar.php.parser.PHPGrammar
- unionType(TypeTree, List<TreeFactory.Tuple<SyntaxToken, TypeTree>>) - Method in class org.sonar.php.parser.TreeFactory
- UnionTypeTree - Interface in org.sonar.plugins.php.api.tree.declaration
- UnionTypeTreeImpl(SeparatedList<TypeTree>) - Constructor for class org.sonar.php.tree.impl.declaration.CombinedTypeTreeImpl.UnionTypeTreeImpl
- uniqueAssignedValue() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- UNKNOWN - Enum constant in enum class org.sonar.php.symbols.Trilean
- UNKNOWN_LOCATION - Enum constant in enum class org.sonar.php.symbols.UnknownLocationInFile
- UnknownFunctionSymbol - Class in org.sonar.php.symbols
- UnknownFunctionSymbol(QualifiedName) - Constructor for class org.sonar.php.symbols.UnknownFunctionSymbol
- UnknownLocationInFile - Enum Class in org.sonar.php.symbols
- UnknownMethodSymbol - Class in org.sonar.php.symbols
- UnknownMethodSymbol(String) - Constructor for class org.sonar.php.symbols.UnknownMethodSymbol
- unqualifiedName() - Method in class org.sonar.php.tree.impl.declaration.NamespaceNameTreeImpl
- unqualifiedName() - Method in interface org.sonar.plugins.php.api.tree.declaration.NamespaceNameTree
-
Return the unqualified form of the namespaced name, means it will return just the String value of the name.
- UNSET - Enum constant in enum class org.sonar.php.api.PHPKeyword
- UNSET_VARIABLE_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- UNSET_VARIABLE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- UNSET_VARIABLE_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- UNSET_VARIABLES - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- unsetToken() - Method in class org.sonar.php.tree.impl.statement.UnsetVariableStatementTreeImpl
- unsetToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UnsetVariableStatementTree
- unsetVariableStatement(InternalSyntaxToken, InternalSyntaxToken, ExpressionTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>>, Optional<InternalSyntaxToken>, InternalSyntaxToken, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- UnsetVariableStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
- UnsetVariableStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- UnsetVariableStatementTreeImpl(InternalSyntaxToken, InternalSyntaxToken, SeparatedListImpl<ExpressionTree>, InternalSyntaxToken, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.UnsetVariableStatementTreeImpl
- update() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl.ForStatementHeader
- update() - Method in class org.sonar.php.tree.impl.statement.ForStatementTreeImpl
- update() - Method in interface org.sonar.plugins.php.api.tree.statement.ForStatementTree
- UPPER_BINARY_CAST_PREFIX - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- uri() - Method in class org.sonar.php.compat.PhpFileImpl
- uri() - Method in class org.sonar.plugins.php.api.tests.PhpTestFile
- uri() - Method in interface org.sonar.plugins.php.api.visitors.PhpFile
- usages() - Method in class org.sonar.php.tree.symbols.SymbolImpl
- usages() - Method in interface org.sonar.plugins.php.api.symbols.Symbol
- USE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- USE_CLAUSE - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- USE_CLAUSE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- USE_CLAUSE() - Method in class org.sonar.php.parser.PHPGrammar
- USE_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- USE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- USE_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- USE_TRAIT_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- USE_TRAIT_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- USE_TYPE() - Method in class org.sonar.php.parser.PHPGrammar
- useClause(NamespaceNameTree, Optional<TreeFactory.Tuple<InternalSyntaxToken, InternalSyntaxToken>>) - Method in class org.sonar.php.parser.TreeFactory
- UseClauseTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Use namespaces declaration clause
- UseClauseTreeImpl - Class in org.sonar.php.tree.impl.declaration
- UseClauseTreeImpl(InternalSyntaxToken, NamespaceNameTree) - Constructor for class org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- UseClauseTreeImpl(InternalSyntaxToken, NamespaceNameTree, InternalSyntaxToken, NameIdentifierTree) - Constructor for class org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- useStatement(InternalSyntaxToken, Optional<InternalSyntaxToken>, UseClauseTree, Optional<List<TreeFactory.Tuple<InternalSyntaxToken, UseClauseTree>>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- UseStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Use namespaces declaration
- UseStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- useToken() - Method in class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- useToken() - Method in class org.sonar.php.tree.impl.expression.LexicalVariablesTreeImpl
- useToken() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- useToken() - Method in interface org.sonar.plugins.php.api.tree.expression.LexicalVariablesTree
- useToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseStatementTree
- useToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseTraitDeclarationTree
- useTraitDeclaration(InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- useTraitDeclaration(InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>, InternalSyntaxToken, Optional<List<TraitAdaptationStatementTree>>, InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- UseTraitDeclarationTree - Interface in org.sonar.plugins.php.api.tree.statement
- UseTraitDeclarationTreeImpl - Class in org.sonar.php.tree.impl.declaration
- UseTraitDeclarationTreeImpl(InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- UseTraitDeclarationTreeImpl(InternalSyntaxToken, SeparatedListImpl<NamespaceNameTree>, InternalSyntaxToken, List<TraitAdaptationStatementTree>, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.declaration.UseTraitDeclarationTreeImpl
- useTypeToken() - Method in class org.sonar.php.tree.impl.declaration.UseClauseTreeImpl
- useTypeToken() - Method in class org.sonar.php.tree.impl.statement.UseStatementTreeImpl
- useTypeToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseClauseTree
- useTypeToken() - Method in interface org.sonar.plugins.php.api.tree.statement.UseStatementTree
V
- value() - Method in interface org.sonar.php.ini.tree.Directive
- value() - Method in class org.sonar.php.tree.impl.declaration.CallArgumentTreeImpl
- value() - Method in class org.sonar.php.tree.impl.expression.ArrayPairTreeImpl
- value() - Method in class org.sonar.php.tree.impl.expression.AssignmentByReferenceTreeImpl
- value() - Method in class org.sonar.php.tree.impl.expression.AssignmentExpressionTreeImpl
- value() - Method in class org.sonar.php.tree.impl.expression.ExpandableStringCharactersTreeImpl
- value() - Method in class org.sonar.php.tree.impl.expression.LiteralTreeImpl
- value() - Method in class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- value() - Method in class org.sonar.php.tree.impl.statement.EnumCaseTreeImpl
- value() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl.ForEachStatementHeader
- value() - Method in class org.sonar.php.tree.impl.statement.ForEachStatementTreeImpl
- value() - Method in interface org.sonar.plugins.php.api.tree.declaration.CallArgumentTree
- value() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayPairTree
- value() - Method in interface org.sonar.plugins.php.api.tree.expression.AssignmentExpressionTree
- value() - Method in interface org.sonar.plugins.php.api.tree.expression.ExpandableStringCharactersTree
- value() - Method in interface org.sonar.plugins.php.api.tree.expression.LiteralTree
- value() - Method in interface org.sonar.plugins.php.api.tree.expression.YieldExpressionTree
- value() - Method in interface org.sonar.plugins.php.api.tree.statement.EnumCaseTree
- value() - Method in interface org.sonar.plugins.php.api.tree.statement.ForEachStatementTree
-
value can be:
reference variable
list expression
or other expressions. - valueOf(String) - Static method in enum class org.sonar.php.api.PHPKeyword
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.php.api.PHPPunctuator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.php.parser.PHPGrammarRuleKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.php.parser.PHPLexicalGrammar
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.php.parser.PHPTokenType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.php.symbols.BuiltinSymbolData
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.php.symbols.ClassSymbol.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.php.symbols.Trilean
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.php.symbols.UnknownLocationInFile
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.php.symbols.Visibility
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.plugins.php.api.symbols.Symbol.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.plugins.php.api.symbols.SymbolTable.Framework
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.sonar.plugins.php.api.tree.Tree.Kind
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.sonar.php.api.PHPKeyword
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.php.api.PHPPunctuator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.php.parser.PHPGrammarRuleKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.php.parser.PHPLexicalGrammar
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.php.parser.PHPTokenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.php.symbols.BuiltinSymbolData
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.php.symbols.ClassSymbol.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.php.symbols.Trilean
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.php.symbols.UnknownLocationInFile
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.php.symbols.Visibility
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.plugins.php.api.symbols.Symbol.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.plugins.php.api.symbols.SymbolTable.Framework
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.sonar.plugins.php.api.tree.Tree.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VAR - Enum constant in enum class org.sonar.php.api.PHPKeyword
- VAR_IDENTIFIER - Static variable in class org.sonar.php.parser.LexicalConstant
- variable() - Method in class org.sonar.php.tree.impl.expression.ArrayAssignmentPatternElementTreeImpl
- variable() - Method in class org.sonar.php.tree.impl.expression.AssignmentByReferenceTreeImpl
- variable() - Method in class org.sonar.php.tree.impl.expression.AssignmentExpressionTreeImpl
- variable() - Method in class org.sonar.php.tree.impl.statement.CatchBlockTreeImpl
- variable() - Method in interface org.sonar.plugins.php.api.tree.expression.ArrayAssignmentPatternElementTree
- variable() - Method in interface org.sonar.plugins.php.api.tree.expression.AssignmentExpressionTree
- variable() - Method in interface org.sonar.plugins.php.api.tree.statement.CatchBlockTree
- variable(List<AttributeGroupTree>, List<SyntaxToken>, DeclaredTypeTree, SeparatedListImpl<VariableDeclarationTree>, InternalSyntaxToken) - Static method in class org.sonar.php.tree.impl.declaration.ClassPropertyDeclarationTreeImpl
- VARIABLE - Enum constant in enum class org.sonar.plugins.php.api.symbols.Symbol.Kind
- VARIABLE_DECLARATION - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- VARIABLE_DECLARATION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- VARIABLE_DECLARATION() - Method in class org.sonar.php.parser.PHPGrammar
- VARIABLE_IDENTIFIER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- VARIABLE_IDENTIFIER - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- VARIABLE_IDENTIFIER() - Method in class org.sonar.php.parser.PHPGrammar
- VARIABLE_VARIABLE - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- VARIABLE_VARIABLE_DOLLAR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- VARIABLE_WITHOUT_OBJECTS - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- VARIABLE_WITHOUT_OBJECTS() - Method in class org.sonar.php.parser.PHPGrammar
- variableDeclaration(InternalSyntaxToken, Optional<TreeFactory.Tuple<InternalSyntaxToken, ExpressionTree>>) - Method in class org.sonar.php.parser.TreeFactory
-
[ START ] Declarations
- VariableDeclarationTree - Interface in org.sonar.plugins.php.api.tree.declaration
-
Variable Declaration
- VariableDeclarationTreeImpl - Class in org.sonar.php.tree.impl.statement
- VariableDeclarationTreeImpl(IdentifierTree, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.statement.VariableDeclarationTreeImpl
- variableExpression() - Method in class org.sonar.php.tree.impl.expression.CompoundVariableTreeImpl
- variableExpression() - Method in class org.sonar.php.tree.impl.expression.ComputedVariableTreeImpl
- variableExpression() - Method in class org.sonar.php.tree.impl.expression.ReferenceVariableTreeImpl
- variableExpression() - Method in class org.sonar.php.tree.impl.expression.VariableVariableTreeImpl
- variableExpression() - Method in class org.sonar.php.tree.impl.VariableIdentifierTreeImpl
- variableExpression() - Method in interface org.sonar.plugins.php.api.tree.expression.CompoundVariableTree
- variableExpression() - Method in interface org.sonar.plugins.php.api.tree.expression.ComputedVariableTree
- variableExpression() - Method in interface org.sonar.plugins.php.api.tree.expression.ReferenceVariableTree
- variableExpression() - Method in interface org.sonar.plugins.php.api.tree.expression.VariableIdentifierTree
- variableExpression() - Method in interface org.sonar.plugins.php.api.tree.expression.VariableTree
- variableExpression() - Method in interface org.sonar.plugins.php.api.tree.expression.VariableVariableTree
- variableIdentifier() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- variableIdentifier() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- variableIdentifier(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- VariableIdentifierTree - Interface in org.sonar.plugins.php.api.tree.expression
- VariableIdentifierTreeImpl - Class in org.sonar.php.tree.impl
- VariableIdentifierTreeImpl(SyntaxToken) - Constructor for class org.sonar.php.tree.impl.VariableIdentifierTreeImpl
- variables() - Method in class org.sonar.php.tree.impl.expression.LexicalVariablesTreeImpl
- variables() - Method in class org.sonar.php.tree.impl.statement.GlobalStatementTreeImpl
- variables() - Method in class org.sonar.php.tree.impl.statement.StaticStatementTreeImpl
- variables() - Method in class org.sonar.php.tree.impl.statement.UnsetVariableStatementTreeImpl
- variables() - Method in interface org.sonar.plugins.php.api.tree.expression.LexicalVariablesTree
-
Variables can be:
Reference variable
Variable identifier
- variables() - Method in interface org.sonar.plugins.php.api.tree.statement.GlobalStatementTree
- variables() - Method in interface org.sonar.plugins.php.api.tree.statement.StaticStatementTree
- variables() - Method in interface org.sonar.plugins.php.api.tree.statement.UnsetVariableStatementTree
- VariableTree - Interface in org.sonar.plugins.php.api.tree.expression
- VariableUsage() - Constructor for class org.sonar.php.cfg.LiveVariablesAnalysis.VariableUsage
- VariableVariableTree - Interface in org.sonar.plugins.php.api.tree.expression
- VariableVariableTreeImpl - Class in org.sonar.php.tree.impl.expression
- VariableVariableTreeImpl(List<InternalSyntaxToken>, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.VariableVariableTreeImpl
- variableWithoutObjects(Optional<List<InternalSyntaxToken>>, VariableTree) - Method in class org.sonar.php.parser.TreeFactory
- VarLengthInputStream - Class in org.sonar.php.cache
-
Use variable length encoding for integers.
- VarLengthInputStream(byte[]) - Constructor for class org.sonar.php.cache.VarLengthInputStream
- VarLengthOutputStream - Class in org.sonar.php.cache
-
Use variable length encoding for integers.
- VarLengthOutputStream(OutputStream) - Constructor for class org.sonar.php.cache.VarLengthOutputStream
- verify(File, PHPCheck) - Static method in class org.sonar.plugins.php.api.tests.PHPCheckVerifier
- verify(PHPCheck, File...) - Static method in class org.sonar.plugins.php.api.tests.PHPCheckVerifier
- verifyNoIssue(File, PHPCheck) - Static method in class org.sonar.plugins.php.api.tests.PHPCheckVerifier
- visibility() - Method in interface org.sonar.php.symbols.MethodSymbol
- visibility() - Method in class org.sonar.php.symbols.MethodSymbolData
- visibility() - Method in class org.sonar.php.symbols.MethodSymbolImpl
- visibility() - Method in class org.sonar.php.symbols.UnknownMethodSymbol
- visibility() - Method in class org.sonar.php.tree.impl.declaration.ParameterTreeImpl
- visibility() - Method in interface org.sonar.plugins.php.api.tree.declaration.ParameterTree
- Visibility - Enum Class in org.sonar.php.symbols
- VISIBILITY_MODIFIER - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- VISIBILITY_MODIFIER() - Method in class org.sonar.php.parser.PHPGrammar
- visitAnonymousClass(AnonymousClassTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitAnonymousClass(AnonymousClassTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitAnonymousClass(AnonymousClassTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitAnonymousClass(AnonymousClassTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitArrayAccess(ArrayAccessTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitArrayAccess(ArrayAccessTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitArrayAssignmentPattern(ArrayAssignmentPatternTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitArrayAssignmentPattern(ArrayAssignmentPatternTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitArrayAssignmentPatternElement(ArrayAssignmentPatternElementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitArrayAssignmentPatternElement(ArrayAssignmentPatternElementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitArrayInitializerBracket(ArrayInitializerBracketTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitArrayInitializerBracket(ArrayInitializerBracketTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitArrayInitializerFunction(ArrayInitializerFunctionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitArrayInitializerFunction(ArrayInitializerFunctionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitArrayPair(ArrayPairTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitArrayPair(ArrayPairTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitArrowFunctionExpression(ArrowFunctionExpressionTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitArrowFunctionExpression(ArrowFunctionExpressionTree) - Method in class org.sonar.php.metrics.ComplexityVisitor.ShallowComplexityVisitor
- visitArrowFunctionExpression(ArrowFunctionExpressionTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitArrowFunctionExpression(ArrowFunctionExpressionTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitArrowFunctionExpression(ArrowFunctionExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitArrowFunctionExpression(ArrowFunctionExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitAssignmentExpression(AssignmentExpressionTree) - Method in class org.sonar.php.tree.visitors.AssignmentExpressionVisitor
- visitAssignmentExpression(AssignmentExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitAssignmentExpression(AssignmentExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitAttribute(AttributeTree) - Method in class org.sonar.php.filters.SuppressWarningFilter
- visitAttribute(AttributeTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitAttribute(AttributeTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitAttributeGroup(AttributeGroupTree) - Method in class org.sonar.php.metrics.CpdVisitor
- visitAttributeGroup(AttributeGroupTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitAttributeGroup(AttributeGroupTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitBinaryExpression(BinaryExpressionTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitBinaryExpression(BinaryExpressionTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitBinaryExpression(BinaryExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitBinaryExpression(BinaryExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitBlock(BlockTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitBlock(BlockTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitBreakStatement(BreakStatementTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitBreakStatement(BreakStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitBreakStatement(BreakStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitBuiltInType(BuiltInTypeTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitBuiltInType(BuiltInTypeTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitCallableConvert(CallableConvertTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitCallableConvert(CallableConvertTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitCallArgument(CallArgumentTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitCallArgument(CallArgumentTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitCaseClause(CaseClauseTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitCaseClause(CaseClauseTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitCaseClause(CaseClauseTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitCastExpression(CastExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitCastExpression(CastExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitCatchBlock(CatchBlockTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitCatchBlock(CatchBlockTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitCatchBlock(CatchBlockTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitClassDeclaration(ClassDeclarationTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitClassDeclaration(ClassDeclarationTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitClassDeclaration(ClassDeclarationTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitClassDeclaration(ClassDeclarationTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitClassPropertyDeclaration(ClassPropertyDeclarationTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitClassPropertyDeclaration(ClassPropertyDeclarationTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitClassPropertyDeclaration(ClassPropertyDeclarationTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitCompilationUnit(CompilationUnitTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitCompilationUnit(CompilationUnitTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitCompilationUnit(CompilationUnitTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitCompilationUnit(CompilationUnitTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitCompoundVariable(CompoundVariableTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitCompoundVariable(CompoundVariableTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitCompoundVariable(CompoundVariableTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitComputedVariable(ComputedVariableTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitComputedVariable(ComputedVariableTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitComputedVariable(ComputedVariableTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitConditionalExpression(ConditionalExpressionTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitConditionalExpression(ConditionalExpressionTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitConditionalExpression(ConditionalExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitConditionalExpression(ConditionalExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitConstDeclaration(ConstantDeclarationTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitConstDeclaration(ConstantDeclarationTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitConstDeclaration(ConstantDeclarationTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
-
[ START ] Statement
- visitContinueStatement(ContinueStatementTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitContinueStatement(ContinueStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitContinueStatement(ContinueStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitDeclareStatement(DeclareStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitDeclareStatement(DeclareStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitDefaultClause(DefaultClauseTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitDefaultClause(DefaultClauseTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitDoWhileStatement(DoWhileStatementTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitDoWhileStatement(DoWhileStatementTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitDoWhileStatement(DoWhileStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitDoWhileStatement(DoWhileStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitEchoTagStatement(EchoTagStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitEchoTagStatement(EchoTagStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitElseClause(ElseClauseTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitElseClause(ElseClauseTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitElseClause(ElseClauseTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitElseifClause(ElseifClauseTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitElseifClause(ElseifClauseTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitElseifClause(ElseifClauseTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitEmptyStatement(EmptyStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitEmptyStatement(EmptyStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitEnumCase(EnumCaseTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitEnumCase(EnumCaseTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitExecutionOperator(ExecutionOperatorTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitExecutionOperator(ExecutionOperatorTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitExpandableStringCharacters(ExpandableStringCharactersTree) - Method in class org.sonar.php.highlighter.SyntaxHighlighterVisitor
- visitExpandableStringCharacters(ExpandableStringCharactersTree) - Method in class org.sonar.php.metrics.CpdVisitor
- visitExpandableStringCharacters(ExpandableStringCharactersTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitExpandableStringCharacters(ExpandableStringCharactersTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitExpandableStringLiteral(ExpandableStringLiteralTree) - Method in class org.sonar.php.highlighter.SyntaxHighlighterVisitor
- visitExpandableStringLiteral(ExpandableStringLiteralTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitExpandableStringLiteral(ExpandableStringLiteralTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitExpressionListStatement(ExpressionListStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitExpressionListStatement(ExpressionListStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
-
Deprecated.since 3.1. Use
visitEchoTagStatement(EchoTagStatementTree)
- visitExpressionStatement(ExpressionStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitExpressionStatement(ExpressionStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitForEachStatement(ForEachStatementTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitForEachStatement(ForEachStatementTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitForEachStatement(ForEachStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitForEachStatement(ForEachStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitForStatement(ForStatementTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitForStatement(ForStatementTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitForStatement(ForStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitForStatement(ForStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitFunctionCall(FunctionCallTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitFunctionCall(FunctionCallTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitFunctionCall(FunctionCallTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitFunctionCall(FunctionCallTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitFunctionCall(FunctionCallTree, boolean) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitFunctionDeclaration(FunctionDeclarationTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitFunctionDeclaration(FunctionDeclarationTree) - Method in class org.sonar.php.metrics.ComplexityVisitor.ShallowComplexityVisitor
- visitFunctionDeclaration(FunctionDeclarationTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitFunctionDeclaration(FunctionDeclarationTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitFunctionDeclaration(FunctionDeclarationTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitFunctionDeclaration(FunctionDeclarationTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitFunctionDeclaration(FunctionDeclarationTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitFunctionExpression(FunctionExpressionTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitFunctionExpression(FunctionExpressionTree) - Method in class org.sonar.php.metrics.ComplexityVisitor.ShallowComplexityVisitor
- visitFunctionExpression(FunctionExpressionTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitFunctionExpression(FunctionExpressionTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitFunctionExpression(FunctionExpressionTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitFunctionExpression(FunctionExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitFunctionExpression(FunctionExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitGlobalStatement(GlobalStatementTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitGlobalStatement(GlobalStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitGlobalStatement(GlobalStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitGotoStatement(GotoStatementTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitGotoStatement(GotoStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitGotoStatement(GotoStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitHeredoc(HeredocStringLiteralTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitHeredoc(HeredocStringLiteralTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitIfStatement(IfStatementTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitIfStatement(IfStatementTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitIfStatement(IfStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitIfStatement(IfStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitInlineHTML(InlineHTMLTree) - Method in class org.sonar.php.metrics.CpdVisitor
- visitInlineHTML(InlineHTMLTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitInlineHTML(InlineHTMLTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitIntersectionType(IntersectionTypeTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitIntersectionType(IntersectionTypeTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitLabel(LabelTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitLabel(LabelTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitLexicalVariables(LexicalVariablesTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitLexicalVariables(LexicalVariablesTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitLexicalVariables(LexicalVariablesTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitListExpression(ListExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitListExpression(ListExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitLiteral(LiteralTree) - Method in class org.sonar.php.highlighter.SyntaxHighlighterVisitor
- visitLiteral(LiteralTree) - Method in class org.sonar.php.metrics.CpdVisitor
- visitLiteral(LiteralTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitLiteral(LiteralTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitMatchConditionClause(MatchConditionClauseTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitMatchConditionClause(MatchConditionClauseTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitMatchDefaultClause(MatchDefaultClauseTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitMatchDefaultClause(MatchDefaultClauseTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitMatchExpression(MatchExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitMatchExpression(MatchExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitMemberAccess(MemberAccessTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitMemberAccess(MemberAccessTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitMemberAccess(MemberAccessTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitMemberAccess(MemberAccessTree, boolean) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitMethodDeclaration(MethodDeclarationTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitMethodDeclaration(MethodDeclarationTree) - Method in class org.sonar.php.metrics.ComplexityVisitor.ShallowComplexityVisitor
- visitMethodDeclaration(MethodDeclarationTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitMethodDeclaration(MethodDeclarationTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitMethodDeclaration(MethodDeclarationTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitMethodDeclaration(MethodDeclarationTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitMethodDeclaration(MethodDeclarationTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitNameIdentifier(NameIdentifierTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitNameIdentifier(NameIdentifierTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitNameIdentifier(NameIdentifierTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitNamespaceName(NamespaceNameTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitNamespaceName(NamespaceNameTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitNamespaceStatement(NamespaceStatementTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitNamespaceStatement(NamespaceStatementTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitNamespaceStatement(NamespaceStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitNamespaceStatement(NamespaceStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitNewExpression(NewExpressionTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitNewExpression(NewExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitNewExpression(NewExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitNode(Tree) - Method in class org.sonar.php.metrics.CounterVisitor
- visitNode(Tree) - Method in class org.sonar.php.metrics.MetricsVisitor
- visitNode(Tree) - Method in class org.sonar.php.utils.SourceBuilder
- visitNode(Tree) - Method in class org.sonar.plugins.php.api.visitors.PHPTreeSubscriber
- VisitorCheck - Interface in org.sonar.plugins.php.api.visitors
- visitParameter(ParameterTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitParameter(ParameterTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitParameter(ParameterTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitParameterList(ParameterListTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitParameterList(ParameterListTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitParameterList(ParameterListTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitParenthesisedExpression(ParenthesisedExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitParenthesisedExpression(ParenthesisedExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitPostfixExpression(UnaryExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitPostfixExpression(UnaryExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitPrefixedCastExpression(PrefixedCastExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitPrefixedCastExpression(PrefixedCastExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitPrefixExpression(UnaryExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitPrefixExpression(UnaryExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitReferenceVariable(ReferenceVariableTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitReferenceVariable(ReferenceVariableTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitReturnStatement(ReturnStatementTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitReturnStatement(ReturnStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitReturnStatement(ReturnStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitReturnTypeClause(ReturnTypeClauseTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitReturnTypeClause(ReturnTypeClauseTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitScript(ScriptTree) - Method in class org.sonar.php.metrics.CpdVisitor
- visitScript(ScriptTree) - Method in class org.sonar.php.metrics.LineVisitor
- visitScript(ScriptTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitScript(ScriptTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitSpreadArgument(SpreadArgumentTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitSpreadArgument(SpreadArgumentTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitStaticStatement(StaticStatementTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitStaticStatement(StaticStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitStaticStatement(StaticStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitSwitchStatement(SwitchStatementTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitSwitchStatement(SwitchStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitSwitchStatement(SwitchStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitThrowExpression(ThrowExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitThrowExpression(ThrowExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
-
[ START ] Expression
- visitThrowStatement(ThrowStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitThrowStatement(ThrowStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitToken(SyntaxToken) - Method in class org.sonar.php.filters.SuppressWarningFilter
- visitToken(SyntaxToken) - Method in class org.sonar.php.highlighter.SyntaxHighlighterVisitor
- visitToken(SyntaxToken) - Method in class org.sonar.php.metrics.CommentLineVisitor
- visitToken(SyntaxToken) - Method in class org.sonar.php.metrics.CpdVisitor
- visitToken(SyntaxToken) - Method in class org.sonar.php.metrics.LineVisitor
- visitToken(SyntaxToken) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitToken(SyntaxToken) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitToken(SyntaxToken) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitTraitAlias(TraitAliasTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitTraitAlias(TraitAliasTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitTraitMethodReference(TraitMethodReferenceTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitTraitMethodReference(TraitMethodReferenceTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitTraitPrecedence(TraitPrecedenceTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitTraitPrecedence(TraitPrecedenceTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitTrivia(SyntaxTrivia) - Method in class org.sonar.php.highlighter.SyntaxHighlighterVisitor
- visitTrivia(SyntaxTrivia) - Method in class org.sonar.php.utils.ExpectedIssuesParser
- visitTrivia(SyntaxTrivia) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitTrivia(SyntaxTrivia) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitTryStatement(TryStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitTryStatement(TryStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitType(TypeTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitType(TypeTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitUnionType(UnionTypeTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitUnionType(UnionTypeTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitUnsetVariableStatement(UnsetVariableStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitUnsetVariableStatement(UnsetVariableStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitUseClause(UseClauseTree) - Method in class org.sonar.php.tree.visitors.FrameworkDetectionVisitor
- visitUseClause(UseClauseTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitUseClause(UseClauseTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitUseStatement(UseStatementTree) - Method in class org.sonar.php.metrics.CpdVisitor
- visitUseStatement(UseStatementTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitUseStatement(UseStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitUseStatement(UseStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitUseTraitDeclaration(UseTraitDeclarationTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitUseTraitDeclaration(UseTraitDeclarationTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitUseTraitDeclaration(UseTraitDeclarationTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitVariableDeclaration(VariableDeclarationTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitVariableDeclaration(VariableDeclarationTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
-
[ START ] Declaration
- visitVariableIdentifier(VariableIdentifierTree) - Method in class org.sonar.php.tree.symbols.SymbolVisitor
- visitVariableIdentifier(VariableIdentifierTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitVariableIdentifier(VariableIdentifierTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitVariableVariable(VariableVariableTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitVariableVariable(VariableVariableTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitWhileStatement(WhileStatementTree) - Method in class org.sonar.php.metrics.CognitiveComplexityVisitor
- visitWhileStatement(WhileStatementTree) - Method in class org.sonar.php.metrics.ComplexityVisitor
- visitWhileStatement(WhileStatementTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitWhileStatement(WhileStatementTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
- visitYieldExpression(YieldExpressionTree) - Method in class org.sonar.php.tree.symbols.DeclarationVisitor
- visitYieldExpression(YieldExpressionTree) - Method in class org.sonar.plugins.php.api.visitors.PHPVisitorCheck
- visitYieldExpression(YieldExpressionTree) - Method in interface org.sonar.plugins.php.api.visitors.VisitorCheck
W
- WHILE - Enum constant in enum class org.sonar.php.api.PHPKeyword
- WHILE_STATEMENT - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- WHILE_STATEMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- WHILE_STATEMENT() - Method in class org.sonar.php.parser.PHPGrammar
- whileStatement(InternalSyntaxToken, ParenthesisedExpressionTree, StatementTree) - Method in class org.sonar.php.parser.TreeFactory
- WhileStatementTree - Interface in org.sonar.plugins.php.api.tree.statement
-
Represents while statement and alternative while statement syntax as well.
- WhileStatementTreeImpl - Class in org.sonar.php.tree.impl.statement
- WhileStatementTreeImpl(InternalSyntaxToken, ParenthesisedExpressionTree, InternalSyntaxToken, List<StatementTree>, InternalSyntaxToken, InternalSyntaxToken) - Constructor for class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- WhileStatementTreeImpl(InternalSyntaxToken, ParenthesisedExpressionTree, StatementTree) - Constructor for class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- whileToken() - Method in class org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
- whileToken() - Method in class org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- whileToken() - Method in interface org.sonar.plugins.php.api.tree.statement.DoWhileStatementTree
- whileToken() - Method in interface org.sonar.plugins.php.api.tree.statement.WhileStatementTree
- WHITESPACE - Static variable in class org.sonar.php.parser.LexicalConstant
-
Tab, Vertical Tab, Form Feed, Space, No-break space, Byte Order Mark, Any other Unicode "space separator"
- WHITESPACES - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- workingDirectory() - Method in record class org.sonar.plugins.php.api.visitors.PhpInputFileContext
-
Returns the value of the
workingDirectory
record component. - write(byte[]) - Method in class org.sonar.php.cache.VarLengthOutputStream
- writeBoolean(boolean) - Method in class org.sonar.php.cache.VarLengthOutputStream
- writeBytes(String, byte[]) - Method in class org.sonar.php.cache.PhpWriteCacheImpl
- writeBytes(String, byte[]) - Method in interface org.sonar.plugins.php.api.cache.PhpWriteCache
-
Save a new entry in the cache.
- writeFileContentHash(InputFile, byte[]) - Method in class org.sonar.php.cache.Cache
- writeFileSymbolTable(InputFile, SymbolTableImpl) - Method in class org.sonar.php.cache.Cache
- writeInt(int) - Method in class org.sonar.php.cache.VarLengthOutputStream
- writeUTF(String) - Method in class org.sonar.php.cache.VarLengthOutputStream
X
- XOR - Enum constant in enum class org.sonar.php.api.PHPKeyword
- XOR - Enum constant in enum class org.sonar.php.api.PHPPunctuator
- XOR_ASSIGNMENT - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- XOR_EQU - Enum constant in enum class org.sonar.php.api.PHPPunctuator
Y
- YIELD - Enum constant in enum class org.sonar.php.api.PHPKeyword
- YIELD_EXPRESSION - Enum constant in enum class org.sonar.plugins.php.api.tree.Tree.Kind
- YIELD_EXPRESSION() - Method in class org.sonar.php.parser.PHPGrammar
- YIELD_SCALAR - Enum constant in enum class org.sonar.php.parser.PHPLexicalGrammar
- YIELD_SCALAR() - Method in class org.sonar.php.parser.PHPGrammar
- yieldExpression(InternalSyntaxToken) - Method in class org.sonar.php.parser.TreeFactory
- yieldExpression(InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- YieldExpressionTree - Interface in org.sonar.plugins.php.api.tree.expression
- YieldExpressionTreeImpl - Class in org.sonar.php.tree.impl.expression
- YieldExpressionTreeImpl(InternalSyntaxToken, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- YieldExpressionTreeImpl(InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- YieldExpressionTreeImpl(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken, ExpressionTree) - Constructor for class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- yieldExpressionWithKey(InternalSyntaxToken, ExpressionTree, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- yieldFromExpression(InternalSyntaxToken, InternalSyntaxToken, ExpressionTree) - Method in class org.sonar.php.parser.TreeFactory
- yieldToken() - Method in class org.sonar.php.tree.impl.expression.YieldExpressionTreeImpl
- yieldToken() - Method in interface org.sonar.plugins.php.api.tree.expression.YieldExpressionTree
All Classes and Interfaces|All Packages|Constant Field Values
AnonymousClassTreeImpl.callArguments()
instead.