Sha256: 70404251664cd9445210247c6c8f3a38722614330fc9035f47c18926e35c9ee9

Contents?: true

Size: 508 Bytes

Versions: 5

Compression:

Stored size: 508 Bytes

Contents

module Prism
  class InspectVisitor < Visitor
    class Replace
      attr_reader value: String

      def initialize: (String value) -> void
    end

    attr_reader indent: String
    attr_reader commands: Array[[String | node | Replace, String]]

    def initialize: (?String indent) -> void
    def compose: () -> String

    def self.compose: (node node) -> String

    private

    def inspect_node: (String name, node node) -> String
    def inspect_location: (Location? location) -> String
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
prism-1.2.0 sig/prism/inspect_visitor.rbs
prism-1.1.0 sig/prism/inspect_visitor.rbs
prism-1.0.0 sig/prism/inspect_visitor.rbs
prism-0.30.0 sig/prism/inspect_visitor.rbs
prism-0.28.0 sig/prism/inspect_visitor.rbs