1 2 3 4 5 6 7 8 9 10 11 12 13 | /** * Handles information about a single stack/scope within a generator. */ export default class GeneratorScope { /** * Creates an empty generator scope with default expression state and all. * You probably just want to use a generator and have that handle these * scopes. */ constructor() { this.expressionCount = 0; } } |