80
return false;
81
}
83
>
public getCount(): number {
84
return this._actual.length;
85
}
87
>
public getStandardTokenType(tokenIndex: number): StandardTokenType {
88
return this._actual[tokenIndex].getStandardTokenType();
89
}
91
>
public getForeground(tokenIndex: number): ColorId {
92
return this._actual[tokenIndex].getForeground();
93
}
95
>
public getEndOffset(tokenIndex: number): number {
96
return this._actual[tokenIndex].endIndex;
97
}
99
>
public getClassName(tokenIndex: number): string {
100
return this._actual[tokenIndex].getType();
101
}
103
>
public getInlineStyle(tokenIndex: number, colorMap: string[]): string {
104
return this._actual[tokenIndex].getInlineStyle(colorMap);
105
}
107
>
public getPresentation(tokenIndex: number): ITokenPresentation {
108
return this._actual[tokenIndex].getPresentation();
109
}
111
>
public findTokenIndexAtOffset(offset: number): number {
112
throw new Error('Not implemented');
113
}
115
>
public getLineContent(): string {
116
throw new Error('Not implemented');
117
}
119
>
public getMetadata(tokenIndex: number): number {
120
throw new Error('Method not implemented.');
121
}
123
>
public getLanguageId(tokenIndex: number): string {
124
throw new Error('Method not implemented.');
125
}
127
>
public getTokenText(tokenIndex: number): string {
128
throw new Error('Method not implemented.');
129
}
131
>
public forEach(callback: (tokenIndex: number) => void): void {
132
throw new Error('Not implemented');
133
}
135
>
public get languageIdCodec(): ILanguageIdCodec {
136
throw new Error('Not implemented');
137
}
139
>
140
>
export class TestLineTokenFactory {
141
>
142
>
public static inflateArr(tokens: Uint32Array): TestLineToken[] {
143
const tokensCount = (tokens.length >>> 1);
144