public static final class Java.AmbiguousName extends Java.Lvalue
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 |
---|---|
void |
accept(Visitor.AtomVisitor visitor)
|
void |
accept(Visitor.ElementValueVisitor visitor)
Invokes the '
visit...() ' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
void |
accept(Visitor.LvalueVisitor visitor)
|
void |
accept(Visitor.RvalueVisitor visitor)
|
Java.Lvalue |
toLvalue() |
Java.Rvalue |
toRvalue() |
String |
toString() |
Java.Type |
toType() |
getEnclosingBlockStatement, setEnclosingBlockStatement
toLvalueOrCompileException, toRvalueOrCompileException, toTypeOrCompileException
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocation, throwCompileException
public final String[] identifiers
n
of these identifiers comprise this ambiguous name.public final int n
identifiers
public Java.Type toType()
public Java.Lvalue toLvalue()
toLvalue
in class Java.Lvalue
Java.Lvalue
, or null
if this atom is not an lvaluepublic Java.Rvalue toRvalue()
toRvalue
in class Java.Rvalue
Java.Rvalue
, or null
if this atom is not an rvaluepublic void accept(Visitor.AtomVisitor visitor)
Java.Atom
public void accept(Visitor.RvalueVisitor visitor)
Java.Rvalue
accept
in class Java.Rvalue
public void accept(Visitor.LvalueVisitor visitor)
Java.Lvalue
accept
in class Java.Lvalue
public void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValue
visit...()
' method of Visitor.ElementValueVisitor
for the concrete Java.ElementValue
type.Copyright © 2001–2016. All rights reserved.