![]() |
Spicy
|
#include <unit.h>
Public Member Functions | |
Unit (const std::string &symbol, type::Unit type, std::vector< Expression > args, std::vector< Production > fields, const Location &l=location::None) | |
const type::Unit & | unitType () const |
const auto & | arguments () const |
const auto & | fields () const |
std::vector< std::vector< Production > > | rhss () const |
std::optional< spicy::Type > | type () const |
bool | nullable () const |
bool | eodOk () const |
bool | atomic () const |
bool | supportsSynchronize () const |
std::string | render () const |
![]() | |
ProductionBase (std::string symbol, Location l=location::None) | |
bool | hasSize () const |
bool | maySynchronize () 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 type described by another grammar from an independent type::Unit
type.