struct
Crowbar::TransformationStep
- Crowbar::TransformationStep
- Struct
- Value
- Object
Overview
Represents an individual transformative operation executed on a buffer. Provides granular provenance, coordinate bounding, and human-readable descriptions.
Included Modules
- JSON::Serializable
Defined in:
crowbar/transformation_step.crConstructors
- .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)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #category : StepCategory
- #category=(category : StepCategory)
- #description : String
- #description=(description : String)
- #details : Hash(String, String)
- #details=(details : Hash(String, String))
- #diff_bytes : Int32
- #diff_bytes=(diff_bytes : Int32)
- #diff_string : String
- #index : Int32
- #index=(index : Int32)
- #name : String
- #name=(name : String)
- #range_end : Int32 | Nil
- #range_end=(range_end : Int32 | Nil)
- #range_start : Int32 | Nil
- #range_start=(range_start : Int32 | Nil)
- #range_string : String
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)
#