Pegasus::Elements::NonterminalId
Inherits JSON::Serializable / Reference / Object
A nonterminal, as specified by the user. Nonterminals are on the left of production rules (though they can also appear on the right).
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
start?
Checks if this nonterminal is a "start" nonterminal (i.e., a potentially top level node)
to_s(io)
Source