public final class FieldAccessExpr extends Expression implements SymbolReference
| Constructor and Description |
|---|
FieldAccessExpr() |
FieldAccessExpr(Expression scope,
List<Type> typeArgs,
String field) |
FieldAccessExpr(Expression scope,
String field) |
FieldAccessExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression scope,
List<Type> typeArgs,
String field) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
FieldAccessExpr |
clone() |
List<Node> |
getChildren() |
String |
getField() |
Map<String,List<SymbolDefinition>> |
getMethodDefinitions()
Gets the available methods
|
Expression |
getScope() |
SymbolDefinition |
getSymbolDefinition() |
List<Type> |
getTypeArgs() |
Map<String,SymbolDefinition> |
getTypeDefinitions()
Gets the available variables
|
Map<String,SymbolDefinition> |
getVariableDefinitions()
Gets the available variables
|
boolean |
removeChild(Node child) |
boolean |
replaceChildNode(Node oldChild,
Node newChild) |
void |
setField(String field) |
void |
setScope(Expression scope) |
void |
setSymbolDefinition(SymbolDefinition symbolDefinition) |
void |
setTypeArgs(List<Type> typeArgs) |
getSymbolData, setSymbolDatacheck, clone, clone, contains, diableConstraints, enableConstraints, equals, getBeginColumn, getBeginLine, getCommonAncestor, getConstraints, getData, getEndColumn, getEndLine, getParentNode, getPrettySource, getPrettySource, hashCode, isAncestorOf, isInEqualLocation, isNewNode, isPreviousThan, remove, replaceChildNodeInList, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setConstraints, setData, setEndColumn, setEndLine, toString, updateReferencespublic FieldAccessExpr()
public FieldAccessExpr(Expression scope, String field)
public FieldAccessExpr(Expression scope, List<Type> typeArgs, String field)
public FieldAccessExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression scope,
List<Type> typeArgs,
String field)
public boolean removeChild(Node child)
removeChild in class Nodepublic List<Node> getChildren()
getChildren in class Expressionpublic <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic String getField()
public Expression getScope()
public void setField(String field)
public void setScope(Expression scope)
public SymbolDefinition getSymbolDefinition()
getSymbolDefinition in interface SymbolReferencepublic void setSymbolDefinition(SymbolDefinition symbolDefinition)
setSymbolDefinition in interface SymbolReferencepublic boolean replaceChildNode(Node oldChild, Node newChild)
replaceChildNode in class Nodepublic FieldAccessExpr clone() throws CloneNotSupportedException
clone in class ExpressionCloneNotSupportedExceptionpublic Map<String,SymbolDefinition> getVariableDefinitions()
ScopeAwaregetVariableDefinitions in interface ScopeAwarepublic Map<String,List<SymbolDefinition>> getMethodDefinitions()
ScopeAwaregetMethodDefinitions in interface ScopeAwarepublic Map<String,SymbolDefinition> getTypeDefinitions()
ScopeAwaregetTypeDefinitions in interface ScopeAwareCopyright © 2018. All rights reserved.