|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jogamp.gluegen.DebugEmitter
public class DebugEmitter
Debug emitter which prints the parsing results to standard output.
| Constructor Summary | |
|---|---|
DebugEmitter()
|
|
| Method Summary | |
|---|---|
void |
beginDefines()
|
void |
beginEmission(GlueEmitterControls controls)
Begin the emission of glue code. |
void |
beginFunctions(TypeDictionary typedefDictionary,
TypeDictionary structDictionary,
Map<Type,Type> canonMap)
|
void |
beginStructLayout()
Begins the process of computing field offsets and type sizes for the structs to be emitted. |
void |
beginStructs(TypeDictionary typedefDictionary,
TypeDictionary structDictionary,
Map<Type,Type> canonMap)
|
void |
emitDefine(ConstantDefinition def,
String optionalComment)
|
Iterator<FunctionSymbol> |
emitFunctions(List<FunctionSymbol> originalCFunctions)
Emit glue code for the list of FunctionSymbols. |
void |
emitSingleFunction(FunctionSymbol sym)
|
void |
emitStruct(CompoundType t,
String alternateName)
Emit glue code for the given CompoundType. |
void |
endDefines()
|
void |
endEmission()
Finish the emission of glue code. |
void |
endFunctions()
|
void |
endStructLayout()
Finishes the struct layout process. |
void |
endStructs()
|
void |
layoutStruct(CompoundType t)
Lays out one struct which will be emitted later. |
void |
readConfigurationFile(String filename)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugEmitter()
| Method Detail |
|---|
public void readConfigurationFile(String filename)
readConfigurationFile in interface GlueEmitterpublic void beginEmission(GlueEmitterControls controls)
GlueEmitter
beginEmission in interface GlueEmitterpublic void endEmission()
GlueEmitter
endEmission in interface GlueEmitterpublic void beginDefines()
beginDefines in interface GlueEmitter
public void emitDefine(ConstantDefinition def,
String optionalComment)
emitDefine in interface GlueEmitteroptionalComment - If optionalComment is non-null, the emitter can
emit that string as a comment providing extra information about the
define.public void endDefines()
endDefines in interface GlueEmitter
public void beginFunctions(TypeDictionary typedefDictionary,
TypeDictionary structDictionary,
Map<Type,Type> canonMap)
beginFunctions in interface GlueEmitter
public Iterator<FunctionSymbol> emitFunctions(List<FunctionSymbol> originalCFunctions)
throws Exception
GlueEmitter
emitFunctions in interface GlueEmitterExceptionpublic void emitSingleFunction(FunctionSymbol sym)
public void endFunctions()
endFunctions in interface GlueEmitter
public void beginStructLayout()
throws Exception
GlueEmitter
beginStructLayout in interface GlueEmitterException
public void layoutStruct(CompoundType t)
throws Exception
GlueEmitter
layoutStruct in interface GlueEmitterException
public void endStructLayout()
throws Exception
GlueEmitter
endStructLayout in interface GlueEmitterException
public void beginStructs(TypeDictionary typedefDictionary,
TypeDictionary structDictionary,
Map<Type,Type> canonMap)
beginStructs in interface GlueEmitter
public void emitStruct(CompoundType t,
String alternateName)
GlueEmitter
emitStruct in interface GlueEmitterpublic void endStructs()
endStructs in interface GlueEmitter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||