|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.jaskell.ast.Alternative
public class Alternative
An Alternative is one alternative function definition. A function definition is composed of 1 or more alternatives where each one corresponds to a pattern match case.
Zephyr Business Solutions Corp.s.
| Constructor Summary | |
|---|---|
Alternative(Param[] params,
Expr body)
|
|
| Method Summary | |
|---|---|
Expr |
getBody()
Get the function body. |
Param[] |
getParams()
Get the parameters of this alternative. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Alternative(Param[] params,
Expr body)
| Method Detail |
|---|
public Expr getBody()
public Param[] getParams()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||