public class FunctionsSection extends ModuleSection
| Modifier and Type | Method and Description |
|---|---|
void |
addFunctionsToIndex(FunctionIndex functionIndex) |
ExportableFunction |
newFunction(String label,
List<Param> parameter) |
ExportableFunction |
newFunction(String label,
List<Param> parameter,
PrimitiveType result) |
ExportableFunction |
newFunction(String label,
PrimitiveType result) |
void |
writeCodeTo(BinaryWriter binaryWriter,
FunctionIndex functionIndex) |
void |
writeTo(BinaryWriter binaryWriter,
FunctionIndex functionIndex) |
void |
writeTo(TextWriter textWriter) |
getModulepublic ExportableFunction newFunction(String label, List<Param> parameter, PrimitiveType result)
public ExportableFunction newFunction(String label, List<Param> parameter)
public ExportableFunction newFunction(String label, PrimitiveType result)
public void writeTo(TextWriter textWriter) throws IOException
IOExceptionpublic void writeTo(BinaryWriter binaryWriter, FunctionIndex functionIndex) throws IOException
IOExceptionpublic void writeCodeTo(BinaryWriter binaryWriter, FunctionIndex functionIndex) throws IOException
IOExceptionpublic void addFunctionsToIndex(FunctionIndex functionIndex)
Copyright © 2020 Systemprogrammierung Mirko Sertic. All rights reserved.