@ParametersAreNonnullByDefault
Package org.sonar.plugins.php.api.tree.statement
-
Interface Summary Interface Description BlockTree A BlockTree is a list of zero or moreBlockTree.statements()
between braces which can be used anywhere a single statement is allowed.BreakStatementTree CaseClauseTree Case clause in switch statement (seeSwitchStatementTree
).CatchBlockTree Catch block of try statement (seeTryStatementTree
).ContinueStatementTree DeclareStatementTree DefaultClauseTree Default case clause in switch statement (seeSwitchStatementTree
).DoWhileStatementTree EchoTagStatementTree An EchoTagStatementTree is an AST node that wrap an expression list to represent the php tag: <?=EchoTagStatementTree.expressions()
?>ElseClauseTree ElseifClauseTree EmptyStatementTree An empty statement is written as a single semicolon (;
).ExpressionListStatementTree Deprecated. since 3.1.ExpressionStatementTree Expression statement is used for processing expressions, e.g.ForEachStatementTree Represents foreach statement and alternative foreach statement syntax as well.ForStatementTree Represents for statement and alternative for statement syntax as well.GlobalStatementTree Global variable declarationGotoStatementTree IfStatementTree Represents if statement and alternative if statement syntax as well.InlineHTMLTree This interface presents HTML code embedded into php code.LabelTree Label which is used by goto statement.NamespaceStatementTree Namespace definitionReturnStatementTree StatementTree Parent interface for all the trees representing statements (e.g.StaticStatementTree Static variable declarationSwitchCaseClauseTree General interface for switch clauses.SwitchStatementTree ThrowStatementTree TraitAdaptationStatementTree TraitAliasTree TraitMethodReferenceTree TraitPrecedenceTree TryStatementTree UnsetVariableStatementTree UseClauseTree Use namespaces declaration clauseUseStatementTree Use namespaces declarationUseTraitDeclarationTree WhileStatementTree Represents while statement and alternative while statement syntax as well.