|
wavelength 1.0.0
|
Go to the source code of this file.
Functions | |
| const char * | LookupSymbol (const char *pszText) |
| Find the interned copy of a symbol's text. | |
| const char * | AddSymbol (const char *pszText) |
| Copy text into the symbol pool and enter the copy in the symbol table. | |
| const char * LookupSymbol | ( | const char * | pszText | ) |
Find the interned copy of a symbol's text.
Text that already lies in the symbol pool is its own interned copy. Other text is looked up in the symbol table, which the routine never adds to.
| pszText | The text. |
| const char * AddSymbol | ( | const char * | pszText | ) |
Copy text into the symbol pool and enter the copy in the symbol table.
The caller first checks with LookupSymbol() that the text is not interned yet. The name is inferred.
| pszText | The text. |