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
109 110 111 |
# File 'lib/slaw/grammars/za/act_nodes.rb', line 109 def inline_items content.inline_items if content.respond_to? :inline_items end |
#longtitle ⇒ Object
105 106 107 |
# File 'lib/slaw/grammars/za/act_nodes.rb', line 105 def longtitle self.content if self.content.is_a? LongTitle end |
#to_xml(b, idprefix, i = 0) ⇒ Object
97 98 99 100 101 102 103 |
# File 'lib/slaw/grammars/za/act_nodes.rb', line 97 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 |