UNPKG

@composita/symbols

Version:

Composita language symbols.

21 lines 794 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CollectionVariableSymbol = exports.VariableSymbol = void 0; const scope_symbols_1 = require("./scope-symbols"); class VariableSymbol extends scope_symbols_1.NamedScopeSymbol { constructor(scope, identifier, mutable, type) { super(scope, identifier); this.mutable = mutable; this.type = type; } } exports.VariableSymbol = VariableSymbol; class CollectionVariableSymbol extends scope_symbols_1.NamedScopeSymbol { constructor(scope, identifier, type, parameters) { super(scope, identifier); this.type = type; this.parameters = parameters; } } exports.CollectionVariableSymbol = CollectionVariableSymbol; //# sourceMappingURL=variable-symbols.js.map