Sha256: 4050020d37c4c2248b94077760609206f8321e428d1b5cf6f0fcfce93f298d3f
Contents?: true
Size: 1.15 KB
Versions: 6
Compression:
Stored size: 1.15 KB
Contents
module NodeMutation[T] VERSION: String class MethodNotSupported < StandardError end class ConflictActionError < StandardError end attr_reader actions: Array[NodeMutation::Action] def self.configure: (options: { adapter: NodeMutation::Adapter, strategy: Integer, tab_width: Integer }) -> void def self.adapter: () -> NodeMutation::Adapter def self.strategy: () -> Integer def self.tab_width: () -> Integer def initialize: (source: String) -> NodeMutation def append: (node: T, code: String) -> void def delete: (node: T, selectors: Array[String], and_comma: bool) -> void def indent: (node: T, ?tab_size: Integer) -> void def insert: (node: T, code: String, ?at: "beginning" | "end", ?to: nil | String) -> void def prepend: (node: T, code: String) -> void def remove: (node: T, and_comma: bool) -> void def replace: (node: T, selectors: Array[String], with: String) -> void def replace_with: (node: T, code: String) -> void def wrap: (node: T, prefix: String, suffix: String, ?newline: bool) -> void def noop: (node: T) -> void def process: () -> NodeMutation::Result def test: () -> NodeMutation::Result end
Version data entries
6 entries across 6 versions & 1 rubygems