struct

Crowbar::TransformationStep

Inherits JSON::Serializable < Struct < Value < Object

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

Constructors

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

category
Source
category=(category : StepCategory)
Source
description
Source
description=(description : String)
Source
details
Source
details=(details : Hash(String, String))
Source
diff_bytes
Source
diff_bytes=(diff_bytes : Int32)
Source
diff_string
Source
index
Source
index=(index : Int32)
Source
name
Source
name=(name : String)
Source
range_end
Source
range_end=(range_end : Int32 | Nil)
Source
range_start
Source
range_start=(range_start : Int32 | Nil)
Source
range_string
Source