class Crinja::Visitor::Inspector

Overview

This visitor prints the node tree into an xml-like string for debugging purposes.

Defined in:

visitor/inspector.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(io : IO, indent : Int32 = 0) #

[View source]

Instance Method Detail

def inspect_arguments(node) #

[View source]
def inspect_children(node : Node) #

[View source]
def inspect_children(node : Node::Expression) #

[View source]
def inspect_children(node : Statement) #

[View source]
def inspect_children(node : Statement::List) #

[View source]
def inspect_children(node : Statement::Operator) #

[View source]
def inspect_children(node : Statement::SplashOperator) #

[View source]
def inspect_children(node : Statement::Subexpression) #

[View source]
def inspect_children(node : Statement::Tuple) #

[View source]
def inspect_content(node : Node) #

[View source]
def inspect_content(node : Node::Tag) #

[View source]
def inspect_content(node : Node::Text) #

[View source]
def inspect_content(node : Statement) #

[View source]
def inspect_content(node : Statement::Dict::Entry) #

[View source]
def inspect_content(node : Statment::ArgumentsList) #

[View source]
def inspect_content(node : Statement::Attribute) #

[View source]
def inspect_content(node : Statement::Call) #

[View source]
def inspect_content(node : Statement::Filter) #

[View source]
def inspect_content(node : Statement::Literal) #

[View source]
def inspect_end_attributes(node : Node) #

[View source]
def inspect_end_attributes(node : Node::Tag) #

[View source]
def inspect_start_attributes(node : Node) #

[View source]
def inspect_start_attributes(node : Node::Tag) #

[View source]
def inspect_start_attributes(node : Node::Text) #

[View source]
def inspect_start_attributes(node : Statement) #

[View source]
def inspect_start_attributes(node : Statement::Attribute) #

[View source]
def inspect_start_attributes(node : Statement::Filter) #

[View source]
def inspect_start_attributes(node : Statement::Function) #

[View source]
def inspect_start_attributes(node : Statement::Name) #

[View source]
def inspect_start_attributes(node : Statement::Operator) #

[View source]
def inspect_token(token) #

[View source]
def inspect_token_arguments(node : Node) #

[View source]
def visit(node : Node) #

[View source]
def visit(node : Statement) #

[View source]
def visit(node : Statement::Root) #

[View source]
def visit(expression) #

[View source]