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 class
JExpr.AllocationExpr
A JExpr subclass for Allocation expressions.static class
JExpr.ArrayIndexExpr
A JExpr subclass for ArrayIndex expressions.static class
JExpr.CastExpr
A JExpr subclass for Cast expressions.
-
Constructor Summary
Constructors Constructor Description JExpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JClassRef
getParentClassRef()
Returns the parent JClassRef.JExpr
getParentExpr()
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
-
-