class Crst::DirectiveParser

Overview

Parses RST directives (.. directive:: syntax)

Extracted from Parser to handle all directive parsing and handling.

Defined in:

crst/directive_parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(parser : Parser, config : Config, inline_parser : InlineParser) #

[View source]

Instance Method Detail

def parse_directive(reader : LineReader, _name : String = "", _arguments : Array(String) = [] of String, line_offset : Int32 = 0) : Node #

[View source]