|
| LookAhead (const std::string &symbol, Production alt1, Production alt2, look_ahead::Default def, const Location &l=location::None) |
|
| LookAhead (const std::string &symbol, Production alt1, Production alt2, const Location &l=location::None) |
|
const std::pair< Production, Production > & | alternatives () const |
|
look_ahead::Default | default_ () const |
|
const std::pair< std::set< Production >, std::set< Production > > & | lookAheads () const |
|
void | setLookAheads (std::pair< std::set< Production >, std::set< Production >> &&lahs) |
|
std::vector< std::vector< Production > > | rhss () const |
|
std::optional< spicy::Type > | type () const |
|
bool | nullable () const |
|
bool | eodOk () const |
|
bool | atomic () const |
|
std::string | render () const |
|
| ProductionBase (std::string symbol, Location l=location::None) |
|
bool | hasSize () const |
|
const Location & | location () const |
|
const std::string & | symbol () const |
|
void | setSymbol (const std::string &s) |
|
std::optional< Expression > | filter () const |
|
void | setFilter (const Expression &filter) |
|
std::optional< Expression > | sink () const |
|
void | setSink (const Expression &sink) |
|
const production::Meta & | meta () const |
|
void | setMeta (production::Meta m) |
|
std::shared_ptr< production::Meta > | _metaInstance () const |
|
void | _setMetaInstance (std::shared_ptr< production::Meta > m) |
|
A pair of alternatives between which we can decide with one token of look-ahead.