Searched refs:CharacterToken (Results 1 – 8 of 8) sorted by relevance
/third_party/parse5/packages/parse5/lib/tokenizer/ |
D | tokenizer-location-info.test.ts | 3 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 {
|
D | index.ts | 14 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/ |
D | index.ts | 88 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/ |
D | index.ts | 130 onCharacter({ chars, location }: Token.CharacterToken): void { 153 onWhitespaceCharacter(token: Token.CharacterToken): void { 158 onNullCharacter(token: Token.CharacterToken): void {
|
D | parser-feedback-simulator.ts | 31 onNullCharacter(token: Token.CharacterToken): void { 46 onWhitespaceCharacter(token: Token.CharacterToken): void { 61 onCharacter(token: Token.CharacterToken): void {
|
/third_party/parse5/packages/parse5/lib/common/ |
D | token.ts | 101 export interface CharacterToken extends TokenBase { interface 106 export type Token = DoctypeToken | TagToken | CommentToken | EOFToken | CharacterToken;
|
/third_party/parse5/test/utils/ |
D | generate-tokenization-tests.ts | 57 onCharacter(token: Token.CharacterToken): void { 72 onNullCharacter(token: Token.CharacterToken): void { 75 onWhitespaceCharacter(token: Token.CharacterToken): void {
|
/third_party/parse5/packages/parse5/lib/parser/ |
D | index.ts | 25 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 …]
|