Class JStmtFor
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JStmt
com.inductiveautomation.snap.javatree.JStmtFor
A JStatement for for() statements.
- 
Field SummaryFieldsModifier and TypeFieldDescription
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetBlock()Returns the statement block.Returns the conditional.Returns the init declaration.Returns the init statements.Returns the update statements.getVariableDeclInside(String aName) Returns a variable with given name.booleanisBlock()Returns whether statement has a block associated with it.Methods inherited from class com.inductiveautomation.snap.javatree.JNodeaddChild, 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, getVariableDecls, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
- 
Field Details- 
initDecl
- 
conditional
- 
updateStmts
- 
initStmts
- 
statement
 
- 
- 
Constructor Details- 
JStmtForpublic JStmtFor()
 
- 
- 
Method Details- 
getInitDeclReturns the init declaration.
- 
getConditionalReturns the conditional.
- 
getUpdateStmtsReturns the update statements.
- 
getInitStmtsReturns the init statements.
- 
isBlockpublic boolean isBlock()Returns whether statement has a block associated with it.
- 
getBlockReturns the statement block.
- 
getVariableDeclInsideReturns a variable with given name.- Overrides:
- getVariableDeclInsidein class- JNode
 
 
-