public class ASTIfStatement extends AbstractEcmascriptNode<org.mozilla.javascript.ast.IfStatement>
node
beginColumn, beginLine, childIndex, children, endColumn, endLine, id, 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() |
Object |
jjtAccept(EcmascriptParserVisitor visitor,
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, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLine
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, setDataFlowNode, setImage, setUserData
public ASTIfStatement(org.mozilla.javascript.ast.IfStatement ifStatement)
public Object jjtAccept(EcmascriptParserVisitor visitor, 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-2015 InfoEther. All Rights Reserved.