Module: Varar::Core::Parse
- Defined in:
- lib/varar/core/parse.rb
Overview
Parse source into a VarDoc: scan blocks, then group into Examples.
Port of parse.ts.
Class Method Summary collapse
Class Method Details
.parse(path, source, plugins = []) ⇒ Object
13 14 15 |
# File 'lib/varar/core/parse.rb', line 13 def parse(path, source, plugins = []) Structurer.structure(path, source, Scanner.scan(source, plugins)) end |