cordbuilder
Version:
Simple dsl to create discord builders simple.
21 lines (20 loc) • 632 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PropertyDeclaration = exports.Program = void 0;
const ast_1 = require("../types/ast");
class Program {
constructor(statements) {
this.statements = statements;
this.kind = ast_1.StatementKind.Program;
}
}
exports.Program = Program;
class PropertyDeclaration {
constructor(identifier, expression, at) {
this.identifier = identifier;
this.expression = expression;
this.at = at;
this.kind = ast_1.StatementKind.PropertyDeclaration;
}
}
exports.PropertyDeclaration = PropertyDeclaration;