public class VarPrincipal_c extends Principal_c implements VarPrincipal
VarPrincipal interface.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
description |
variables| Constructor and Description |
|---|
VarPrincipal_c(java.lang.String name,
java.lang.String description,
JifTypeSystem ts,
polyglot.util.Position pos) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsImpl(polyglot.types.TypeObject o) |
int |
hashCode() |
boolean |
isCanonical() |
boolean |
isRuntimeRepresentable() |
boolean |
mustRuntimeRepresentable()
Does this var label need to map to a runtime representable label?
|
java.lang.String |
name() |
protected void |
setDescription(java.lang.String description) |
void |
setMustRuntimeRepresentable()
Set the mustRuntimeRepresentable flag, meaning that any solution for this
VarLabel must be to a runtime representable label.
|
java.lang.String |
toString() |
java.util.Set<Variable> |
variables()
The set of variables that this label contains including variables contained
in upper bounds of arg labels.
|
hasVariables, isBottomPrincipal, isTopPrincipal, labelCheck, simplify, subst, throwTypes, toJavatypeSystemclone, finalize, getClass, notify, notifyAll, wait, wait, waithasVariables, isBottomPrincipal, isTopPrincipal, labelCheck, simplify, subst, throwTypestoJavatypeSystempublic VarPrincipal_c(java.lang.String name,
java.lang.String description,
JifTypeSystem ts,
polyglot.util.Position pos)
protected void setDescription(java.lang.String description)
public boolean isCanonical()
isCanonical in interface ParamisCanonical in interface polyglot.types.TypeObjectisCanonical in class Principal_cpublic void setMustRuntimeRepresentable()
VariablesetMustRuntimeRepresentable in interface Variablepublic boolean mustRuntimeRepresentable()
VariablemustRuntimeRepresentable in interface Variablepublic boolean equalsImpl(polyglot.types.TypeObject o)
equalsImpl in interface polyglot.types.TypeObjectequalsImpl in class Principal_cpublic int hashCode()
hashCode in class Principal_cpublic java.util.Set<Variable> variables()
Principalvariables in interface Principalvariables in class Principal_cpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isRuntimeRepresentable()
isRuntimeRepresentable in interface ParamisRuntimeRepresentable in class Principal_c