Sha256: 4b75eecd1a8bbe74a2096d9b73b7ed71fcde0b172d00b225858643fc1791a0ca

Contents?: true

Size: 1.73 KB

Versions: 6

Compression:

Stored size: 1.73 KB

Contents

module Steep
  class Source
    class LocatedAnnotation
      attr_reader line: untyped

      attr_reader annotation: untyped

      attr_reader source: untyped

      def initialize: (line: untyped, source: untyped, annotation: untyped) -> void

      def ==: (untyped other) -> untyped
    end

    attr_reader path: untyped

    attr_reader node: untyped

    attr_reader mapping: untyped

    def initialize: (path: untyped, node: untyped, mapping: untyped) -> void

    class Builder
      def string_value: (untyped token) -> untyped
    end

    def self.new_parser: () -> untyped

    def self.parse: (untyped source_code, path: untyped, factory: untyped) -> untyped

    def self.construct_mapping: (node: untyped, annotations: untyped, mapping: untyped, ?line_range: untyped?) -> untyped

    def self.each_child_node: (untyped node) { (untyped) -> untyped } -> untyped

    def self.map_child_nodes: (untyped node) { (untyped) -> untyped } -> untyped

    def annotations: (block: Parser::AST::Node, factory: AST::Types::Factory, context: RBS::Resolver::context) -> AST::Annotation::Collection

    def each_annotation: () { (untyped, untyped) -> untyped } -> untyped

    def each_heredoc_node: (?untyped node, ?untyped parents) { (untyped) -> untyped } -> untyped

    def find_heredoc_nodes: (untyped line, untyped column, untyped position) -> (untyped | nil)

    def find_nodes_loc: (untyped node, untyped position, untyped parents) -> untyped

    def find_nodes: (line: Integer, column: Integer) -> ::Array[Parser::AST::Node]?

    def self.delete_defs: (untyped node, untyped allow_list) -> untyped

    def without_unrelated_defs: (line: untyped, column: untyped) -> (untyped | self)

    def compact_siblings: (untyped node) -> untyped
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
steep-1.2.1 sig/steep/source.rbs
steep-1.2.0 sig/steep/source.rbs
steep-1.2.0.pre.1 sig/steep/source.rbs
steep-1.1.1 sig/steep/source.rbs
steep-1.1.0 sig/steep/source.rbs
steep-1.1.0.pre.1 sig/steep/source.rbs