public class ASTIfStatement extends AbstractEcmascriptNode<org.mozilla.javascript.ast.IfStatement>
node
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor and Description |
---|
ASTIfStatement(org.mozilla.javascript.ast.IfStatement ifStatement) |
Modifier and Type | Method and Description |
---|---|
EcmascriptNode<?> |
getCondition() |
EcmascriptNode<?> |
getElse() |
EcmascriptNode<?> |
getThen() |
boolean |
hasElse() |
java.lang.Object |
jjtAccept(EcmascriptParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
childrenAccept, getJsDoc, getNode, hasSideEffects, toString
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
public ASTIfStatement(org.mozilla.javascript.ast.IfStatement ifStatement)
public java.lang.Object jjtAccept(EcmascriptParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface EcmascriptNode<org.mozilla.javascript.ast.IfStatement>
jjtAccept
in class AbstractEcmascriptNode<org.mozilla.javascript.ast.IfStatement>
public boolean hasElse()
public EcmascriptNode<?> getCondition()
public EcmascriptNode<?> getThen()
public EcmascriptNode<?> getElse()
Copyright © 2002–2018 PMD. All rights reserved.