net.sourceforge.pmd.lang.ast.Node, EcmascriptNode<org.mozilla.javascript.ast.TryStatement>public class ASTTryStatement extends AbstractEcmascriptNode<org.mozilla.javascript.ast.TryStatement>
node| Constructor | Description |
|---|---|
ASTTryStatement(org.mozilla.javascript.ast.TryStatement tryStatement) |
| Modifier and Type | Method | Description |
|---|---|---|
ASTCatchClause |
getCatchClause(int index) |
|
EcmascriptNode<?> |
getFinallyBlock() |
|
int |
getNumCatchClause() |
|
EcmascriptNode<?> |
getTryBlock() |
|
boolean |
hasCatch() |
|
boolean |
hasFinally() |
|
boolean |
isCatch() |
Deprecated.
|
boolean |
isFinally() |
Deprecated.
|
java.lang.Object |
jjtAccept(EcmascriptParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
childrenAccept, getJsDoc, getNode, getXPathNodeName, hasSideEffectsappendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toStringfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserDatapublic ASTTryStatement(org.mozilla.javascript.ast.TryStatement tryStatement)
public java.lang.Object jjtAccept(EcmascriptParserVisitor visitor, java.lang.Object data)
jjtAccept in interface EcmascriptNode<org.mozilla.javascript.ast.TryStatement>jjtAccept in class AbstractEcmascriptNode<org.mozilla.javascript.ast.TryStatement>public EcmascriptNode<?> getTryBlock()
@Deprecated public boolean isCatch()
public boolean hasCatch()
public int getNumCatchClause()
public ASTCatchClause getCatchClause(int index)
@Deprecated public boolean isFinally()
public boolean hasFinally()
public EcmascriptNode<?> getFinallyBlock()
Copyright © 2002–2018 PMD. All rights reserved.