Package org.sonar.plugins.php.api.tree
Interface Tree
-
- All Known Subinterfaces:
AnonymousClassTree
,ArrayAccessTree
,ArrayAssignmentPatternElementTree
,ArrayAssignmentPatternTree
,ArrayDestructuringTree
,ArrayInitializerBracketTree
,ArrayInitializerFunctionTree
,ArrayInitializerTree
,ArrayPairTree
,ArrowFunctionExpressionTree
,AssignmentExpressionTree
,AttributeGroupTree
,AttributeTree
,BinaryExpressionTree
,BlockTree
,BreakStatementTree
,BuiltInTypeTree
,CallArgumentTree
,CaseClauseTree
,CastExpressionTree
,CatchBlockTree
,ClassDeclarationTree
,ClassMemberTree
,ClassPropertyDeclarationTree
,ClassTree
,CompilationUnitTree
,CompoundVariableTree
,ComputedVariableTree
,ConditionalExpressionTree
,ConstantDeclarationTree
,ContinueStatementTree
,DeclaredTypeTree
,DeclareStatementTree
,DefaultClauseTree
,DoWhileStatementTree
,EchoTagStatementTree
,ElseClauseTree
,ElseifClauseTree
,EmptyStatementTree
,ExecutionOperatorTree
,ExpandableStringCharactersTree
,ExpandableStringLiteralTree
,ExpressionListStatementTree
,ExpressionStatementTree
,ExpressionTree
,ForEachStatementTree
,ForStatementTree
,FunctionCallTree
,FunctionDeclarationTree
,FunctionExpressionTree
,FunctionTree
,GlobalStatementTree
,GotoStatementTree
,HeredocStringLiteralTree
,IdentifierTree
,IfStatementTree
,InlineHTMLTree
,LabelTree
,LexicalVariablesTree
,ListExpressionTree
,LiteralTree
,MatchClauseTree
,MatchConditionClauseTree
,MatchDefaultClauseTree
,MatchExpressionTree
,MemberAccessTree
,MethodDeclarationTree
,NameIdentifierTree
,NamespaceNameTree
,NamespaceStatementTree
,NewExpressionTree
,ParameterListTree
,ParameterTree
,ParenthesisedExpressionTree
,PrefixedCastExpressionTree
,ReferenceVariableTree
,ReturnStatementTree
,ReturnTypeClauseTree
,ScriptTree
,SpreadArgumentTree
,StatementTree
,StaticStatementTree
,SwitchCaseClauseTree
,SwitchStatementTree
,SyntaxToken
,SyntaxTrivia
,ThrowExpressionTree
,ThrowStatementTree
,TraitAdaptationStatementTree
,TraitAliasTree
,TraitMethodReferenceTree
,TraitPrecedenceTree
,TryStatementTree
,TypeNameTree
,TypeTree
,UnaryExpressionTree
,UnionTypeTree
,UnsetVariableStatementTree
,UseClauseTree
,UseStatementTree
,UseTraitDeclarationTree
,VariableDeclarationTree
,VariableIdentifierTree
,VariableTree
,VariableVariableTree
,WhileStatementTree
,YieldExpressionTree
- All Known Implementing Classes:
AnonymousClassTreeImpl
,ArrayAccessTreeImpl
,ArrayAssignmentPatternElementTreeImpl
,ArrayAssignmentPatternTreeImpl
,ArrayInitializerBracketTreeImpl
,ArrayInitializerFunctionTreeImpl
,ArrayPairTreeImpl
,ArrowFunctionExpressionTreeImpl
,AssignmentByReferenceTreeImpl
,AssignmentExpressionTreeImpl
,AttributeGroupTreeImpl
,AttributeTreeImpl
,BinaryExpressionTreeImpl
,BlockTreeImpl
,BreakStatementTreeImpl
,BuiltInTypeTreeImpl
,CallArgumentTreeImpl
,CaseClauseTreeImpl
,CastExpressionTreeImpl
,CatchBlockTreeImpl
,ClassDeclarationTreeImpl
,ClassNamespaceNameTreeImpl
,ClassPropertyDeclarationTreeImpl
,CompilationUnitTreeImpl
,CompoundVariableTreeImpl
,ComputedVariableTreeImpl
,ConditionalExpressionTreeImpl
,ConstantDeclarationTreeImpl
,ContinueStatementTreeImpl
,DeclareStatementTreeImpl
,DefaultClauseTreeImpl
,DoWhileStatementTreeImpl
,EchoTagStatementTreeImpl
,ElseClauseTreeImpl
,ElseifClauseTreeImpl
,EmptyStatementImpl
,ExecutionOperatorTreeImpl
,ExpandableStringCharactersTreeImpl
,ExpandableStringLiteralTreeImpl
,ExpressionListStatementTreeImpl
,ExpressionStatementTreeImpl
,ForEachStatementTreeImpl
,ForStatementTreeImpl
,FunctionCallTreeImpl
,FunctionDeclarationTreeImpl
,FunctionExpressionTreeImpl
,GlobalStatementTreeImpl
,GotoStatementTreeImpl
,HeredocStringLiteralTreeImpl
,HeredocStringLiteralTreeImpl.HeredocBody
,IfStatementTreeImpl
,InlineHTMLTreeImpl
,InternalSyntaxToken
,InternalSyntaxTrivia
,LabelTreeImpl
,LexicalVariablesTreeImpl
,ListExpressionTreeImpl
,LiteralTreeImpl
,MatchConditionClauseTreeImpl
,MatchDefaultClauseTreeImpl
,MatchExpressionTreeImpl
,MemberAccessTreeImpl
,MethodDeclarationTreeImpl
,NameIdentifierTreeImpl
,NamespaceNameTreeImpl
,NamespaceStatementTreeImpl
,NewExpressionTreeImpl
,ParameterListTreeImpl
,ParameterTreeImpl
,ParenthesizedExpressionTreeImpl
,PHPTree
,PostfixExpressionTreeImpl
,PrefixedCastExpressionTreeImpl
,PrefixExpressionTreeImpl
,ReferenceVariableTreeImpl
,ReturnStatementTreeImpl
,ReturnTypeClauseTreeImpl
,ScriptTreeImpl
,SpreadArgumentTreeImpl
,StaticStatementTreeImpl
,SwitchStatementTreeImpl
,ThrowExpressionTreeImpl
,ThrowStatementTreeImpl
,TraitAliasTreeImpl
,TraitMethodReferenceTreeImpl
,TraitPrecedenceTreeImpl
,TryStatementTreeImpl
,TypeTreeImpl
,UnionTypeTreeImpl
,UnsetVariableStatementTreeImpl
,UseClauseTreeImpl
,UseStatementTreeImpl
,UseTraitDeclarationTreeImpl
,VariableDeclarationTreeImpl
,VariableIdentifierTreeImpl
,VariableVariableTreeImpl
,WhileStatementTreeImpl
,YieldExpressionTreeImpl
public interface Tree
Common interface for all nodes in an abstract syntax tree.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Tree.Kind
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(VisitorCheck visitor)
Tree.Kind
getKind()
Tree
getParent()
boolean
is(Tree.Kind... kind)
-
-
-
Method Detail
-
is
boolean is(Tree.Kind... kind)
-
accept
void accept(VisitorCheck visitor)
-
getKind
Tree.Kind getKind()
-
-