public class DisjunctivePrincipal_c extends Principal_c implements DisjunctivePrincipal
variables| Constructor and Description |
|---|
DisjunctivePrincipal_c(java.util.Collection<Principal> disjuncts,
JifTypeSystem ts,
polyglot.util.Position pos,
PrincipalToJavaExpr toJava) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Principal> |
disjuncts() |
boolean |
equalsImpl(polyglot.types.TypeObject o) |
int |
hashCode() |
boolean |
isCanonical() |
boolean |
isRuntimeRepresentable() |
Principal |
subst(LabelSubstitution substitution) |
java.lang.String |
toString() |
hasVariables, isBottomPrincipal, isTopPrincipal, labelCheck, simplify, throwTypes, toJava, variablestypeSystemclone, finalize, getClass, notify, notifyAll, wait, wait, waithasVariables, isBottomPrincipal, isTopPrincipal, labelCheck, simplify, throwTypes, variablestoJavatypeSystempublic DisjunctivePrincipal_c(java.util.Collection<Principal> disjuncts, JifTypeSystem ts, polyglot.util.Position pos, PrincipalToJavaExpr toJava)
public boolean isRuntimeRepresentable()
isRuntimeRepresentable in interface ParamisRuntimeRepresentable in class Principal_cpublic boolean isCanonical()
isCanonical in interface ParamisCanonical in interface polyglot.types.TypeObjectisCanonical in class Principal_cpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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<Principal> disjuncts()
disjuncts in interface DisjunctivePrincipalpublic Principal subst(LabelSubstitution substitution) throws polyglot.types.SemanticException
subst in interface ActsForParamsubst in interface Principalsubst in class Principal_csubstitution - The LabelSubstitution to apply to this
principalpolyglot.types.SemanticException