class Syntaks::ParseLog
- Syntaks::ParseLog
- Reference
- Object
Defined in:
syntaks/parse_log.crConstant Summary
-
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
Instance Method Summary
- #log : Array(Entry)
- #log_end(rule : EBNF::Component, state : State, result : Success | Failure | Error)
- #log_start(rule : EBNF::Component, start : Int32)
- #source : Source
- #started_at : Time
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
Constructor Detail
Instance Method Detail
def to_s(io : IO)
#
Description copied from class Reference
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>