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, variables
typeSystem
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
hasVariables, isBottomPrincipal, isTopPrincipal, labelCheck, simplify, throwTypes, variables
toJava
typeSystem
public DisjunctivePrincipal_c(java.util.Collection<Principal> disjuncts, JifTypeSystem ts, polyglot.util.Position pos, PrincipalToJavaExpr toJava)
public boolean isRuntimeRepresentable()
isRuntimeRepresentable
in interface Param
isRuntimeRepresentable
in class Principal_c
public boolean isCanonical()
isCanonical
in interface Param
isCanonical
in interface polyglot.types.TypeObject
isCanonical
in class Principal_c
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equalsImpl(polyglot.types.TypeObject o)
equalsImpl
in interface polyglot.types.TypeObject
equalsImpl
in class Principal_c
public int hashCode()
hashCode
in class Principal_c
public java.util.Set<Principal> disjuncts()
disjuncts
in interface DisjunctivePrincipal
public Principal subst(LabelSubstitution substitution) throws polyglot.types.SemanticException
subst
in interface ActsForParam
subst
in interface Principal
subst
in class Principal_c
substitution
- The LabelSubstitution
to apply to this
principalpolyglot.types.SemanticException