Package org.codehaus.janino
Class Java.AmbiguousName
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Rvalue
org.codehaus.janino.Java.Lvalue
org.codehaus.janino.Java.AmbiguousName
- All Implemented Interfaces:
Java.ArrayInitializerOrRvalue
,Java.ElementValue
,Java.Locatable
- Enclosing class:
- Java
This class is special: It does not extend/implement the Atom subclasses,
but overrides Atom's "to...()" methods.
-
Field Summary
FieldsFields inherited from class org.codehaus.janino.Java.Rvalue
JUMP_IF_FALSE, JUMP_IF_TRUE
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
Constructor Summary
ConstructorsConstructorDescriptionAmbiguousName
(Location location, String[] identifiers) AmbiguousName
(Location location, String[] identifiers, int n) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Visitor.AtomVisitor visitor) void
accept
(Visitor.ElementValueVisitor visitor) void
accept
(Visitor.LvalueVisitor visitor) void
accept
(Visitor.RvalueVisitor visitor) toLvalue()
toRvalue()
toString()
toType()
Methods inherited from class org.codehaus.janino.Java.Rvalue
getEnclosingBlockStatement, setEnclosingBlockStatement
Methods inherited from class org.codehaus.janino.Java.Atom
toLvalueOrCompileException, toRvalueOrCompileException, toTypeOrCompileException
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
-
Field Details
-
identifiers
-
n
public final int n
-
-
Constructor Details
-
AmbiguousName
-
AmbiguousName
-
-
Method Details
-
toType
-
toString
-
toLvalue
- Overrides:
toLvalue
in classJava.Lvalue
-
toRvalue
- Overrides:
toRvalue
in classJava.Rvalue
-
accept
-
accept
- Specified by:
accept
in classJava.Rvalue
-
accept
- Specified by:
accept
in classJava.Lvalue
-
accept
-