main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
581 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports.default = exports.Point = void 0;
|
---|
5 | /* eslint-disable max-classes-per-file */
|
---|
6 |
|
---|
7 | class Point {
|
---|
8 | static type = 'point';
|
---|
9 | type = Point.type;
|
---|
10 | row;
|
---|
11 | column;
|
---|
12 | char;
|
---|
13 | constructor({
|
---|
14 | row,
|
---|
15 | column,
|
---|
16 | char
|
---|
17 | }) {
|
---|
18 | this.row = row;
|
---|
19 | this.column = column;
|
---|
20 | this.char = char;
|
---|
21 | }
|
---|
22 | }
|
---|
23 | exports.Point = Point;
|
---|
24 | class Position {
|
---|
25 | static type = 'position';
|
---|
26 | type = Position.type;
|
---|
27 | start;
|
---|
28 | end;
|
---|
29 | constructor({
|
---|
30 | start,
|
---|
31 | end
|
---|
32 | }) {
|
---|
33 | this.start = start;
|
---|
34 | this.end = end;
|
---|
35 | }
|
---|
36 | }
|
---|
37 | var _default = exports.default = Position; |
---|
Note:
See
TracBrowser
for help on using the repository browser.