| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.ast.extended.pattern.Pattern
orc.ast.extended.pattern.WildcardPattern
public class WildcardPattern
| Field Summary | 
|---|
| Fields inherited from class orc.ast.extended.pattern.Pattern | 
|---|
EQUAL, ERROR, IF, NONE, SOME, TRYCONS, TRYNIL, TRYNONE, TRYSOME | 
| Constructor Summary | |
|---|---|
WildcardPattern()
 | 
|
| Method Summary | ||
|---|---|---|
 | 
accept(Visitor<E> visitor)
 | 
|
 void | 
process(Variable fragment,
        PatternSimplifier visitor)
Visit a pattern recursively, creating two products: An expression that will examine a value to determine whether it matches a pattern, building an output tuple of all value fragments which will be bound to variables.  | 
|
 boolean | 
strict()
 | 
|
 java.lang.String | 
toString()
 | 
|
| Methods inherited from class orc.ast.extended.pattern.Pattern | 
|---|
caseof, compare, condense, fail, getSourceLocation, lift, nth, process, setSourceLocation, trycons, trynil, trysize, unapply | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public WildcardPattern()
| Method Detail | 
|---|
public boolean strict()
strict in class Pattern
public void process(Variable fragment,
                    PatternSimplifier visitor)
Pattern
process in class Patternfragment - A variable holding the current fragment of the value to be matchedvisitor - A visitor object which accumulates an expression and a transformerpublic java.lang.String toString()
toString in class java.lang.Objectpublic <E> E accept(Visitor<E> visitor)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||