◆ container()
auto spicy::detail::codegen::production::Meta::container |
( |
| ) |
const |
|
inline |
If this production corresponds to a container's item field, this returns the container (once set).
◆ field()
auto spicy::detail::codegen::production::Meta::field |
( |
| ) |
const |
|
inline |
Returns a unit field associated with the production, if set.
◆ forEach()
auto spicy::detail::codegen::production::Meta::forEach |
( |
| ) |
const |
|
inline |
If the production corresponds to a for-each hook, this returns the corresponding field (once set).
◆ isFieldProduction()
bool spicy::detail::codegen::production::Meta::isFieldProduction |
( |
| ) |
const |
|
inline |
Returns true if there's a field associated with this production, and the production is the top-level entry point for parsing that field (vs. being a nested production further down in the parse tree).
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/spicy-docs/checkouts/v1.7.0/spicy/toolchain/include/compiler/detail/codegen/production.h