module Backtracer::Backtrace::Frame::Parser

Extended Modules

Defined in:

backtracer/backtrace/frame/parser.cr

Instance Method Summary

Instance Method Detail

def parse(line : String, **options) : Backtrace::Frame #

Same as #parse? but raises ArgumentError on error.


[View source]
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:

Returns parsed Backtrace::Frame on success or nil otherwise.


[View source]