bitmark-grammar
Version:
24 lines (19 loc) • 672 B
text/typescript
/*!
* Copyright 2016 The ANTLR Project. All rights reserved.
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
*/
// ConvertTo-TS run at 2016-10-04T11:26:39.2167238-07:00
import { DFA } from "./DFA";
import { DFASerializer } from "./DFASerializer";
import { NotNull, Override } from "../Decorators";
import { VocabularyImpl } from "../VocabularyImpl";
export class LexerDFASerializer extends DFASerializer {
constructor( dfa: DFA) {
super(dfa, VocabularyImpl.EMPTY_VOCABULARY);
}
protected getEdgeLabel(i: number): string {
return "'" + String.fromCodePoint(i) + "'";
}
}