public class QueryCodeWriter extends InfoTreeVisitor
| Constructor and Description |
|---|
QueryCodeWriter(Path tempDirectory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getElementForLineNumber(int lineNumber) |
String |
getLine(int lineNumber) |
protected void |
visitConstantInfo(ConstantInfo constantInfo) |
protected void |
visitEnumConstantInfo(EnumConstantInfo constantInfo) |
protected void |
visitNativeCodeInfo(NativeCodeInfo nativeCodeInfo) |
protected void |
visitPointerToInfo(PointerToInfo pointerToInfo) |
protected void |
visitRawStructureInfo(RawStructureInfo info) |
protected void |
visitStructBitfieldInfo(StructBitfieldInfo bitfieldInfo) |
protected void |
visitStructFieldInfo(StructFieldInfo fieldInfo) |
protected void |
visitStructInfo(StructInfo structInfo) |
Path |
write(NativeCodeInfo nativeCodeInfo) |
static void |
writeCStandardHeaders(CSourceCodeWriter writer) |
processChildren, visitAccessorInfo, visitElementPropertyInfo, visitEnumInfo, visitEnumLookupInfo, visitEnumValueInfopublic QueryCodeWriter(Path tempDirectory)
public Path write(NativeCodeInfo nativeCodeInfo)
public Object getElementForLineNumber(int lineNumber)
public String getLine(int lineNumber)
protected void visitNativeCodeInfo(NativeCodeInfo nativeCodeInfo)
visitNativeCodeInfo in class InfoTreeVisitorpublic static void writeCStandardHeaders(CSourceCodeWriter writer)
protected void visitConstantInfo(ConstantInfo constantInfo)
visitConstantInfo in class InfoTreeVisitorprotected void visitStructInfo(StructInfo structInfo)
visitStructInfo in class InfoTreeVisitorprotected void visitRawStructureInfo(RawStructureInfo info)
visitRawStructureInfo in class InfoTreeVisitorprotected void visitStructFieldInfo(StructFieldInfo fieldInfo)
visitStructFieldInfo in class InfoTreeVisitorprotected void visitStructBitfieldInfo(StructBitfieldInfo bitfieldInfo)
visitStructBitfieldInfo in class InfoTreeVisitorprotected void visitPointerToInfo(PointerToInfo pointerToInfo)
visitPointerToInfo in class InfoTreeVisitorprotected void visitEnumConstantInfo(EnumConstantInfo constantInfo)
visitEnumConstantInfo in class InfoTreeVisitor