123456789_123456789_123456789_123456789_123456789_

Class: RBS::Parser::LexResult

Relationships & Source Files
Inherits: Object
Defined in: lib/rbs/parser/lex_result.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(buffer:, value:) ⇒ LexResult

[ GitHub ]

  
# File 'lib/rbs/parser/lex_result.rb', line 9

def initialize(buffer:, value:)
  @buffer = buffer
  @value = value
end

Instance Attribute Details

#buffer (readonly)

[ GitHub ]

  
# File 'lib/rbs/parser/lex_result.rb', line 6

attr_reader :buffer

#value (readonly)

[ GitHub ]

  
# File 'lib/rbs/parser/lex_result.rb', line 7

attr_reader :value