public class TypedefEntry extends SymtabEntry
Modifier | Constructor and Description |
---|---|
protected |
TypedefEntry() |
protected |
TypedefEntry(SymtabEntry that,
IDLID clone) |
protected |
TypedefEntry(TypedefEntry that) |
Modifier and Type | Method and Description |
---|---|
void |
addArrayInfo(Expression e) |
Vector |
arrayInfo()
This method returns a vector of Expressions, each expression
represents a dimension in an array.
|
Object |
clone()
This is a shallow copy clone
|
void |
generate(Hashtable symbolTable,
PrintWriter stream)
Invoke the typedef generator.
|
Generator |
generator()
Access the typedef generator.
|
boolean |
isReferencable() |
void |
isReferencable(boolean value) |
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, fullName, getVariableKey, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeName
protected TypedefEntry()
protected TypedefEntry(TypedefEntry that)
protected TypedefEntry(SymtabEntry that, IDLID clone)
public Vector arrayInfo()
public void addArrayInfo(Expression e)
public Object clone()
SymtabEntry
clone
in class SymtabEntry
public void generate(Hashtable symbolTable, PrintWriter stream)
generate
in class SymtabEntry
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.SymtabEntry
public boolean isReferencable()
isReferencable
in class SymtabEntry
public void isReferencable(boolean value)
isReferencable
in class SymtabEntry
public Generator generator()
generator
in class SymtabEntry
TypedefGen
Copyright © 2020 JBoss by Red Hat. All rights reserved.