Class JStmtWhile
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JStmt
com.inductiveautomation.snap.javatree.JStmtWhile
A Java statement for WhileStatement.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlock()Returns the statement block.Returns the conditional.Returns the statement.booleanisBlock()Returns whether statement has a block associated with it.voidsetConditional(JExpr aCond) Sets the conditional.voidsetStatement(JStmt aStmt) Sets the statement.Methods inherited from class JNode
addChild, buildChildren, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassNameImpl, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNameImpl, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
-
Field Details
-
conditional
-
statement
-
-
Constructor Details
-
JStmtWhile
public JStmtWhile()
-
-
Method Details
-
getConditional
Returns the conditional. -
setConditional
Sets the conditional. -
getStatement
Returns the statement. -
setStatement
Sets the statement. -
isBlock
-
getBlock
-