Class: Slaw::Grammars::Inlines::NakedStatement
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Slaw::Grammars::Inlines::NakedStatement
- Defined in:
- lib/slaw/grammars/inlines_nodes.rb
Instance Method Summary collapse
Instance Method Details
#to_xml(b, idprefix, i = 0) ⇒ Object
5 6 7 |
# File 'lib/slaw/grammars/inlines_nodes.rb', line 5 def to_xml(b, idprefix, i=0) b.p { |b| inline_items.to_xml(b, idprefix) } unless inline_items.empty? end |