Class: Lldbrun::ParserPoint
- Inherits:
-
Object
- Object
- Lldbrun::ParserPoint
- Defined in:
- lib/lldbrun/ParserPoint.rb
Constant Summary collapse
- LLDBPOINT =
/^[\s\S]+lldbpoint[\s\S]+$/i- PREV_DIR =
/^\.\./- CURRENT_DIR =
/^\.$/- RELATIVE_PATH =
/^[\.~]/
Instance Attribute Summary collapse
-
#argv_parser ⇒ Object
readonly
Returns the value of attribute argv_parser.
-
#break_points ⇒ Object
readonly
Returns the value of attribute break_points.
Instance Method Summary collapse
-
#initialize(argv_parser) ⇒ ParserPoint
constructor
A new instance of ParserPoint.
- #run ⇒ Object
Constructor Details
#initialize(argv_parser) ⇒ ParserPoint
Returns a new instance of ParserPoint.
11 12 13 14 |
# File 'lib/lldbrun/ParserPoint.rb', line 11 def initialize(argv_parser) @argv_parser = argv_parser @break_points = [] end |
Instance Attribute Details
#argv_parser ⇒ Object (readonly)
Returns the value of attribute argv_parser.
9 10 11 |
# File 'lib/lldbrun/ParserPoint.rb', line 9 def argv_parser @argv_parser end |
#break_points ⇒ Object (readonly)
Returns the value of attribute break_points.
9 10 11 |
# File 'lib/lldbrun/ParserPoint.rb', line 9 def break_points @break_points end |
Instance Method Details
#run ⇒ Object
16 17 18 19 |
# File 'lib/lldbrun/ParserPoint.rb', line 16 def run scan_dir(argv_parser.param_scan_dir) if argv_parser.params[ParserARGV::PARAMETER_SCAN_DIR] system(generate_start_command) end |