public class SymtabEntry extends Object
Constructor and Description |
---|
SymtabEntry() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
This is a shallow copy clone
|
Comment |
comment() |
void |
comment(Comment comment) |
SymtabEntry |
container()
This must be either an InterfaceEntry or a ModuleEntry.
|
void |
container(SymtabEntry newContainer)
This must be either an InterfaceEntry or a ModuleEntry.
|
Object |
dynamicVariable(int key)
Other variables besides the default ones can be dynamically placed
into SymTabEntry (and therefore on all symbol table entries) by
extenders.
|
void |
dynamicVariable(int key,
Object value)
Other variables besides the default ones can be dynamically placed
into SymTabEntry (and therefore on all symbol table entries) by
extenders.
|
boolean |
emit()
Should this type be emitted?
|
void |
emit(boolean emit) |
String |
fullName() |
void |
generate(Hashtable symbolTable,
PrintWriter stream)
Invoke a generator.
|
Generator |
generator()
Access a generator.
|
static int |
getVariableKey()
Other variables besides the default ones can be dynamically placed
into SymTabEntry (and therefore on all symbol table entries) by
extenders.
|
boolean |
isReferencable() |
void |
isReferencable(boolean value) |
String |
module()
Get the name of this entry's module.
|
void |
module(String newName)
Set the module for this entry.
|
String |
name() |
void |
name(String newName)
Set the name.
|
RepositoryID |
repositoryID() |
void |
repositoryID(RepositoryID id)
Set the repository ID for this entry.
|
IncludeEntry |
sourceFile()
The file name in which this entry was defined.
|
void |
sourceFile(IncludeEntry file)
The file name in which this entry was defined.
|
SymtabEntry |
type() |
void |
type(SymtabEntry newType) |
String |
typeName() |
protected void |
typeName(String typeName) |
public final String fullName()
public String module()
public void module(String newName)
newName
- the new name of the module.public String name()
public void name(String newName)
newName
- the new name.public String typeName()
protected void typeName(String typeName)
public SymtabEntry type()
public void type(SymtabEntry newType)
public IncludeEntry sourceFile()
public void sourceFile(IncludeEntry file)
public SymtabEntry container()
public void container(SymtabEntry newContainer)
public RepositoryID repositoryID()
public void repositoryID(RepositoryID id)
id
- the new repository ID.public boolean emit()
public void emit(boolean emit)
public Comment comment()
public void comment(Comment comment)
public boolean isReferencable()
public void isReferencable(boolean value)
public static int getVariableKey()
public void dynamicVariable(int key, Object value) throws NoSuchFieldException
NoSuchFieldException
public Object dynamicVariable(int key) throws NoSuchFieldException
NoSuchFieldException
public void generate(Hashtable symbolTable, PrintWriter stream)
symbolTable
- the symbol table is a hash table whose key is
a fully qualified type name and whose value is a SymtabEntry or
a subclass of SymtabEntry.stream
- the stream to which the generator should sent its output.public Generator generator()
Copyright © 2021 JBoss by Red Hat. All rights reserved.