module

Astv::Core

Instance methods

child_nodes(node : Crystal::ASTNode)
Source
error_response(ex : Exception, source : String)
Source
lex_response(source : String)
Source
parse_response(source : String)
Source
representative_value(node : Crystal::ASTNode)

ameba:disable Metrics/CyclomaticComplexity

Source
summarize_node(node : Crystal::ASTNode)
Source
summarize_text(text : String, limit = 80)
Source
token_to_tsv(token : Crystal::Token)
Source
write_ast_json(json : JSON::Builder, node : Crystal::ASTNode)
Source
write_location_json(json : JSON::Builder, start_loc : Crystal::Location, end_loc : Crystal::Location | Nil)
Source
write_token_json(json : JSON::Builder, token : Crystal::Token)
Source

Nested types