Sha256: 4b373d7a33c299171350dfa39e6092833374bfde61416e3766bd21a6f22db4da

Contents?: true

Size: 497 Bytes

Versions: 17

Compression:

Stored size: 497 Bytes

Contents

class RubyVM
  module AbstractSyntaxTree
    def self.parse: (String src) -> Node

    def self.parse_file: (String pathname) -> Node

    def self.of: (untyped proc) -> Node

    class Node
      attr_reader children (): Array[untyped]

      attr_reader first_column (): Integer

      attr_reader first_lineno (): Integer

      attr_reader last_column (): Integer

      attr_reader last_lineno (): Integer

      attr_reader type (): Symbol

      def inspect: () -> String
    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rbs-2.8.4/sig/shims/abstract_syntax_tree.rbs
rbs-3.0.1 sig/shims/_abstract_syntax_tree.rbs
rbs-3.0.0 sig/shims/_abstract_syntax_tree.rbs
rbs-3.0.0.dev.3 sig/shims/_abstract_syntax_tree.rbs
rbs-3.0.0.dev.2 sig/shims/abstract_syntax_tree.rbs
rbs-2.8.4 sig/shims/abstract_syntax_tree.rbs
rbs-2.8.3 sig/shims/abstract_syntax_tree.rbs
rbs-3.0.0.dev.1 sig/shims/abstract_syntax_tree.rbs
rbs-2.8.2 sig/shims/abstract_syntax_tree.rbs
rbs-2.8.1 sig/shims/abstract_syntax_tree.rbs
rbs-2.8.0 sig/shims/abstract_syntax_tree.rbs
rbs-2.8.0.pre.1 sig/shims/abstract_syntax_tree.rbs
rbs-2.7.0 sig/shims/abstract_syntax_tree.rbs
rbs-2.7.0.pre.3 sig/shims/abstract_syntax_tree.rbs
rbs-2.7.0.pre.2 sig/shims/abstract_syntax_tree.rbs
rbs-2.7.0.pre.1 sig/shims/abstract_syntax_tree.rbs
rbs-2.6.0 sig/shims/abstract_syntax_tree.rbs