|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectix.util.match.MatchCase
ix.iface.domain.LTF_Parser.ConstraintParser
public abstract static class LTF_Parser.ConstraintParser
Field Summary |
---|
Fields inherited from class ix.util.match.MatchCase |
---|
pattern |
Method Summary | |
---|---|
java.lang.Object |
ifSelected(java.lang.Object spec,
java.lang.Object match)
ifSelected is called by the MatchTable when tryMatch returns a non-null result. |
abstract Constraint |
makeConstraint(LList spec,
MatchEnv env)
|
abstract Constraint |
makeTemplate()
|
java.lang.Object |
tryMatch(java.lang.Object spec)
tryMatch attempts to match against the pattern, returning null if the match fails and some non-null object (such as a MatchEnv) if the match succeeds. |
Methods inherited from class ix.util.match.MatchCase |
---|
getPattern |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Object tryMatch(java.lang.Object spec)
MatchCase
tryMatch
in class MatchCase
public java.lang.Object ifSelected(java.lang.Object spec, java.lang.Object match)
MatchCase
ifSelected
in class MatchCase
public abstract Constraint makeConstraint(LList spec, MatchEnv env)
public abstract Constraint makeTemplate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |