Skip to content

Commit

Permalink
Make the name field accessible in CharStream.
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Lischke <mike@lischke-online.de>
mike-lischke committed May 4, 2024
1 parent 6dee413 commit a5c5ebf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CharStream.ts
Original file line number Diff line number Diff line change
@@ -11,6 +11,8 @@ import { type Interval } from "./misc/Interval.js";
import { IntStream } from "./IntStream.js";

export interface CharStream extends IntStream {
name: string;

/**
* Reset the stream so that it's in the same state it was
* when the object was created *except* the data array is not

0 comments on commit a5c5ebf

Please sign in to comment.