class Luce::LongBlockHTMLSyntax
Overview
A BlockHTMLSyntax that has a specific end_pattern.
In practice this means that the syntax dominates; it is allowed to eat many lines, including blank lines, before matching its end_pattern.
Defined in:
luce/block_syntaxes/long_block_html_syntax.crConstructors
Instance Method Summary
- #parse(parser : BlockParser) : Node
-
#pattern : Regex
Return the regex used to identify the beginning of this block, if any.
Instance methods inherited from class Luce::BlockHTMLSyntax
can_end_block?(parser : BlockParser)
can_end_block?
Instance methods inherited from class Luce::BlockSyntax
can_end_block?(parser : BlockParser)
can_end_block?,
can_parse?(parser : BlockParser)
can_parse?,
parse(parser : BlockParser) : Node | Nil
parse,
parse_child_lines(parser : BlockParser) : Array(String | Nil)
parse_child_lines,
pattern : Regex
pattern
Class methods inherited from class Luce::BlockSyntax
at_block_end?(parser : BlockParser) : Bool
at_block_end?,
generate_anchor_hash(element : Element) : String
generate_anchor_hash
Constructor Detail
Instance Method Detail
def pattern : Regex
#
Description copied from class Luce::BlockSyntax
Return the regex used to identify the beginning of this block, if any.