Class: RBI::Parser::Visitor

Inherits:
Prism::Visitor
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/rbi/parser.rb

Direct Known Subclasses

SigBuilder, TreeBuilder

Instance Method Summary collapse

Constructor Details

#initialize(source, file:) ⇒ Visitor

Returns a new instance of Visitor.



126
127
128
129
130
131
# File 'lib/rbi/parser.rb', line 126

def initialize(source, file:)
  super()

  @source = source
  @file = file
end