net.sourceforge.pmd.lang.ecmascript.ast
Class ASTWhileLoop

java.lang.Object
  extended by net.sourceforge.pmd.lang.ast.AbstractNode
      extended by net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode<org.mozilla.javascript.ast.WhileLoop>
          extended by net.sourceforge.pmd.lang.ecmascript.ast.ASTWhileLoop
All Implemented Interfaces:
Node, EcmascriptNode<org.mozilla.javascript.ast.WhileLoop>

public class ASTWhileLoop
extends AbstractEcmascriptNode<org.mozilla.javascript.ast.WhileLoop>


Field Summary
 
Fields inherited from class net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode
node
 
Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
 
Constructor Summary
ASTWhileLoop(org.mozilla.javascript.ast.WhileLoop whileLoop)
           
 
Method Summary
 EcmascriptNode getBody()
           
 EcmascriptNode getCondition()
           
 Object jjtAccept(EcmascriptParserVisitor visitor, Object data)
          Accept the visitor.
 
Methods inherited from class net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode
childrenAccept, getJsDoc, getNode, hasSideEffects, toString
 
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
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, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
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
 

Constructor Detail

ASTWhileLoop

public ASTWhileLoop(org.mozilla.javascript.ast.WhileLoop whileLoop)
Method Detail

jjtAccept

public Object jjtAccept(EcmascriptParserVisitor visitor,
                        Object data)
Accept the visitor.

Specified by:
jjtAccept in interface EcmascriptNode<org.mozilla.javascript.ast.WhileLoop>
Overrides:
jjtAccept in class AbstractEcmascriptNode<org.mozilla.javascript.ast.WhileLoop>

getCondition

public EcmascriptNode getCondition()

getBody

public EcmascriptNode getBody()


Copyright © 2002-2016 InfoEther. All Rights Reserved.