Class: Oktest::Visitor
- Inherits:
-
Object
show all
- Defined in:
- lib/oktest.rb
Instance Method Summary
collapse
Instance Method Details
#start ⇒ Object
1405
1406
1407
1408
1409
|
# File 'lib/oktest.rb', line 1405
def start()
THE_GLOBAL_SCOPE.each_child {|c| c.accept_visitor(self, 0, nil) }
end
|
#visit_scope(scope, depth, parent) ⇒ Object
1411
1412
1413
1414
|
# File 'lib/oktest.rb', line 1411
def visit_scope(scope, depth, parent)
scope.each_child {|c| c.accept_visitor(self, depth+1, scope) }
end
|
#visit_spec(spec, depth, parent) ⇒ Object
1421
1422
1423
|
# File 'lib/oktest.rb', line 1421
def visit_spec(spec, depth, parent)
end
|
#visit_topic(topic, depth, parent) ⇒ Object
1416
1417
1418
1419
|
# File 'lib/oktest.rb', line 1416
def visit_topic(topic, depth, parent)
topic.each_child {|c| c.accept_visitor(self, depth+1, topic) }
end
|