eu.bandm.sig.absy
Class Pattern
java.lang.Object
eu.bandm.sig.absy.Absy
eu.bandm.sig.absy.Pattern
- All Implemented Interfaces:
- Formattable, Cloneable
- Direct Known Subclasses:
- AggregatePattern, BinaryPattern, ConjunctivePattern, PatternVariable, PCast, PVar, TuplePattern, VariantPattern
public abstract class Pattern
- extends Absy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected Type type
get_type
public static final Function<Pattern,Type> get_type
set_type
public static final Consumer<Type,Pattern> set_type
bindings
protected CheckedMap_D<Variable,Type> bindings
get_bindings
public static final Function<Pattern,CheckedMap_D<Variable,Type>> get_bindings
set_bindings
public static final Consumer<CheckedMap_D<Variable,Type>,Pattern> set_bindings
Pattern
public Pattern()
doclone
public Pattern doclone()
- Overrides:
doclone
in class Absy
format
public Format format()
- Specified by:
format
in interface Formattable
- Overrides:
format
in class Absy
initFrom
public Pattern initFrom(Object o0)
- Overrides:
initFrom
in class Absy
get_type
public Type get_type()
set_type
public boolean set_type(Type val)
get_bindings
public CheckedMap_D<Variable,Type> get_bindings()
set_bindings
public boolean set_bindings(CheckedMap_D<Variable,Type> val)
descend_bindings
public void descend_bindings(MATCH_ONLY_00 visitor)