Class: Coradoc::Transformer
- Inherits:
-
Parslet::Transform
- Object
- Parslet::Transform
- Coradoc::Transformer
- Defined in:
- lib/coradoc/transformer.rb
Defined Under Namespace
Classes: NamedAttribute
Class Method Summary collapse
-
.transform(syntax_tree) ⇒ Object
rule(unparsed: simple(:text)) do text.to_s end.
Class Method Details
.transform(syntax_tree) ⇒ Object
rule(unparsed: simple(:text)) do
text.to_s
end
458 459 460 |
# File 'lib/coradoc/transformer.rb', line 458 def self.transform(syntax_tree) new.apply(syntax_tree) end |