|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjif.types.hierarchy.LabelEnv_c
public class LabelEnv_c
The wrapper of a set of assumptions that can be used to decide whether L1 <= L2.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jif.types.hierarchy.LabelEnv |
|---|
LabelEnv.SearchState |
| Constructor Summary | |
|---|---|
LabelEnv_c(JifTypeSystem ts,
boolean useCache)
|
|
| Method Summary | |
|---|---|
void |
addActsFor(Principal p1,
Principal p2)
|
void |
addAssertionLE(Label L1,
Label L2)
|
void |
addAssertionLE(Label L1,
Label L2,
boolean updateDisplayString)
|
void |
addEquiv(Label L1,
Label L2)
|
void |
addEquiv(Principal p1,
Principal p2)
|
LabelEnv |
copy()
|
java.util.Map |
definitions(VarMap bounds,
java.util.Set seenComponents)
Returns a Map of Strings to List[String]s which is the descriptions of any components that appear in the environment. |
boolean |
hasVariables()
Do any of the assertions in this label environment contain variables? |
boolean |
isEmpty()
Is this enviornment empty, or does is contain some constraints? |
boolean |
leq(Label L1,
Label L2)
|
boolean |
leq(Label L1,
Label L2,
LabelEnv.SearchState state)
Recursive implementation of L1 <= L2. |
PrincipalHierarchy |
ph()
|
void |
setSolver(Solver s)
Set the solver used for this Label Environment. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LabelEnv_c(JifTypeSystem ts,
boolean useCache)
| Method Detail |
|---|
public void setSolver(Solver s)
LabelEnv
setSolver in interface LabelEnvpublic PrincipalHierarchy ph()
ph in interface LabelEnvpublic boolean hasVariables()
LabelEnv
hasVariables in interface LabelEnv
public void addActsFor(Principal p1,
Principal p2)
addActsFor in interface LabelEnv
public void addEquiv(Principal p1,
Principal p2)
addEquiv in interface LabelEnv
public void addAssertionLE(Label L1,
Label L2)
addAssertionLE in interface LabelEnv
public void addAssertionLE(Label L1,
Label L2,
boolean updateDisplayString)
public void addEquiv(Label L1,
Label L2)
addEquiv in interface LabelEnvpublic LabelEnv copy()
copy in interface LabelEnv
public boolean leq(Label L1,
Label L2)
leq in interface LabelEnv
public boolean leq(Label L1,
Label L2,
LabelEnv.SearchState state)
leq in interface LabelEnvpublic boolean isEmpty()
isEmpty in interface LabelEnvpublic java.lang.String toString()
toString in class java.lang.Object
public java.util.Map definitions(VarMap bounds,
java.util.Set seenComponents)
definitions in interface LabelEnv
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||