Class JStmtExpr
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JStmt
com.inductiveautomation.snap.javatree.JStmtExpr
A Java statement for statements that are just expressions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Tries to resolve the class name for this node.getExpr()
Returns the expression.void
Sets the expression.void
toString
(StringBuffer aSB, String anIndent) Standard toString implementation.Methods inherited from class com.inductiveautomation.snap.javatree.JNode
addChild, buildChildren, getBlock, getChild, getChildCount, getChildren, getClassLoader, getClassName, 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, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
-
Field Details
-
expr
-
-
Constructor Details
-
JStmtExpr
public JStmtExpr()
-
-
Method Details
-
getExpr
Returns the expression. -
setExpr
Sets the expression. -
getClassNameImpl
Tries to resolve the class name for this node.- Overrides:
getClassNameImpl
in classJNode
-
toString
Standard toString implementation.
-