Module: OrgParse::VisitorUtils

Included in:
HtmlVisitor, TextileVisitor
Defined in:
lib/org-parse/visitor.rb

Instance Method Summary collapse

Instance Method Details

#exec_children(node) ⇒ Object



39
40
41
# File 'lib/org-parse/visitor.rb', line 39

def exec_children(node)
  exec_list node.children
end

#exec_list(nodes) ⇒ Object



33
34
35
36
37
# File 'lib/org-parse/visitor.rb', line 33

def exec_list(nodes)
  ret = ''
  nodes.each{|n| ret += execute(n) }
  ret
end

#execute(node) ⇒ Object



29
30
31
# File 'lib/org-parse/visitor.rb', line 29

def execute(node)
  puts "not implimented => #{node.inspect}"
end