|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.chalmers.cs.gf.gfcutil.Function
public class Function
Represents a GFC function.
Constructor Summary | |
---|---|
Function(java.lang.String name,
se.chalmers.cs.gf.GFC.Absyn.Exp exp)
|
Method Summary | |
---|---|
boolean |
equals(Function f)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getArgCat(int i)
Get one of the argument types of this function. |
java.util.List<java.lang.String> |
getArgCats()
Get the argument types of this function. |
int |
getArity()
Get the number of arguments that this function takes. |
java.lang.String |
getName()
Get the name of this function. |
java.lang.String |
getResultCat()
Get the result type of this function |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Function(java.lang.String name, se.chalmers.cs.gf.GFC.Absyn.Exp exp)
Method Detail |
---|
public java.lang.String getName()
getName
in interface Definition
public java.util.List<java.lang.String> getArgCats()
public java.lang.String getArgCat(int i)
public java.lang.String getResultCat()
public int getArity()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean equals(Function f)
public int hashCode()
hashCode
in class java.lang.Object
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 |