Class: ScaleRb::OldRegistry::TypeExp::TypeExpParser
- Inherits:
-
Object
- Object
- ScaleRb::OldRegistry::TypeExp::TypeExpParser
- Defined in:
- lib/scale_rb/old_registry.rb
Instance Method Summary collapse
-
#initialize(type_exp) ⇒ TypeExpParser
constructor
A new instance of TypeExpParser.
- #parse ⇒ Object
Constructor Details
#initialize(type_exp) ⇒ TypeExpParser
Returns a new instance of TypeExpParser.
368 369 370 371 372 |
# File 'lib/scale_rb/old_registry.rb', line 368 def initialize(type_exp) @type_exp = type_exp @tokenizer = Tokenizer.new(type_exp) @current_token = @tokenizer.next_token end |
Instance Method Details
#parse ⇒ Object
374 375 376 |
# File 'lib/scale_rb/old_registry.rb', line 374 def parse build_type end |