Class: SyntaxTree::Bf::Node
- Inherits:
-
Object
- Object
- SyntaxTree::Bf::Node
show all
- Defined in:
- lib/syntax_tree/bf/nodes.rb
Instance Method Summary
collapse
Instance Method Details
6
7
8
|
# File 'lib/syntax_tree/bf/nodes.rb', line 6
def format(q)
Format.new(q).visit(self)
end
|
#pretty_print(q) ⇒ Object
10
11
12
|
# File 'lib/syntax_tree/bf/nodes.rb', line 10
def pretty_print(q)
PrettyPrint.new(q).visit(self)
end
|