public static final class Java.AmbiguousName extends Java.Lvalue
This class is special: It does not extend/implement the Java.Atom subclasses, but overrides Java.Atom's
"to...()" methods.
| Modifier and Type | Field and Description |
|---|---|
String[] |
identifiers
The first
n of these identifiers comprise this ambiguous name. |
int |
n |
NOWHERE| Constructor and Description |
|---|
AmbiguousName(Location location,
String[] identifiers) |
AmbiguousName(Location location,
String[] identifiers,
int n) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.LvalueVisitor<R,EX> visitor)
|
Java.Lvalue |
toLvalue() |
Java.Rvalue |
toRvalue() |
String |
toString() |
Java.Type |
toType() |
acceptaccept, accept, getEnclosingScope, getEnclosingScopeOrNull, setEnclosingScopetoLvalueOrCompileException, toRvalueOrCompileException, toTypeOrCompileExceptiongetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final String[] identifiers
n of these identifiers comprise this ambiguous name.public final int n
identifierspublic Java.Type toType()
@Nullable public Java.Lvalue toLvalue()
toLvalue in class Java.LvalueJava.Lvalue, or null if this atom is not an lvalue@Nullable public Java.Rvalue toRvalue()
toRvalue in class Java.RvalueJava.Rvalue, or null if this atom is not an rvalue@Nullable public <R,EX extends Throwable> R accept(Visitor.LvalueVisitor<R,EX> visitor) throws EX extends Throwable
Java.Lvalueaccept in class Java.LvalueEX extends ThrowableCopyright © 2019. All rights reserved.