Class JExpr
- java.lang.Object
-
- com.inductiveautomation.snap.javatree.JNode
-
- com.inductiveautomation.snap.javatree.JExpr
-
- Direct Known Subclasses:
JExpr.AllocationExpr,JExpr.ArrayIndexExpr,JExpr.CastExpr,JExprChain,JExprMath,JIdentifier,JLiteral,JMethodCall
public class JExpr extends JNode
The JNode base class for Java expressions. See: JLiteral, JIdentifier, JMethodCall, JOpExpr, ArrayIndex, Allocation, Cast
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJExpr.AllocationExprA JExpr subclass for Allocation expressions.static classJExpr.ArrayIndexExprA JExpr subclass for ArrayIndex expressions.static classJExpr.CastExprA JExpr subclass for Cast expressions.
-
Constructor Summary
Constructors Constructor Description JExpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JClassRefgetParentClassRef()Returns the parent JClassRef.JExprgetParentExpr()Returns the expression prior to this expression, if parent is JExprChain and this expression isn't first.-
Methods inherited from class com.inductiveautomation.snap.javatree.JNode
addChild, buildChildren, getBlock, 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, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
-
-