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
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String[]The firstnof these identifiers comprise this ambiguous name.final int(package private) Java.AtomThe result of "ambiguous name resolution" during compilation.private Java.TypeFields inherited from class Java.Rvalue
CONSTANT_VALUE_UNKNOWN, constantValueFields inherited from class Java.Located
NOWHERE -
Constructor Summary
ConstructorsConstructorDescriptionAmbiguousName(Location location, String[] identifiers) AmbiguousName(Location location, String[] identifiers, int n) -
Method Summary
Methods inherited from class Java.Lvalue
acceptMethods inherited from class Java.Rvalue
accept, accept, accept, getEnclosingScope, getEnclosingScopeOrNull, setEnclosingScopeMethods inherited from class Java.Atom
toLvalueOrCompileException, toRvalueOrCompileException, toTypeOrCompileExceptionMethods inherited from class Java.Located
getLocation, throwCompileExceptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Java.Locatable
getLocation, throwCompileException
-
Field Details
-
identifiers
-
n
public final int n- See Also:
-
type
-
reclassified
-
-
Constructor Details
-
AmbiguousName
-
AmbiguousName
-
-
Method Details
-
toType
-
toString
-
toLvalue
- Overrides:
toLvaluein classJava.Lvalue- Returns:
- This atom, converted to
Java.Lvalue, ornullif this atom is not an lvalue
-
toRvalue
- Overrides:
toRvaluein classJava.Rvalue- Returns:
- This atom, converted to
Java.Rvalue, ornullif this atom is not an rvalue
-
accept
Description copied from class:Java.Lvalue- Specified by:
acceptin classJava.Lvalue- Throws:
EX
-