|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--ix.util.match.MatchEnv
A root class for objects that contain the bindings that result from pattern-matching.
MatchEnvs are not used automatically in MatchTable-based matching; they are merely available in case they are useful. For instance, a MatchCase tryMatch method might construct a MatchEnv while matching and return it if the match succeeds. It would then be passed to the MatchCase's ifSelected method by the MatchTable.
MatchTable
,
MatchCase
, Serialized FormInner classes inherited from class java.util.Map |
java.util.Map.Entry |
Constructor Summary | |
MatchEnv()
|
Method Summary | |
java.lang.Object |
instantiateTree(java.lang.Object tree)
|
java.lang.Object |
instantiateTree(java.lang.Object tree,
Function1 ifUnbound)
|
Methods inherited from class java.util.Hashtable |
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MatchEnv()
Method Detail |
public java.lang.Object instantiateTree(java.lang.Object tree)
public java.lang.Object instantiateTree(java.lang.Object tree, Function1 ifUnbound)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |