class Savi::AST::Format::IndentState

Defined in:

savi/ast/format/indent_state.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(package : Program::Package::Link, doc : AST::Document) #

[View source]

Instance Method Detail

def check_indent(ctx, node : AST::Node) #

[View source]
def check_indent_post(ctx, node : AST::Node) #

[View source]
def check_indent_up_to_here(indent_pos : Source::Pos, outdent_final = false) #

[View source]
def each_indent_violation(&) #

[View source]
def maybe_pop_indent(visitor, node) #

[View source]
def maybe_push_indent(visitor, node) #

[View source]
def visit_post(ctx, visitor : Format, node : AST::Node) #

[View source]
def visit_pre(ctx, visitor : Format, node : AST::Node) #

[View source]