struct Tartrazine::UnconditionalRule

Overview

This rule always matches, unconditionally

Defined in:

rules.cr

Constant Summary

NO_MATCH = [] of Match

Constructors

Instance Method Summary

Instance methods inherited from struct Tartrazine::BaseRule

add_actions(node : XML::Node) add_actions, match(text : Bytes, pos : Int32, tokenizer : Tokenizer) : Tuple(Bool, Int32, Array(Token)) match

Constructor methods inherited from struct Tartrazine::BaseRule

new(node : XML::Node) new

Constructor Detail

def self.new(node : XML::Node) #

[View source]

Instance Method Detail

def match(text, pos, tokenizer) : Tuple(Bool, Int32, Array(Token)) #

[View source]