Class: Yard2steep::Type::Parser
- Inherits:
-
Object
- Object
- Yard2steep::Type::Parser
- Defined in:
- lib/yard2steep/type/parser.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(tokens) ⇒ Parser
constructor
A new instance of Parser.
- #parse ⇒ Object
Constructor Details
#initialize(tokens) ⇒ Parser
Returns a new instance of Parser.
11 12 13 14 |
# File 'lib/yard2steep/type/parser.rb', line 11 def initialize(tokens) @tokens = tokens @types = [] end |