Class: Markbridge::Processors::DiscourseMarkdown::Detectors::Match
- Inherits:
-
Data
- Object
- Data
- Markbridge::Processors::DiscourseMarkdown::Detectors::Match
- Defined in:
- lib/markbridge/processors/discourse_markdown/detectors/base.rb
Overview
Result of a successful detection
Instance Attribute Summary collapse
-
#end_pos ⇒ Integer
readonly
end position in input (exclusive).
-
#node ⇒ AST::Node
readonly
the AST node representing the detected construct.
-
#start_pos ⇒ Integer
readonly
start position in input.
Instance Attribute Details
#end_pos ⇒ Integer (readonly)
end position in input (exclusive)
11 12 13 |
# File 'lib/markbridge/processors/discourse_markdown/detectors/base.rb', line 11 def end_pos @end_pos end |
#node ⇒ AST::Node (readonly)
the AST node representing the detected construct
11 12 13 |
# File 'lib/markbridge/processors/discourse_markdown/detectors/base.rb', line 11 def node @node end |
#start_pos ⇒ Integer (readonly)
start position in input
11 12 13 |
# File 'lib/markbridge/processors/discourse_markdown/detectors/base.rb', line 11 def start_pos @start_pos end |