tja-parser 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +0,0 @@
1
- import * as math from 'mathjs';
2
- export declare abstract class NoteGroup {
3
- private start;
4
- private end;
5
- constructor(start: math.Fraction, end: math.Fraction);
6
- getStart(): math.Fraction;
7
- setStart(start: math.Fraction): void;
8
- getEnd(): math.Fraction;
9
- setEnd(end: math.Fraction): void;
10
- }
11
- //# sourceMappingURL=NoteGroup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NoteGroup.d.ts","sourceRoot":"","sources":["../../src/class/NoteGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAE/B,8BAAsB,SAAS;IAC3B,OAAO,CAAC,KAAK,CAAgB;IAC7B,OAAO,CAAC,GAAG,CAAgB;gBAEf,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,QAAQ;IAKpD,QAAQ;IAGR,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ;IAG7B,MAAM;IAGN,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,QAAQ;CAG5B"}
@@ -1,59 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.NoteGroup = void 0;
37
- const math = __importStar(require("mathjs"));
38
- class NoteGroup {
39
- start;
40
- end;
41
- constructor(start, end) {
42
- this.start = start;
43
- this.end = end;
44
- }
45
- getStart() {
46
- return math.fraction(this.start);
47
- }
48
- setStart(start) {
49
- this.start = math.fraction(start);
50
- }
51
- getEnd() {
52
- return math.fraction(this.end);
53
- }
54
- setEnd(end) {
55
- this.end = math.fraction(end);
56
- }
57
- }
58
- exports.NoteGroup = NoteGroup;
59
- //# sourceMappingURL=NoteGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NoteGroup.js","sourceRoot":"","sources":["../../src/class/NoteGroup.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAE/B,MAAsB,SAAS;IACnB,KAAK,CAAgB;IACrB,GAAG,CAAgB;IAE3B,YAAY,KAAoB,EAAE,GAAkB;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACnB,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;IACD,QAAQ,CAAC,KAAoB;QACzB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC;IACD,MAAM;QACF,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACnC,CAAC;IACD,MAAM,CAAC,GAAkB;QACrB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAClC,CAAC;CACJ;AArBD,8BAqBC"}
@@ -1,24 +0,0 @@
1
- import * as math from 'mathjs';
2
-
3
- export abstract class NoteGroup {
4
- private start: math.Fraction;
5
- private end: math.Fraction;
6
-
7
- constructor(start: math.Fraction, end: math.Fraction) {
8
- this.start = start;
9
- this.end = end;
10
- }
11
-
12
- getStart() {
13
- return math.fraction(this.start);
14
- }
15
- setStart(start: math.Fraction) {
16
- this.start = math.fraction(start);
17
- }
18
- getEnd() {
19
- return math.fraction(this.end);
20
- }
21
- setEnd(end: math.Fraction) {
22
- this.end = math.fraction(end);
23
- }
24
- }