class

Luce::CodeBlockSyntax

Inherits Luce::BlockSyntax < Reference < Object

Parses preformatted code blocks that are indented by four spaces.

Instance methods

can_end_block?(parser : BlockParser) : Bool
parse(parser : BlockParser) : Node
parse_child_lines(parser : BlockParser) : Array(Line)
pattern

Return the regex used to identify the beginning of this block, if any.