public class PrimitiveGen extends Object implements PrimitiveGen, JavaGenerator
Constructor and Description |
---|
PrimitiveGen()
Public zero-argument constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
generate(Hashtable symbolTable,
PrimitiveEntry e,
PrintWriter stream)
This method should never be called; this class exists for
the JavaGenerator interface.
|
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) |
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) |
public void generate(Hashtable symbolTable, PrimitiveEntry e, PrintWriter stream)
generate
in interface PrimitiveGen
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 void helperWrite(SymtabEntry entry, PrintWriter stream)
helperWrite
in interface JavaGenerator
public int read(int index, String indent, String name, SymtabEntry entry, PrintWriter stream)
read
in interface JavaGenerator
public int write(int index, String indent, String name, SymtabEntry entry, PrintWriter stream)
write
in interface JavaGenerator
Copyright © 2020 JBoss by Red Hat. All rights reserved.