Class: Slaw::Grammars::ZA::Act::Preamble

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/slaw/grammars/za/act_nodes.rb

Instance Method Summary collapse

Instance Method Details

#to_xml(b, *args) ⇒ Object



121
122
123
124
125
126
127
128
129
# File 'lib/slaw/grammars/za/act_nodes.rb', line 121

def to_xml(b, *args)
  if text_value != ""
    b.preamble { |b|
      statements.elements.each { |e|
        e.to_xml(b, "")
      }
    }
  end
end