public class ForwardValueGen extends Object implements ForwardValueGen, JavaGenerator
Modifier and Type | Field and Description |
---|---|
protected PrintWriter |
stream |
protected Hashtable |
symbolTable |
protected ForwardValueEntry |
v |
Constructor and Description |
---|
ForwardValueGen()
Public zero-argument constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
closeStream() |
void |
generate(Hashtable symbolTable,
ForwardValueEntry v,
PrintWriter str) |
protected void |
generateHelper() |
protected void |
generateHolder() |
protected void |
generateStub() |
void |
helperRead(String entryName,
SymtabEntry entry,
PrintWriter stream) |
int |
helperType(int index,
String indent,
TCOffsets tcoffsets,
String name,
SymtabEntry entry,
PrintWriter stream) |
void |
helperWrite(SymtabEntry entry,
PrintWriter stream) |
protected void |
openStream() |
int |
read(int index,
String indent,
String name,
SymtabEntry entry,
PrintWriter stream) |
int |
type(int index,
String indent,
TCOffsets tcoffsets,
String name,
SymtabEntry entry,
PrintWriter stream) |
int |
write(int index,
String indent,
String name,
SymtabEntry entry,
PrintWriter stream) |
protected void |
writeAbstract() |
protected void |
writeBody() |
protected void |
writeClosing() |
protected void |
writeHeading() |
protected Hashtable symbolTable
protected ForwardValueEntry v
protected PrintWriter stream
public void generate(Hashtable symbolTable, ForwardValueEntry v, PrintWriter str)
generate
in interface ForwardValueGen
protected void openStream()
protected void generateHelper()
protected void generateHolder()
protected void generateStub()
protected void writeHeading()
protected void writeBody()
protected void writeClosing()
protected void closeStream()
public int helperType(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream)
helperType
in interface JavaGenerator
public int type(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream)
type
in interface JavaGenerator
public void helperRead(String entryName, SymtabEntry entry, PrintWriter stream)
helperRead
in interface JavaGenerator
public int read(int index, String indent, String name, SymtabEntry entry, PrintWriter stream)
read
in interface JavaGenerator
public void helperWrite(SymtabEntry entry, PrintWriter stream)
helperWrite
in interface JavaGenerator
public int write(int index, String indent, String name, SymtabEntry entry, PrintWriter stream)
write
in interface JavaGenerator
protected void writeAbstract()
Copyright © 2020 JBoss by Red Hat. All rights reserved.