Class: Tracetool::IOS::IOSTraceParser
- Inherits:
-
BaseTraceParser
- Object
- BaseTraceParser
- Tracetool::IOS::IOSTraceParser
- Defined in:
- lib/tracetool/ios/parser.rb
Overview
IOS traces scanner and source mapper
Constant Summary collapse
- STACK_ENTRY_PATTERN =
Describes IOS stack entry
/^(?<frame>\d+)\t(?<binary>.+)\t(?<call_description>.+)$/.freeze
- SOURCE_PATTERN =
Describes source block
/^((-?\[(?<class>[^ ]+) (?<method>.+)\])|(?<method>.+)) \(in (?<module>.+)\) \((?<file>.+):(?<line>\d+)\)$/ .freeze
Instance Attribute Summary
Attributes inherited from BaseTraceParser
Instance Method Summary collapse
-
#initialize(files) ⇒ IOSTraceParser
constructor
A new instance of IOSTraceParser.
Methods inherited from BaseTraceParser
Constructor Details
#initialize(files) ⇒ IOSTraceParser
Returns a new instance of IOSTraceParser.
14 15 16 |
# File 'lib/tracetool/ios/parser.rb', line 14 def initialize(files) super(STACK_ENTRY_PATTERN, SOURCE_PATTERN, files, true) end |