Package | Description |
---|---|
gololang.ir |
Java package for golo IR tree elements.
|
Modifier and Type | Method and Description |
---|---|
static LocalReference |
LocalReference.create(java.lang.Object name,
LocalReference.Kind kind) |
static LocalReference |
LocalReference.generate()
Creates a new local reference with a generated unique name.
|
static LocalReference |
LocalReference.generate(java.lang.String prefix) |
LocalReference |
ReferenceTable.get(java.lang.String name) |
LocalReference[] |
GoloAssignment.getDeclaringReferences()
Returns only the declaring references.
|
default LocalReference[] |
ReferencesHolder.getDeclaringReferences()
Returns only the declaring references.
|
LocalReference |
AssignmentStatement.getLocalReference() |
LocalReference |
ForEachLoopStatement.getLocalReference() |
LocalReference[] |
DestructuringAssignment.getReferences()
Returns the references contained in this element.
|
LocalReference[] |
AssignmentStatement.getReferences()
Returns the references contained in this element.
|
LocalReference[] |
ForEachLoopStatement.getReferences()
Returns the references contained in this element.
|
LocalReference[] |
LoopStatement.getReferences()
Returns the references contained in this element.
|
LocalReference[] |
ReferencesHolder.getReferences()
Returns the references contained in this element.
|
LocalReference |
GoloFunction.getSyntheticSelfReference() |
LocalReference |
LocalReference.index(int index) |
LocalReference |
LocalReference.kind(LocalReference.Kind k) |
LocalReference |
ReferenceLookup.letRef()
Creates a corresponding local reference.
|
LocalReference |
LocalReference.moduleLevel() |
static LocalReference |
LocalReference.of(java.lang.Object name)
Creates a local reference.
|
LocalReference |
ReferenceLookup.resolveIn(ReferenceTable referenceTable)
Resolves the reference in the given reference table.
|
protected LocalReference |
LocalReference.self() |
LocalReference |
LocalReference.synthetic() |
LocalReference |
LocalReference.synthetic(boolean isSynthetic) |
LocalReference |
LocalReference.variable() |
LocalReference |
ReferenceLookup.varRef()
Creates a corresponding local reference.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<LocalReference> |
ReferenceTable.ownedReferences() |
java.util.Collection<LocalReference> |
ReferenceTable.references()
Return the set of the references known to this table.
|
Modifier and Type | Method and Description |
---|---|
ReferenceTable |
ReferenceTable.add(LocalReference reference) |
void |
GoloIrVisitor.visitLocalReference(LocalReference localRef) |
void |
AbstractGoloIrVisitor.visitLocalReference(LocalReference localRef) |
void |
Visitors.DispatchIrVisitor.visitLocalReference(LocalReference elt) |
void |
IrTreeDumper.visitLocalReference(LocalReference ref) |