Skip to main content
Module

x/leac/leac.ts>StringRule

Lexer / tokenizer
Latest
interface StringRule
implements Rule
import { type StringRule } from "https://deno.land/x/leac@v0.6.0/leac.ts";

String rule - looks for exact string match that can be different from the name of the rule.

Properties

str: string

Specify the exact string to match if it is different from the name of the rule.