@composita/symbols
Version: 
Composita language symbols.
16 lines • 529 B
JavaScript
import { NamedScopeSymbol } from './scope-symbols';
export class VariableSymbol extends NamedScopeSymbol {
    constructor(scope, identifier, mutable, type) {
        super(scope, identifier);
        this.mutable = mutable;
        this.type = type;
    }
}
export class CollectionVariableSymbol extends NamedScopeSymbol {
    constructor(scope, identifier, type, parameters) {
        super(scope, identifier);
        this.type = type;
        this.parameters = parameters;
    }
}
//# sourceMappingURL=variable-symbols.js.map