Home Reference Source Repository

lib/lexer-state.js

/**
 * @private
 */
export default class LexerState {
    constructor(source, position = 0) {
        this.source = source;
        this.position = position;
    }
    copy() {
        return new LexerState(this.source, this.position);
    }
}
//# sourceMappingURL=lexer-state.js.map