Class: Bullematic::AST::Rewriter::Modification
- Inherits:
-
Struct
- Object
- Struct
- Bullematic::AST::Rewriter::Modification
- Defined in:
- lib/bullematic/ast/rewriter.rb,
sig/generated/bullematic/ast/rewriter.rbs
Overview
Instance Attribute Summary collapse
-
#associations ⇒ Object
Returns the value of attribute associations.
-
#byte_length ⇒ Object
Returns the value of attribute byte_length.
-
#new_text ⇒ Object
Returns the value of attribute new_text.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Attribute Details
#associations ⇒ Object
Returns the value of attribute associations
10 11 12 |
# File 'lib/bullematic/ast/rewriter.rb', line 10 def associations @associations end |
#byte_length ⇒ Object
Returns the value of attribute byte_length
10 11 12 |
# File 'lib/bullematic/ast/rewriter.rb', line 10 def byte_length @byte_length end |
#new_text ⇒ Object
Returns the value of attribute new_text
10 11 12 |
# File 'lib/bullematic/ast/rewriter.rb', line 10 def new_text @new_text end |
#offset ⇒ Object
Returns the value of attribute offset
10 11 12 |
# File 'lib/bullematic/ast/rewriter.rb', line 10 def offset @offset end |
#type ⇒ Object
Returns the value of attribute type
10 11 12 |
# File 'lib/bullematic/ast/rewriter.rb', line 10 def type @type end |
Class Method Details
.new(type:, offset:, byte_length:, new_text:, associations:) ⇒ instance .new(arg0) ⇒ instance
19 20 |
# File 'sig/generated/bullematic/ast/rewriter.rbs', line 19
def self.new: (?type: untyped, ?offset: untyped, ?byte_length: untyped, ?new_text: untyped, ?associations: untyped) -> instance
| ({ ?type: untyped, ?offset: untyped, ?byte_length: untyped, ?new_text: untyped, ?associations: untyped }) -> instance
|