public class JifDisamb_c
extends polyglot.ast.Disamb_c
Disamb_c
to deal with using the correct instantiations of polymorphic classes.Constructor and Description |
---|
JifDisamb_c() |
Modifier and Type | Method and Description |
---|---|
protected polyglot.ast.Node |
disambiguateVarInstance(polyglot.types.VarInstance vi) |
protected polyglot.ast.Receiver |
makeMissingFieldTarget(polyglot.types.FieldInstance fi)
Override superclass functionality to avoid returning an
uninstantiated polymorphic class.
|
protected polyglot.ast.Node disambiguateVarInstance(polyglot.types.VarInstance vi) throws polyglot.types.SemanticException
disambiguateVarInstance
in class polyglot.ast.Disamb_c
polyglot.types.SemanticException
protected polyglot.ast.Receiver makeMissingFieldTarget(polyglot.types.FieldInstance fi) throws polyglot.types.SemanticException
makeMissingFieldTarget
in class polyglot.ast.Disamb_c
polyglot.types.SemanticException