Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ink/tsdom/tsdom.ts>Matcher

Terminal string color for Deno
Latest
class Matcher
import { Matcher } from "https://deno.land/x/ink@1.3/tsdom/tsdom.ts";

Matcher class to make CSS match

Constructors

new
Matcher(selector: string)

Creates an instance of Matcher.

Properties

private
matchers: MatherFunction[]
private
nextMatch: number
readonly
matched

Trying to determine if match made.

Methods

Trying to advance match pointer

flush cache to free memory

Rest match pointer.

Rewind the match pointer