public class NameBinder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
bind(Scope s,
java.util.List<NNode> xs,
NType rvalue) |
void |
bind(Scope s,
NNode target,
NType rvalue) |
void |
bindIter(Scope s,
NNode target,
NNode iter) |
NBinding |
bindName(Scope s,
NName name,
NType rvalue) |
static NameBinder |
make()
Factory method for creating instances.
|
static NameBinder |
make(NBinding.Kind kind)
Factory method for creating instances.
|
public static NameBinder make()
public static NameBinder make(NBinding.Kind kind)
NameBinder
that will create bindings of kind
,
overriding the default choices.public void bind(Scope s, NNode target, NType rvalue) throws java.lang.Exception
java.lang.Exception
public void bind(Scope s, java.util.List<NNode> xs, NType rvalue) throws java.lang.Exception
java.lang.Exception
public NBinding bindName(Scope s, NName name, NType rvalue) throws java.lang.Exception
java.lang.Exception