Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/xml/utils/types.ts>tokens

๐Ÿ“‘ A XML parser/stringifier for Deno written in typescript and with no dependencies
Very Popular
Go to Latest
variable tokens
import { tokens } from "https://deno.land/x/xml@4.0.0/utils/types.ts";

Tokens

type

{ entity: { regex: { entities: RegExp; }; }; prolog: { start: string; end: string; }; stylesheet: { start: string; end: string; }; doctype: { start: string; end: string; elements: { start: string; end: string; }; element: { start: string; end: string; value: { start: string; end: string; regex: { end: { until: RegExp; bytes: number; }; }; }; }; }; comment: { start: string; end: string; regex: { end: { until: RegExp; bytes: number; length: number; }; }; }; cdata: { start: string; end: string; regex: { end: { until: RegExp; bytes: number; }; }; }; tag: { start: string; end: string; close: { start: string; end: string; self: string; regex: { start: RegExp; end: RegExp; }; }; attribute: { regex: { name: { until: RegExp; bytes: number; }; }; }; regex: { name: { until: RegExp; bytes: number; }; start: { until: RegExp; bytes: number; }; }; }; text: { regex: { end: { until: RegExp; bytes: number; }; }; }; }