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
The JNode base class for Java expressions.
See: JLiteral, JIdentifier, JMethodCall, JOpExpr, ArrayIndex, Allocation, Cast
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A JExpr subclass for Allocation expressions.static class
A JExpr subclass for ArrayIndex expressions.static class
A JExpr subclass for Cast expressions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the parent JClassRef.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
-
Constructor Details
-
JExpr
public JExpr()
-
-
Method Details
-
getParentExpr
Returns the expression prior to this expression, if parent is JExprChain and this expression isn't first. -
getParentClassRef
Returns the parent JClassRef.
-