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 raisesArgumentError
on error. -
#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.
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
:Configuration
object - usesBacktracer.configuration
ifnil
Returns parsed Backtrace::Frame
on success or nil
otherwise.