Class: Slaw::Grammars::ZA::Act::PrefaceStatement
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Slaw::Grammars::ZA::Act::PrefaceStatement
- Defined in:
- lib/slaw/grammars/za/act_nodes.rb
Instance Method Summary collapse
Instance Method Details
#inline_items ⇒ Object
108 109 110 |
# File 'lib/slaw/grammars/za/act_nodes.rb', line 108 def inline_items content.inline_items if content.respond_to? :inline_items end |
#longtitle ⇒ Object
104 105 106 |
# File 'lib/slaw/grammars/za/act_nodes.rb', line 104 def longtitle self.content if self.content.is_a? LongTitle end |
#to_xml(b, idprefix, i = 0) ⇒ Object
96 97 98 99 100 101 102 |
# File 'lib/slaw/grammars/za/act_nodes.rb', line 96 def to_xml(b, idprefix, i=0) if longtitle longtitle.to_xml(b, idprefix) else b.p { |b| inline_items.to_xml(b, idprefix) } end end |