|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.percederberg.mib.SymbolFactory
A factory class for creating symbols. This class is used to provide access to the default symbols from both semantical analysis steps.
| Constructor Summary | |
SymbolFactory(Mib mib)
Creates a new symbol factory. |
|
| Method Summary | |
Symbol |
createSymbol(java.lang.String name)
Creates a symbol with the specified known name. |
Symbol |
findSymbol(java.lang.String name)
Finds or creates a symbol with the specified known name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SymbolFactory(Mib mib)
mib - the MIB where error should be reported| Method Detail |
public Symbol findSymbol(java.lang.String name)
name - the symbol name (from the import)public Symbol createSymbol(java.lang.String name)
name - the symbol name (from the import)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||