| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | beginFunctions(TypeDictionary typedefDictionary, TypeDictionary structDictionary, Map<Type, Type> canonMap)
|
| public void | beginStructLayout()
Begins the process of computing field offsets and type sizes for the structs to be emitted. |
| public void | beginStructs(TypeDictionary typedefDictionary, TypeDictionary structDictionary, Map<Type, Type> canonMap)
|
| public void | emitDefine(ConstantDefinition def, String
If optionalComment is non-null, the emitter can
emit that string as a comment providing extra information about the
define. optionalComment)
|
| public Iterator | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public JavaConfiguration | |
| public void | |
| public void |
| beginDefines | back to summary |
|---|---|
| public void beginDefines() throws Exception | |
| beginEmission | back to summary |
|---|---|
| public void beginEmission(GlueEmitterControls controls) throws Exception Begin the emission of glue code. This might include opening files, emitting class headers, etc. | |
| beginFunctions | back to summary |
|---|---|
| public void beginFunctions(TypeDictionary typedefDictionary, TypeDictionary structDictionary, Map<Type, Type> canonMap) throws Exception | |
| beginStructLayout | back to summary |
|---|---|
| public void beginStructLayout() throws Exception Begins the process of computing field offsets and type sizes for the structs to be emitted. | |
| beginStructs | back to summary |
|---|---|
| public void beginStructs(TypeDictionary typedefDictionary, TypeDictionary structDictionary, Map<Type, Type> canonMap) throws Exception | |
| emitDefine | back to summary |
|---|---|
public void emitDefine(ConstantDefinition def, String optionalComment) throws Exception
| |
| emitFunctions | back to summary |
|---|---|
| public Iterator Emit glue code for the list of FunctionSymbols. | |
| emitStruct | back to summary |
|---|---|
| public void emitStruct(CompoundType t, Type typedefType) throws Exception Emit glue code for the given CompoundType. typedefType is provided when the CompoundType (e.g. "struct foo_t") has not been typedefed to anything but the type of "pointer to struct foo_t" has (e.g. "typedef struct foo_t {} *Foo"); in this case typedefType would be set to pointer type Foo. | |
| endDefines | back to summary |
|---|---|
| public void endDefines() throws Exception | |
| endEmission | back to summary |
|---|---|
| public void endEmission() throws Exception Finish the emission of glue code. This might include closing files, closing open class definitions, etc. | |
| endFunctions | back to summary |
|---|---|
| public void endFunctions() throws Exception | |
| endStructLayout | back to summary |
|---|---|
| public void endStructLayout() throws Exception Finishes the struct layout process. | |
| endStructs | back to summary |
|---|---|
| public void endStructs() throws Exception | |
| getConfiguration | back to summary |
|---|---|
| public JavaConfiguration getConfiguration() | |
| layoutStruct | back to summary |
|---|---|
| public void layoutStruct(CompoundType t) throws Exception Lays out one struct which will be emitted later. | |
| readConfigurationFile | back to summary |
|---|---|
| public void readConfigurationFile(String filename) throws Exception | |