You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
539 B
20 lines
539 B
|
4 months ago
|
/**
|
||
|
|
* The `PathParser` is used by the `parsePathString` static method
|
||
|
|
* to generate a `pathArray`.
|
||
|
|
*/
|
||
|
|
var PathParser = /** @class */ (function () {
|
||
|
|
function PathParser(pathString) {
|
||
|
|
this.pathValue = pathString;
|
||
|
|
// @ts-ignore
|
||
|
|
this.segments = [];
|
||
|
|
this.max = pathString.length;
|
||
|
|
this.index = 0;
|
||
|
|
this.param = 0.0;
|
||
|
|
this.segmentStart = 0;
|
||
|
|
this.data = [];
|
||
|
|
this.err = '';
|
||
|
|
}
|
||
|
|
return PathParser;
|
||
|
|
}());
|
||
|
|
export { PathParser };
|
||
|
|
//# sourceMappingURL=path-parser.js.map
|