Module net.luis.utils
Package net.luis.utils.io.token.rule
package net.luis.utils.io.token.rule
-
ClassDescriptionA rule engine for processing tokens based on defined rules.
A rule can either validate or transform tokens.
The engine applies the rules in the order they were added.
If a rule matches, it replaces the matched tokens with the result of the action.
If no rule matches, the engine moves to the next token.A record that holds a token rule and its associated action.A class that represents a match of a token rule.
It contains the start and end index of the match, the matched tokens, and the matching token rule.