Class: ScaleRb::Metadata::TypeExp::TypeExpParser
- Inherits:
-
Object
- Object
- ScaleRb::Metadata::TypeExp::TypeExpParser
- Defined in:
- lib/scale_rb/metadata/type_exp.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.
112 113 114 115 116 |
# File 'lib/scale_rb/metadata/type_exp.rb', line 112 def initialize(type_exp) @type_exp = type_exp @tokenizer = Tokenizer.new(type_exp) @current_token = @tokenizer.next_token end |
Instance Method Details
#parse ⇒ Object
118 119 120 |
# File 'lib/scale_rb/metadata/type_exp.rb', line 118 def parse build_type end |