Sha256: 8403bb5e58551a5ffaed732f9340fde8490e7e87d21ca4740377e30f1e6b756a

Contents?: true

Size: 587 Bytes

Versions: 12

Compression:

Stored size: 587 Bytes

Contents

class NodeMutation::Adapter[T]
  def get_source: (node: T) -> String

  def rewritten_source: (node: T, code: String) -> String

  def file_source: (node: T) -> String

  def child_node_range: (node: T, child_name: String) -> NodeMutation::Struct::Range

  def get_start: (node: T, ?child_name: String) -> Integer

  def get_end: (node: T, ?child_name: String) -> Integer

  def get_start_loc: (node: T, ?child_name: String) -> NodeMutation::Struct::Location

  def get_end_loc: (node: T, ?child_name: String) -> NodeMutation::Struct::Location

  def get_indent: (node: T) -> Integer
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
node_mutation-1.23.3 sig/node_mutation/adapter.rbs
node_mutation-1.23.2 sig/node_mutation/adapter.rbs
node_mutation-1.23.1 sig/node_mutation/adapter.rbs
node_mutation-1.23.0 sig/node_mutation/adapter.rbs
node_mutation-1.22.4 sig/node_mutation/adapter.rbs
node_mutation-1.22.3 sig/node_mutation/adapter.rbs
node_mutation-1.22.2 sig/node_mutation/adapter.rbs
node_mutation-1.22.1 sig/node_mutation/adapter.rbs
node_mutation-1.22.0 sig/node_mutation/adapter.rbs
node_mutation-1.21.6 sig/node_mutation/adapter.rbs
node_mutation-1.21.5 sig/node_mutation/adapter.rbs
node_mutation-1.21.4 sig/node_mutation/adapter.rbs