class

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)
Source

Instance methods

log
Source
log_end(rule : EBNF::Component, state : State, result : Success | Failure | Error)
Source
log_start(rule : EBNF::Component, start : Int32)
Source
source
Source
started_at
Source
to_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>
Source

Nested types