struct Tartrazine::IncludeStateRule

Overview

This rule includes another state. If any of the rules of the included state matches, this rule matches.

Defined in:

rules.cr

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 : Bytes, pos : Int32, tokenizer : Tokenizer) : Tuple(Bool, Int32, Array(Token)) #

[View source]