Syntaks::ParseLog
Inherits Reference < Object
Constants
ARROW = "↳"
COLOR_MAP = {End::Kind::SUCCESS => :green, End::Kind::FAILURE => :yellow, End::Kind::ERROR => :red}
CROSS = "✕"
DOT = "•"
ERROR = "⚡"
MARKER_MAP = {End::Kind::SUCCESS => TICK, End::Kind::FAILURE => CROSS, End::Kind::ERROR => ERROR}
TICK = "✓"
Constructors
new(source : Syntaks::Source)
SourceInstance methods
log
Sourcelog_end(rule : EBNF::Component, state : State, result : Success | Failure | Error)
Sourcelog_start(rule : EBNF::Component, start : Int32)
Sourcesource
Sourcestarted_at
Sourceto_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>