UNPKG

@antv/util

Version:

> AntV 底层依赖的工具库,不建议在自己业务中使用。

23 lines 655 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PathParser = void 0; /** * 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; }()); exports.PathParser = PathParser; //# sourceMappingURL=path-parser.js.map