struct Crystalline::BrokenSourceFixer::LineInfo

Overview

Keep track of opening and closing keywords, and their idents, as they happen in the code.

Defined in:

crystalline/broken_source_fixer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(line_index : Int32, indent : Int32, keyword : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(line_index _line_index = @line_index, indent _indent = @indent, keyword _keyword = @keyword) #

[View source]
def indent : Int32 #

def keyword : String #

def line_index : Int32 #