![]() |
Spicy
|
#include <ctor.h>
Public Member Functions | |
Ctor (const std::string &symbol, spicy::Ctor ctor, const Location &l=location::None) | |
spicy::Ctor | ctor () const |
Expression | expression () const |
std::optional< spicy::Type > | type () const |
bool | nullable () const |
bool | eodOk () const |
bool | atomic () const |
int64_t | tokenID () 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) |
Public Attributes | |
spicy::Ctor | _ctor |
A literal represented by a ctor.