Package | Description |
---|---|
jfun.jaskell.ast |
Provides classes and interfaces for the abstract syntax tree of jaskell.
|
Modifier and Type | Method and Description |
---|---|
static Param |
Params.buildAnonymous()
create an anonymous '_' parameter.
|
static Param |
Params.buildBinding(Binding b)
create a compiled parameter name.
|
static Param |
Params.buildName(java.lang.String name)
create a uncompiled parameter name.
|
static Param |
Params.buildPattern(Pattern p)
create a parameter pattern.
|
Param[] |
Alternative.getParams()
Get the parameters of this alternative.
|
Modifier and Type | Method and Description |
---|---|
static Expr |
Exprs.buildLamda(int from,
Location loc,
Param[] params,
Expr body)
Build an expression for lamda abstraction.
|
Constructor and Description |
---|
Alternative(Param[] params,
Expr body) |