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, visitEnumValueInfo
public 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 InfoTreeVisitor
public static void writeCStandardHeaders(CSourceCodeWriter writer)
protected void visitConstantInfo(ConstantInfo constantInfo)
visitConstantInfo
in class InfoTreeVisitor
protected void visitStructInfo(StructInfo structInfo)
visitStructInfo
in class InfoTreeVisitor
protected void visitRawStructureInfo(RawStructureInfo info)
visitRawStructureInfo
in class InfoTreeVisitor
protected void visitStructFieldInfo(StructFieldInfo fieldInfo)
visitStructFieldInfo
in class InfoTreeVisitor
protected void visitStructBitfieldInfo(StructBitfieldInfo bitfieldInfo)
visitStructBitfieldInfo
in class InfoTreeVisitor
protected void visitPointerToInfo(PointerToInfo pointerToInfo)
visitPointerToInfo
in class InfoTreeVisitor
protected void visitEnumConstantInfo(EnumConstantInfo constantInfo)
visitEnumConstantInfo
in class InfoTreeVisitor