Interface ASTStatement
-
- All Superinterfaces:
GenericNode<JavaNode>
,JavaNode
,JjtreeNode<JavaNode>
,Node
,Reportable
,TextAvailableNode
- All Known Subinterfaces:
ASTLoopStatement
- All Known Implementing Classes:
ASTAssertStatement
,ASTBlock
,ASTBreakStatement
,ASTContinueStatement
,ASTDoStatement
,ASTEmptyStatement
,ASTExplicitConstructorInvocation
,ASTExpressionStatement
,ASTForeachStatement
,ASTForStatement
,ASTIfStatement
,ASTLabeledStatement
,ASTLocalClassStatement
,ASTLocalVariableDeclaration
,ASTReturnStatement
,ASTStatementExpressionList
,ASTSwitchStatement
,ASTSynchronizedStatement
,ASTThrowStatement
,ASTTryStatement
,ASTWhileStatement
,ASTYieldStatement
public interface ASTStatement extends JavaNode
Represents a code statement.Statement ::=
AssertStatement
|Block
|BreakStatement
|ContinueStatement
|DoStatement
|EmptyStatement
|ExplicitConstructorInvocation
|ExpressionStatement
|ForeachStatement
|ForStatement
|IfStatement
|LabeledStatement
|LocalClassStatement
|LocalVariableDeclaration
|ReturnStatement
|StatementExpressionList
|SwitchStatement
|SynchronizedStatement
|ThrowStatement
|TryStatement
|WhileStatement
|YieldStatement
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Method Summary
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getNthParent, getParent, getPreviousSibling
-
Methods inherited from interface net.sourceforge.pmd.lang.java.ast.JavaNode
getEnclosingType, getRoot, getSymbolTable, getTypeSystem, jjtAccept
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode
getFirstToken, getLastToken, tokens
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, children, compareLocation, descendants, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getParentsOfType, getReportLocation, getTextDocument, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasDescendantOfType, hasImageEqualTo, isFindBoundary
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.TextAvailableNode
getOriginalText, getText, getTextRegion
-
-