Module: Carbon::Compiler::Parser::Firsts
- Included in:
- Carbon::Compiler::Parser
- Defined in:
- lib/carbon/compiler/parser/firsts.rb
Overview
Manages first sets for the parser. This is only for internal reference to make parsing easier.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
private
Includes the ClassMethods and InstanceMethods into the parser or whatever base includes it.
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Includes the ClassMethods and InstanceMethods into the parser or whatever base includes it.
65 66 67 68 |
# File 'lib/carbon/compiler/parser/firsts.rb', line 65 def self.included(base) base.extend ClassMethods base.send :include, InstanceMethods end |