class Cradare2::Lines::LineInstructionGroup

Overview

Represents a grouping of all assembly instructions that were generated from a single Crystal source code line.

Defined in:

cradare2/lines/source_location.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(file : String, line : Int32, source_code : String | Nil = nil, instructions : Array(InstructionMapping) = [] of InstructionMapping) #

[View source]

Instance Method Detail

def add_instruction(ins : InstructionMapping) : Nil #

[View source]
def address_range : Range(UInt64, UInt64) #

[View source]
def basename : String #

[View source]
def count : Int32 #

[View source]
def file : String #

[View source]
def instructions : Array(InstructionMapping) #

[View source]
def line : Int32 #

[View source]
def max_address : UInt64 #

[View source]
def min_address : UInt64 #

[View source]
def normalized_file : String #

[View source]
def source_code : String | Nil #

[View source]
def source_code=(source_code : String | Nil) #

[View source]
def total_size : Int32 #

[View source]