Module: Carbon::Compiler::Parser::Firsts::InstanceMethods
- Defined in:
- lib/carbon/compiler/parser/firsts.rb
Overview
The instance methods that should be placed in the parser.
Instance Method Summary collapse
-
#first(name) ⇒ Set<Symbol>
Retrieves the first set for the given node name.
Instance Method Details
#first(name) ⇒ Set<Symbol>
Retrieves the first set for the given node name.
55 56 57 |
# File 'lib/carbon/compiler/parser/firsts.rb', line 55 def first(name) self.class.firsts.fetch(name) end |