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), line_offset : Int32) : Node #

[View source]