Remove unused imports/variables

This commit is contained in:
Tony Garnock-Jones 2021-01-18 15:32:38 +01:00
parent f46276cf05
commit a0712af032
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ import { IdentitySet } from './idcoll.js';
import { is, Value, Record, Set, Dictionary, canonicalString, preserves, RecordConstructorInfo } from 'preserves';
import { Bag, ChangeDescription } from './bag.js';
import { Discard, Capture, Observe } from './assertions.js';
import { Discard, Capture } from './assertions.js';
import * as Stack from './stack.js';

View File

@ -148,7 +148,7 @@ export function group<T>(opener: string, items: Pattern<T>, options: GroupOption
}
export function atomString<T extends string>(text: T, options: TokenOptions = {}): Pattern<T> {
return map(atom(text, options), t => text);
return map(atom(text, options), _t => text);
}
export function atom(text?: string, options: TokenOptions = {}): Pattern<Token> {

View File

@ -1,4 +1,4 @@
import { Items, TokenType } from './tokens.js';
import { Items } from './tokens.js';
import { Pos, startPos } from './position.js';
import { laxRead } from './reader.js';
import * as M from './matcher.js';