public class Bindings
extends java.lang.Object
Constructor and Description |
---|
Bindings(BindingPattern[] bindings) |
Bindings(int count) |
Modifier and Type | Method and Description |
---|---|
void |
checkAllBound(IScope scope) |
void |
checkEquals(Bindings other,
IScope scope)
signals an error if one has a binding and other doesn't
|
Bindings |
copy() |
int[] |
getUsedFormals() |
UnresolvedType[] |
getUsedFormalTypes() |
void |
mergeIn(Bindings other,
IScope scope) |
void |
register(BindingPattern binding,
IScope scope) |
int |
size() |
java.lang.String |
toString() |
public static final Bindings NONE
public Bindings(BindingPattern[] bindings)
public Bindings(int count)
public void register(BindingPattern binding, IScope scope)
public void checkEquals(Bindings other, IScope scope)
public java.lang.String toString()
toString
in class java.lang.Object
public int[] getUsedFormals()
public UnresolvedType[] getUsedFormalTypes()
public Bindings copy()
public void checkAllBound(IScope scope)
public int size()