module Backtracer::Backtrace::Frame::Parser
Extended Modules
Defined in:
backtracer/backtrace/frame/parser.crInstance Method Summary
-
#parse(line : String, **options) : Backtrace::Frame
Same as
#parse?but raisesArgumentErroron error. -
#parse?(line : String, **options) : Backtrace::Frame | Nil
Parses a single line of a given backtrace, where line is the raw line from
calleror some backtrace.
Instance Method Detail
def parse(line : String, **options) : Backtrace::Frame
#
Same as #parse? but raises ArgumentError on error.
def parse?(line : String, **options) : Backtrace::Frame | Nil
#
Parses a single line of a given backtrace, where line is
the raw line from caller or some backtrace.
Accepts options:
configuration:Configurationobject - usesBacktracer.configurationifnil
Returns parsed Backtrace::Frame on success or nil otherwise.