Class: Oktest::Visitor
- Inherits:
-
Object
show all
- Defined in:
- lib/oktest.rb
Instance Method Summary
collapse
Instance Method Details
#start ⇒ Object
1124
1125
1126
1127
1128
|
# File 'lib/oktest.rb', line 1124
def start()
THE_GLOBAL_SCOPE.each_child {|c| c.accept_visitor(self, 0, nil) }
end
|
#visit_scope(scope, depth, parent) ⇒ Object
1130
1131
1132
1133
|
# File 'lib/oktest.rb', line 1130
def visit_scope(scope, depth, parent)
scope.each_child {|c| c.accept_visitor(self, depth+1, scope) }
end
|
#visit_spec(spec, depth, parent) ⇒ Object
1140
1141
1142
|
# File 'lib/oktest.rb', line 1140
def visit_spec(spec, depth, parent)
end
|
#visit_topic(topic, depth, parent) ⇒ Object
1135
1136
1137
1138
|
# File 'lib/oktest.rb', line 1135
def visit_topic(topic, depth, parent)
topic.each_child {|c| c.accept_visitor(self, depth+1, topic) }
end
|