Home
last modified time | relevance | path

Searched refs:CharacterToken (Results 1 – 8 of 8) sorted by relevance

/third_party/parse5/packages/parse5/lib/tokenizer/
Dtokenizer-location-info.test.ts3 import type { Location, EOFToken, CharacterToken, DoctypeToken, TagToken, CommentToken } from '../c…
51 onCharacter({ location }: CharacterToken): void {
54 onNullCharacter({ location }: CharacterToken): void {
57 onWhitespaceCharacter({ location }: CharacterToken): void {
Dindex.ts14 type CharacterToken, alias
238 onCharacter(token: CharacterToken): void;
239 onNullCharacter(token: CharacterToken): void;
240 onWhitespaceCharacter(token: CharacterToken): void;
275 private currentCharacterToken: CharacterToken | null = null;
456 private _createCharacterToken(type: CharacterToken['type'], chars: string): void {
605 private _appendCharToCurrentCharacterToken(type: CharacterToken['type'], ch: string): void {
/third_party/parse5/scripts/generate-parser-feedback-test/
Dindex.ts88 override onCharacter(token: Token.CharacterToken): void {
94 override onNullCharacter(token: Token.CharacterToken): void {
100 override onWhitespaceCharacter(token: Token.CharacterToken): void {
/third_party/parse5/packages/parse5-sax-parser/lib/
Dindex.ts130 onCharacter({ chars, location }: Token.CharacterToken): void {
153 onWhitespaceCharacter(token: Token.CharacterToken): void {
158 onNullCharacter(token: Token.CharacterToken): void {
Dparser-feedback-simulator.ts31 onNullCharacter(token: Token.CharacterToken): void {
46 onWhitespaceCharacter(token: Token.CharacterToken): void {
61 onCharacter(token: Token.CharacterToken): void {
/third_party/parse5/packages/parse5/lib/common/
Dtoken.ts101 export interface CharacterToken extends TokenBase { interface
106 export type Token = DoctypeToken | TagToken | CommentToken | EOFToken | CharacterToken;
/third_party/parse5/test/utils/
Dgenerate-tokenization-tests.ts57 onCharacter(token: Token.CharacterToken): void {
72 onNullCharacter(token: Token.CharacterToken): void {
75 onWhitespaceCharacter(token: Token.CharacterToken): void {
/third_party/parse5/packages/parse5/lib/parser/
Dindex.ts25 type CharacterToken, alias
231 pendingCharacterTokens: CharacterToken[] = [];
444 _insertCharacters(token: CharacterToken): void {
760 onCharacter(token: CharacterToken): void {
832 onNullCharacter(token: CharacterToken): void {
1247 onWhitespaceCharacter(token: CharacterToken): void {
1867 …hitespaceCharacterInBody<T extends TreeAdapterTypeMap>(p: Parser<T>, token: CharacterToken): void {
1872 function characterInBody<T extends TreeAdapterTypeMap>(p: Parser<T>, token: CharacterToken): void {
2685 function characterInTable<T extends TreeAdapterTypeMap>(p: Parser<T>, token: CharacterToken): void {
2861 …paceCharacterInTableText<T extends TreeAdapterTypeMap>(p: Parser<T>, token: CharacterToken): void {
[all …]