Class: Brainfucktt::Language::DecrementPointer
- Inherits:
-
Node
- Object
- Treetop::Runtime::SyntaxNode
- Node
- Brainfucktt::Language::DecrementPointer
- Defined in:
- lib/brainfucktt/language/decrement_pointer.rb
Overview
<
Instance Method Summary collapse
-
#run(parser) ⇒ Object
Decrement the pointer.
Methods inherited from Node
Instance Method Details
#run(parser) ⇒ Object
Decrement the pointer.
10 11 12 |
# File 'lib/brainfucktt/language/decrement_pointer.rb', line 10 def run(parser) parser.pointer -= 1 end |