frysk.value
Class FunctionType

java.lang.Object
  extended by frysk.value.Type
      extended by frysk.value.FunctionType

public class FunctionType
extends Type

Type for a function.


Constructor Summary
FunctionType(String name, Type returnType)
          Create an FunctionType
 
Method Summary
 void addParameter(Type member, String name)
           
 void toPrint(StringBuilder stringBuilder, int indent)
          Print this Type after indenting INDENT spaces.
 
Methods inherited from class frysk.value.Type
addressOf, completeFollowSym, completeMember, dereference, getALU, getALU, getALU, getALU, getALU, getALU, getName, getSize, getSliceType, getType, getUltimateType, index, member, pack, slice, toPrint, toPrintBrief, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionType

public FunctionType(String name,
                    Type returnType)
Create an FunctionType

Method Detail

toPrint

public void toPrint(StringBuilder stringBuilder,
                    int indent)
Description copied from class: Type
Print this Type after indenting INDENT spaces.

Specified by:
toPrint in class Type
Parameters:
stringBuilder - TODO

addParameter

public void addParameter(Type member,
                         String name)