class RDG::Control::For

Public Instance Methods

end_nodes() click to toggle source
# File lib/rdg/control/for.rb, line 20
def end_nodes
  [@iterable]
end
internal_flow_edges() click to toggle source
# File lib/rdg/control/for.rb, line 12
def internal_flow_edges
  [[@iterable, @body], [@body, @iterable]]
end
nodes() click to toggle source
# File lib/rdg/control/for.rb, line 24
def nodes
  [@iterable, @body]
end
prepare() click to toggle source
# File lib/rdg/control/for.rb, line 8
def prepare
  _, @iterable, @body = children
end
start_node() click to toggle source
# File lib/rdg/control/for.rb, line 16
def start_node
  @iterable
end