import { Token } from "https://deno.land/x/frugal@0.5.0/docs/dep/prism.ts";
Constructors
Properties
content: TokenStream
The strings or tokens contained by this token.
This will be a token stream if the pattern matched also defined an inside
grammar.
The type of the token.
This is usually the key of a pattern in a Grammar.
Static Methods
stringify(): string
Converts the given token or token stream to an HTML representation.
The following hooks will be run:
wrap
: On each Prism.Token.