| Modifier and Type | Field and Description |
|---|---|
| protected JavaConfiguration |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | beginEmission(final GlueEmitterControls controls)
Implements com. |
| public void | beginFunctions(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, final Map<Type, Type> canonMap)
Implements com. |
| public void | beginStructLayout()
Implements com. |
| public void | beginStructs(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, final Map<Type, Type> canonMap)
Implements com. |
| protected JavaConfiguration | createConfig()
Create the object that will read and store configuration information for this JavaEmitter. |
| public void | emitDefine(final ConstantDefinition def, final String
If optionalComment is non-null, the emitter can
emit that string as a comment providing extra information about the
define. optionalComment)Implements com. |
| public Iterator | emitFunctions(final List<FunctionSymbol> originalCFunctions)
Implements com. |
| public void | |
| public void | emitStruct(final CompoundType t, final Type typedefType)
Implements com. |
| public void | |
| public void | endEmission()
Implements com. |
| public void | |
| public void | endStructLayout()
Implements com. |
| public void | |
| public JavaConfiguration | |
| public void | layoutStruct(final CompoundType t)
Implements com. |
| public void | readConfigurationFile(final String filename)
Implements com. |
| cfg | back to summary |
|---|---|
| protected JavaConfiguration cfg | |
| DebugEmitter | back to summary |
|---|---|
| public DebugEmitter() | |
| beginDefines | back to summary |
|---|---|
| public void beginDefines() Implements com.
| |
| beginEmission | back to summary |
|---|---|
| public void beginEmission(final GlueEmitterControls controls) Implements com. Doc from com. Begin the emission of glue code. This might include opening files, emitting class headers, etc.
| |
| beginFunctions | back to summary |
|---|---|
| public void beginFunctions(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, final Map<Type, Type> canonMap) Implements com.
| |
| beginStructLayout | back to summary |
|---|---|
| public void beginStructLayout() throws Exception Implements com. Doc from com. Begins the process of computing field offsets and type sizes for the structs to be emitted.
| |
| beginStructs | back to summary |
|---|---|
| public void beginStructs(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, final Map<Type, Type> canonMap) Implements com.
| |
| createConfig | back to summary |
|---|---|
| protected JavaConfiguration createConfig() Create the object that will read and store configuration information for this JavaEmitter. | |
| emitDefine | back to summary |
|---|---|
| public void emitDefine(final ConstantDefinition def, final String optionalComment) Implements com.
| |
| emitFunctions | back to summary |
|---|---|
| public Iterator Implements com. Doc from com. Emit glue code for the list of FunctionSymbols.
| |
| emitSingleFunction | back to summary |
|---|---|
| public void emitSingleFunction(final FunctionSymbol sym) | |
| emitStruct | back to summary |
|---|---|
| public void emitStruct(final CompoundType t, final Type typedefType) Implements com. Doc from com. 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() Implements com.
| |
| endEmission | back to summary |
|---|---|
| public void endEmission() Implements com. Doc from com. Finish the emission of glue code. This might include closing files, closing open class definitions, etc.
| |
| endFunctions | back to summary |
|---|---|
| public void endFunctions() Implements com.
| |
| endStructLayout | back to summary |
|---|---|
| public void endStructLayout() throws Exception Implements com. Doc from com. Finishes the struct layout process.
| |
| endStructs | back to summary |
|---|---|
| public void endStructs() Implements com.
| |
| getConfiguration | back to summary |
|---|---|
| public JavaConfiguration getConfiguration() Implements com.
| |
| layoutStruct | back to summary |
|---|---|
| public void layoutStruct(final CompoundType t) throws Exception Implements com. Doc from com. Lays out one struct which will be emitted later.
| |
| readConfigurationFile | back to summary |
|---|---|
| public void readConfigurationFile(final String filename) throws IOException Implements com.
| |