frysk.value
Class FunctionType
java.lang.Object
frysk.value.Type
frysk.value.FunctionType
public class FunctionType
- extends Type
Type for a function.
Methods inherited from class frysk.value.Type |
addressOf, assign, completeFollowSym, completeMember, dereference, getALU, getALU, getALU, getALU, getALU, getALU, getName, getSize, getSliceType, getType, getUltimateType, index, member, pack, slice, toPrint, toPrint, toPrintBrief, toString |
returnType
Type returnType
parmTypes
ArrayList parmTypes
parmNames
ArrayList parmNames
FunctionType
public FunctionType(String name,
Type returnType)
- Create an FunctionType
toPrint
void toPrint(PrintWriter writer,
Location location,
ByteBuffer memory,
Format format,
int indent)
- Description copied from class:
Type
- Print Location as Type in user-readable form; use Format to
print basic types. If needed, and when memory is non-NULL, it
can be used for dereferencing pointers. Indent before printing.
- Specified by:
toPrint
in class Type
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)