Class JStmtExpr
- java.lang.Object
-
- com.inductiveautomation.snap.javatree.JNode
-
- com.inductiveautomation.snap.javatree.JStmt
-
- com.inductiveautomation.snap.javatree.JStmtExpr
-
public class JStmtExpr extends JStmt
A Java statement for statements that are just expressions.
-
-
Constructor Summary
Constructors Constructor Description JStmtExpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getClassNameImpl()
Tries to resolve the class name for this node.JExpr
getExpr()
Returns the expression.void
setExpr(JExpr anExpr)
Sets the expression.void
toString(java.lang.StringBuffer aSB, java.lang.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 Detail
-
expr
public JExpr expr
-
-
Method Detail
-
getExpr
public JExpr getExpr()
Returns the expression.
-
setExpr
public void setExpr(JExpr anExpr)
Sets the expression.
-
getClassNameImpl
protected java.lang.String getClassNameImpl()
Tries to resolve the class name for this node.- Overrides:
getClassNameImpl
in classJNode
-
toString
public void toString(java.lang.StringBuffer aSB, java.lang.String anIndent)
Standard toString implementation.
-
-