struct SourceMap::Mapping
- SourceMap::Mapping
 - Struct
 - Value
 - Object
 
Defined in:
sourcemap_parser/mapping.crConstructors
- 
        .new(generated_line : Int32, generated_column : Int32, source_path : String | Nil = nil, source_line : Int32 = 0, source_column : Int32 = 0, name : String | Nil = nil)
        
          
Using default values to reduce the number of initializers
 
Instance Method Summary
- #context_line(context_line_no : Int32) : String | Nil
 - #generated_column : Int32
 - #generated_line : Int32
 - 
        #is_part_of_app? : Bool
        
          
Returns true if the mapping is part of the app code so not from node_modules
 - #name : String | Nil
 - #post_context(context_line_no : Int32)
 - #pre_context(context_line_no : Int32)
 - #source_code(from : Int32, to : Int32)
 - #source_code_length : Int32
 - #source_code_splitted : Array(String)
 - #source_column : Int32
 - #source_content : String | Nil
 - #source_content=(source_content : String | Nil)
 - #source_line : Int32
 - #source_line_content : String | Nil
 - #source_path : String | Nil
 
Constructor Detail
        
        def self.new(generated_line : Int32, generated_column : Int32, source_path : String | Nil = nil, source_line : Int32 = 0, source_column : Int32 = 0, name : String | Nil = nil)
        #
      
      
        Using default values to reduce the number of initializers
Instance Method Detail
        
        def is_part_of_app? : Bool
        #
      
      
        Returns true if the mapping is part of the app code so not from node_modules