Class: Oxc::MutationVisitor::Edit

Inherits:
Data
  • Object
show all
Defined in:
lib/oxc/mutation_visitor.rb,
sig/oxc/mutation_visitor.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#finishObject (readonly)

Returns the value of attribute finish

Returns:

  • (Object)

    the current value of finish



19
20
21
# File 'lib/oxc/mutation_visitor.rb', line 19

def finish
  @finish
end

#orderObject (readonly)

Returns the value of attribute order

Returns:

  • (Object)

    the current value of order



19
20
21
# File 'lib/oxc/mutation_visitor.rb', line 19

def order
  @order
end

#startObject (readonly)

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



19
20
21
# File 'lib/oxc/mutation_visitor.rb', line 19

def start
  @start
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



19
20
21
# File 'lib/oxc/mutation_visitor.rb', line 19

def text
  @text
end

Class Method Details

.members[ :start, :finish, :text, :order ]

Returns:

  • ([ :start, :finish, :text, :order ])


33
# File 'sig/oxc/mutation_visitor.rbs', line 33

def self.members: () -> [ :start, :finish, :text, :order ]

.new(start, finish, text, order) ⇒ instance .new(start:, finish:, text:, order:) ⇒ instance

Overloads:

  • .new(start, finish, text, order) ⇒ instance

    Parameters:

    • start (Integer)
    • finish (Integer)
    • text (String)
    • order (Integer)

    Returns:

    • (instance)
  • .new(start:, finish:, text:, order:) ⇒ instance

    Parameters:

    • start: (Integer)
    • finish: (Integer)
    • text: (String)
    • order: (Integer)

    Returns:

    • (instance)


30
31
# File 'sig/oxc/mutation_visitor.rbs', line 30

def self.new: (Integer start, Integer finish, String text, Integer order) -> instance
| (start: Integer, finish: Integer, text: String, order: Integer) -> instance

Instance Method Details

#members[ :start, :finish, :text, :order ]

Returns:

  • ([ :start, :finish, :text, :order ])


35
# File 'sig/oxc/mutation_visitor.rbs', line 35

def members: () -> [ :start, :finish, :text, :order ]