class SyntaxTree::Location

def self.token(line:, char:, column:, size:)

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

def self.token: (line: Integer, char: Integer, column: Integer, size: Integer) -> untyped

This signature was generated using 371 samples from 1 application.

def self.token(line:, char:, column:, size:)
  new(
    start_line: line,
    start_char: char,
    start_column: column,
    end_line: line,
    end_char: char + size,
    end_column: column + size
  )
end