struct Crowbar::TransformationStep

Overview

Represents an individual transformative operation executed on a buffer. Provides granular provenance, coordinate bounding, and human-readable descriptions.

Included Modules

Defined in:

crowbar/transformation_step.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(index : Int32, category : StepCategory, name : String, description : String, range_start : Int32 | Nil = nil, range_end : Int32 | Nil = nil, diff_bytes : Int32 = 0, details : Hash(String, String) = Hash(String, String).new) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def category : StepCategory #

def category=(category : StepCategory) #

def description : String #

def description=(description : String) #

def details : Hash(String, String) #

def details=(details : Hash(String, String)) #

def diff_bytes : Int32 #

def diff_bytes=(diff_bytes : Int32) #

def diff_string : String #

def index : Int32 #

def index=(index : Int32) #

def name : String #

def name=(name : String) #

def range_end : Int32 | Nil #

def range_end=(range_end : Int32 | Nil) #

def range_start : Int32 | Nil #

def range_start=(range_start : Int32 | Nil) #

def range_string : String #