class SyntaxTree::Location

def to(other)

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

def to: (SyntaxTree::Location other) -> untyped

This signature was generated using 175 samples from 1 application.

def to(other)
  Location.new(
    start_line: start_line,
    start_char: start_char,
    start_column: start_column,
    end_line: [end_line, other.end_line].max,
    end_char: other.end_char,
    end_column: other.end_column
  )
end