Class: Hierogloss::MdC::Stack
- Defined in:
- lib/hierogloss/mdc.rb
Instance Attribute Summary
Attributes inherited from Group
Instance Method Summary collapse
Methods inherited from Group
#initialize, #to_linear_hieroglyphs
Constructor Details
This class inherits a constructor from Hierogloss::MdC::Group
Instance Method Details
#to_debug ⇒ Object
70 71 72 |
# File 'lib/hierogloss/mdc.rb', line 70 def to_debug [:stack].concat(super) end |
#to_mdc(precedence) ⇒ Object
74 75 76 |
# File 'lib/hierogloss/mdc.rb', line 74 def to_mdc(precedence) maybe_parens(1, precedence, blocks.map {|b| b.to_mdc(1) }.join(":")) end |