class Luce::EscapeSyntax
- Luce::EscapeSyntax
- Luce::InlineSyntax
- Reference
- Object
Overview
Escape punctuation preceded by a backslash
Defined in:
luce/inline_syntaxes/escape_syntax.crConstructors
Instance Method Summary
-
#on_match(parser : InlineParser, match : Regex::MatchData) : Bool
Processes match, adding nodes to parser and possibly advancing parser.
Instance methods inherited from class Luce::InlineSyntax
matches?(parser : InlineParser, start_match_pos : Int32 | Nil = nil) : Bool
matches?,
on_match(parser : InlineParser, match : Regex::MatchData) : Bool
on_match,
pattern : Regex
pattern
Constructor methods inherited from class Luce::InlineSyntax
new(pattern : String, start_character : Int32 | Nil = nil, case_sensitive : Bool = true)
new
Constructor Detail
Instance Method Detail
def on_match(parser : InlineParser, match : Regex::MatchData) : Bool
#
Description copied from class Luce::InlineSyntax
Processes match, adding nodes to parser and possibly advancing parser.
Will return whether the caller should advance parser by
match[0].size
.