Class: Brandish::Processor::Context::Skip
- Inherits:
-
Struct
- Object
- Struct
- Brandish::Processor::Context::Skip
- Defined in:
- lib/brandish/processor/context.rb
Overview
A "skip" construct. This makes the node be skipped through processing for the rest of the processors. This is automatically applied to all nodes that are Brandish::Parser::Node#update_prevented?.
Once the skip construct has been passed through the processing, it is automatically unwrapped, returning the original node.
Instance Attribute Summary collapse
-
#node ⇒ Object
Returns the value of attribute node.
Instance Attribute Details
#node ⇒ Object
Returns the value of attribute node
23 24 25 |
# File 'lib/brandish/processor/context.rb', line 23 def node @node end |