Class: Command::SetVisitor
- Inherits:
-
Object
- Object
- Command::SetVisitor
show all
- Defined in:
- lib/command-set/structural.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of SetVisitor.
6
7
8
9
|
# File 'lib/command-set/structural.rb', line 6
def initialize
@subject_context = []
@command_path = []
end
|
Instance Attribute Details
#command_path ⇒ Object
Returns the value of attribute command_path.
10
11
12
|
# File 'lib/command-set/structural.rb', line 10
def command_path
@command_path
end
|
#subject_context ⇒ Object
Returns the value of attribute subject_context.
10
11
12
|
# File 'lib/command-set/structural.rb', line 10
def subject_context
@subject_context
end
|
Instance Method Details
#arrive_at(terms, node) ⇒ Object
16
17
|
# File 'lib/command-set/structural.rb', line 16
def arrive_at(terms, node)
end
|
#command_out_of_terms(node) ⇒ Object
22
23
|
# File 'lib/command-set/structural.rb', line 22
def command_out_of_terms(node)
end
|
28
29
|
# File 'lib/command-set/structural.rb', line 28
def (terms, node)
end
|
#leave_from(via, terms, node) ⇒ Object
12
13
14
|
# File 'lib/command-set/structural.rb', line 12
def leave_from(via, terms, node)
@command_path << via
end
|
#set_out_of_terms(node) ⇒ Object
19
20
|
# File 'lib/command-set/structural.rb', line 19
def set_out_of_terms(node)
end
|
#term_without_hop(terms, node) ⇒ Object
25
26
|
# File 'lib/command-set/structural.rb', line 25
def term_without_hop(terms, node)
end
|