Class: Marko::Parser
- Inherits:
-
Object
- Object
- Marko::Parser
- Extended by:
- Pluggable
- Defined in:
- lib/marko/parser.rb
Overview
The class for pasing content into TreeNode
Direct Known Subclasses
Instance Method Summary collapse
-
#call(content, source, &block) ⇒ Array<TreeNode>, Array<String>
Parsed nodes, errors.
Methods included from Pluggable
Instance Method Details
#call(content, source, &block) ⇒ Array<TreeNode>, Array<String>
Returns parsed nodes, errors.
14 15 16 |
# File 'lib/marko/parser.rb', line 14 def call(content, source, &block) fail "the abstract method must be overriden" end |