Sha256: 526eea4f034a25ccfa028457af66463f2b6ba37c9af5b3a212085ce87c16cd11

Contents?: true

Size: 742 Bytes

Versions: 4

Compression:

Stored size: 742 Bytes

Contents

module Parser
  module AST
    interface _BlockNode
      def type: () -> :block

      %a{pure} def loc: () -> (Source::Map & _BlockLocation)
    end

    interface _BlockLocation
      %a{pure} def end: () -> Source::Range
    end

    interface _DefNode
      def type: () -> :def

      def children: () -> [Symbol, Node, Node?]

      %a{pure} def loc: () -> (Source::Map & _DefLocation)
    end

    interface _DefLocation
      %a{pure} def end: () -> Source::Range?
    end

    interface _CaseNode
      def type: () -> :case

      %a{pure} def loc: () -> (Source::Map & _CaseLocation)
    end

    interface _CaseLocation
      %a{pure} def else: () -> Source::Range?

      %a{pure} def end: () -> Source::Range
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
steep-1.4.0 sig/shims/parser/nodes.rbs
steep-1.4.0.dev.5 sig/shims/parser/nodes.rbs
steep-1.4.0.dev.4 sig/shims/parser/nodes.rbs
steep-1.4.0.dev.3 sig/shims/parser/nodes.rbs