struct symbol::locator encapsulates a symbol table entry.
More...
#include <symbol.h>
|
|
symbol_table::iterator | _loc |
| | Locator of the symbol in the symbol table.
|
| |
struct symbol::locator encapsulates a symbol table entry.
Definition at line 79 of file symbol.h.
| symbol::locator::locator |
( |
std::string const & |
id, |
|
|
provenance |
source |
|
) |
| |
|
inline |
Construct given a name and a provenance.
- Parameters
-
| id | The symbol identifier. |
| source | The provenance of the symbol. |
Definition at line 95 of file symbol.h.
template<class CharSeq >
| symbol::locator::locator |
( |
chewer< CharSeq > & |
chew | ) |
|
|
explicit |
Construct given a chewer<CharSeq>
- Template Parameters
-
| CharSeq | A character-sequence type |
- Parameters
-
| chew | On entry, a chewer<Charseq> positioned at the offset in the associated CharSeq from which to scan for an identifier. On returnchew is positioned to the first offset not consumed. |
If no identifier is scanned the null locator results.
Definition at line 642 of file symbol.h.
The documentation for this struct was generated from the following file: