class SyntaxTree::Parser::SingleByteString

Experimental RBS support (using type sampling data from the type_fusion project).

# sig/syntax_tree/parser.rbs

class SyntaxTree::Parser::SingleByteString
  def []: (Integer byteindex) -> untyped
  def initialize: (Integer start) -> void
end

return the start of the line + the index.
that every character in the string is 1 byte in length, so we can just
Represents a line in the source. If this class is being used, it means

def [](byteindex)

Experimental RBS support (using type sampling data from the type_fusion project).

def []: (Integer byteindex) -> untyped

This signature was generated using 877 samples from 1 application.

def [](byteindex)
  start + byteindex
end

def initialize(start)

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: (Integer start) -> void

This signature was generated using 124 samples from 1 application.

def initialize(start)
  @start = start
end