public class JExprChain extends JExpr
JExpr.AllocationExpr, JExpr.ArrayIndexExpr, JExpr.CastExpr
Constructor and Description |
---|
JExprChain()
Creates a new JExprChain.
|
JExprChain(JExpr... theExpressions)
Creates a new JExprChain for given parts.
|
Modifier and Type | Method and Description |
---|---|
void |
addExpr(JExpr anExpr)
Adds a expression to this JExprChain.
|
protected void |
buildChildren()
Initializes children list by adding children from IVars.
|
protected java.lang.String |
getClassNameImpl()
Tries to resolve the class name for this node.
|
JExpr |
getExpr(int anIndex)
Returns the individual expression at given index.
|
int |
getExprCount()
Returns the number of expressions.
|
java.util.List<JExpr> |
getExpressions()
Returns the expressions list.
|
protected java.lang.String |
getNameImpl()
Returns the name for Identifier or Method.
|
java.lang.String |
getNodeString()
Returns the part name.
|
JExpr |
removeExpr(int anIndex)
Removes a expression at given index.
|
getParentClassRef, getParentExpr
addChild, getBlock, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
public JExprChain()
public JExprChain(JExpr... theExpressions)
protected java.lang.String getNameImpl()
getNameImpl
in class JNode
public int getExprCount()
public JExpr getExpr(int anIndex)
public java.util.List<JExpr> getExpressions()
public void addExpr(JExpr anExpr)
public JExpr removeExpr(int anIndex)
protected java.lang.String getClassNameImpl()
getClassNameImpl
in class JNode
protected void buildChildren()
buildChildren
in class JNode
public java.lang.String getNodeString()
getNodeString
in class JNode