dxf-json 0.0.9 → 0.0.14
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.
- package/package.json +3 -4
- package/src/index.ts +1 -1
- package/src/parser/DxfParser.ts +2 -1
- package/dist/consts/block.d.ts +0 -10
- package/dist/consts/block.js +0 -22
- package/dist/consts/block.js.map +0 -1
- package/dist/consts/color.d.ts +0 -5
- package/dist/consts/color.js +0 -10
- package/dist/consts/color.js.map +0 -1
- package/dist/consts/config.d.ts +0 -2
- package/dist/consts/config.js +0 -6
- package/dist/consts/config.js.map +0 -1
- package/dist/consts/dimension.d.ts +0 -61
- package/dist/consts/dimension.js +0 -74
- package/dist/consts/dimension.js.map +0 -1
- package/dist/consts/hatch.d.ts +0 -44
- package/dist/consts/hatch.js +0 -57
- package/dist/consts/hatch.js.map +0 -1
- package/dist/consts/header.d.ts +0 -9
- package/dist/consts/header.js +0 -13
- package/dist/consts/header.js.map +0 -1
- package/dist/consts/index.d.ts +0 -9
- package/dist/consts/index.js +0 -26
- package/dist/consts/index.js.map +0 -1
- package/dist/consts/lineweight.d.ts +0 -5
- package/dist/consts/lineweight.js +0 -10
- package/dist/consts/lineweight.js.map +0 -1
- package/dist/consts/measurement.d.ts +0 -4
- package/dist/consts/measurement.js +0 -9
- package/dist/consts/measurement.js.map +0 -1
- package/dist/consts/obscuredLineTypes.d.ts +0 -21
- package/dist/consts/obscuredLineTypes.js +0 -26
- package/dist/consts/obscuredLineTypes.js.map +0 -1
- package/dist/consts/scene.d.ts +0 -2
- package/dist/consts/scene.js +0 -6
- package/dist/consts/scene.js.map +0 -1
- package/dist/consts/viewport.d.ts +0 -56
- package/dist/consts/viewport.js +0 -67
- package/dist/consts/viewport.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -9
- package/dist/index.js.map +0 -1
- package/dist/parser/AutoCadColorIndex.d.ts +0 -8
- package/dist/parser/AutoCadColorIndex.js +0 -267
- package/dist/parser/AutoCadColorIndex.js.map +0 -1
- package/dist/parser/DxfArrayScanner.d.ts +0 -38
- package/dist/parser/DxfArrayScanner.js +0 -159
- package/dist/parser/DxfArrayScanner.js.map +0 -1
- package/dist/parser/DxfParser.d.ts +0 -9
- package/dist/parser/DxfParser.js +0 -108
- package/dist/parser/DxfParser.js.map +0 -1
- package/dist/parser/ParseHelpers.d.ts +0 -21
- package/dist/parser/ParseHelpers.js +0 -129
- package/dist/parser/ParseHelpers.js.map +0 -1
- package/dist/parser/blocks/blocks.test.d.ts +0 -1
- package/dist/parser/blocks/blocks.test.js +0 -86
- package/dist/parser/blocks/blocks.test.js.map +0 -1
- package/dist/parser/blocks/index.d.ts +0 -4
- package/dist/parser/blocks/index.js +0 -83
- package/dist/parser/blocks/index.js.map +0 -1
- package/dist/parser/blocks/types.d.ts +0 -14
- package/dist/parser/blocks/types.js +0 -3
- package/dist/parser/blocks/types.js.map +0 -1
- package/dist/parser/entities/3dface.js +0 -106
- package/dist/parser/entities/3dface.js.map +0 -1
- package/dist/parser/entities/arc/index.d.ts +0 -2
- package/dist/parser/entities/arc/index.js +0 -19
- package/dist/parser/entities/arc/index.js.map +0 -1
- package/dist/parser/entities/arc/parser.d.ts +0 -7
- package/dist/parser/entities/arc/parser.js +0 -63
- package/dist/parser/entities/arc/parser.js.map +0 -1
- package/dist/parser/entities/arc/types.d.ts +0 -12
- package/dist/parser/entities/arc/types.js +0 -3
- package/dist/parser/entities/arc/types.js.map +0 -1
- package/dist/parser/entities/attdef/consts.d.ts +0 -11
- package/dist/parser/entities/attdef/consts.js +0 -17
- package/dist/parser/entities/attdef/consts.js.map +0 -1
- package/dist/parser/entities/attdef/index.d.ts +0 -3
- package/dist/parser/entities/attdef/index.js +0 -20
- package/dist/parser/entities/attdef/index.js.map +0 -1
- package/dist/parser/entities/attdef/parser.d.ts +0 -8
- package/dist/parser/entities/attdef/parser.js +0 -108
- package/dist/parser/entities/attdef/parser.js.map +0 -1
- package/dist/parser/entities/attdef/types.d.ts +0 -17
- package/dist/parser/entities/attdef/types.js +0 -3
- package/dist/parser/entities/attdef/types.js.map +0 -1
- package/dist/parser/entities/attribute/consts.d.ts +0 -6
- package/dist/parser/entities/attribute/consts.js +0 -11
- package/dist/parser/entities/attribute/consts.js.map +0 -1
- package/dist/parser/entities/attribute/index.d.ts +0 -3
- package/dist/parser/entities/attribute/index.js +0 -20
- package/dist/parser/entities/attribute/index.js.map +0 -1
- package/dist/parser/entities/attribute/parser.d.ts +0 -8
- package/dist/parser/entities/attribute/parser.js +0 -185
- package/dist/parser/entities/attribute/parser.js.map +0 -1
- package/dist/parser/entities/attribute/types.d.ts +0 -30
- package/dist/parser/entities/attribute/types.js +0 -3
- package/dist/parser/entities/attribute/types.js.map +0 -1
- package/dist/parser/entities/circle/index.d.ts +0 -2
- package/dist/parser/entities/circle/index.js +0 -19
- package/dist/parser/entities/circle/index.js.map +0 -1
- package/dist/parser/entities/circle/parser.d.ts +0 -8
- package/dist/parser/entities/circle/parser.js +0 -50
- package/dist/parser/entities/circle/parser.js.map +0 -1
- package/dist/parser/entities/circle/types.d.ts +0 -10
- package/dist/parser/entities/circle/types.js +0 -3
- package/dist/parser/entities/circle/types.js.map +0 -1
- package/dist/parser/entities/dimension/common.d.ts +0 -6
- package/dist/parser/entities/dimension/common.js +0 -122
- package/dist/parser/entities/dimension/common.js.map +0 -1
- package/dist/parser/entities/dimension/index.d.ts +0 -6
- package/dist/parser/entities/dimension/index.js +0 -21
- package/dist/parser/entities/dimension/index.js.map +0 -1
- package/dist/parser/entities/dimension/types.d.ts +0 -48
- package/dist/parser/entities/dimension/types.js +0 -3
- package/dist/parser/entities/dimension/types.js.map +0 -1
- package/dist/parser/entities/ellipse/index.d.ts +0 -2
- package/dist/parser/entities/ellipse/index.js +0 -19
- package/dist/parser/entities/ellipse/index.js.map +0 -1
- package/dist/parser/entities/ellipse/parser.d.ts +0 -7
- package/dist/parser/entities/ellipse/parser.js +0 -59
- package/dist/parser/entities/ellipse/parser.js.map +0 -1
- package/dist/parser/entities/ellipse/types.d.ts +0 -12
- package/dist/parser/entities/ellipse/types.js +0 -3
- package/dist/parser/entities/ellipse/types.js.map +0 -1
- package/dist/parser/entities/entities.test.d.ts +0 -1
- package/dist/parser/entities/entities.test.js +0 -81
- package/dist/parser/entities/entities.test.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/edge.d.ts +0 -6
- package/dist/parser/entities/hatch/boundaryPathData/edge.js +0 -178
- package/dist/parser/entities/hatch/boundaryPathData/edge.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/index.d.ts +0 -5
- package/dist/parser/entities/hatch/boundaryPathData/index.js +0 -23
- package/dist/parser/entities/hatch/boundaryPathData/index.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/polyline.d.ts +0 -2
- package/dist/parser/entities/hatch/boundaryPathData/polyline.js +0 -41
- package/dist/parser/entities/hatch/boundaryPathData/polyline.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/shared.d.ts +0 -2
- package/dist/parser/entities/hatch/boundaryPathData/shared.js +0 -19
- package/dist/parser/entities/hatch/boundaryPathData/shared.js.map +0 -1
- package/dist/parser/entities/hatch/index.d.ts +0 -8
- package/dist/parser/entities/hatch/index.js +0 -183
- package/dist/parser/entities/hatch/index.js.map +0 -1
- package/dist/parser/entities/hatch/patternData.d.ts +0 -3
- package/dist/parser/entities/hatch/patternData.js +0 -54
- package/dist/parser/entities/hatch/patternData.js.map +0 -1
- package/dist/parser/entities/hatch/types/boundaryPath.d.ts +0 -59
- package/dist/parser/entities/hatch/types/boundaryPath.js +0 -3
- package/dist/parser/entities/hatch/types/boundaryPath.js.map +0 -1
- package/dist/parser/entities/hatch/types/definitionLine.d.ts +0 -8
- package/dist/parser/entities/hatch/types/definitionLine.js +0 -3
- package/dist/parser/entities/hatch/types/definitionLine.js.map +0 -1
- package/dist/parser/entities/hatch/types/hatch.d.ts +0 -38
- package/dist/parser/entities/hatch/types/hatch.js +0 -3
- package/dist/parser/entities/hatch/types/hatch.js.map +0 -1
- package/dist/parser/entities/hatch/types/index.d.ts +0 -3
- package/dist/parser/entities/hatch/types/index.js +0 -20
- package/dist/parser/entities/hatch/types/index.js.map +0 -1
- package/dist/parser/entities/index.d.ts +0 -8
- package/dist/parser/entities/index.js +0 -81
- package/dist/parser/entities/index.js.map +0 -1
- package/dist/parser/entities/insert/index.d.ts +0 -2
- package/dist/parser/entities/insert/index.js +0 -19
- package/dist/parser/entities/insert/index.js.map +0 -1
- package/dist/parser/entities/insert/parser.d.ts +0 -8
- package/dist/parser/entities/insert/parser.js +0 -97
- package/dist/parser/entities/insert/parser.js.map +0 -1
- package/dist/parser/entities/insert/types.d.ts +0 -18
- package/dist/parser/entities/insert/types.js +0 -3
- package/dist/parser/entities/insert/types.js.map +0 -1
- package/dist/parser/entities/leader/consts.d.ts +0 -6
- package/dist/parser/entities/leader/consts.js +0 -11
- package/dist/parser/entities/leader/consts.js.map +0 -1
- package/dist/parser/entities/leader/index.d.ts +0 -3
- package/dist/parser/entities/leader/index.js +0 -20
- package/dist/parser/entities/leader/index.js.map +0 -1
- package/dist/parser/entities/leader/parser.d.ts +0 -8
- package/dist/parser/entities/leader/parser.js +0 -110
- package/dist/parser/entities/leader/parser.js.map +0 -1
- package/dist/parser/entities/leader/types.d.ts +0 -23
- package/dist/parser/entities/leader/types.js +0 -3
- package/dist/parser/entities/leader/types.js.map +0 -1
- package/dist/parser/entities/line/index.d.ts +0 -2
- package/dist/parser/entities/line/index.js +0 -19
- package/dist/parser/entities/line/index.js.map +0 -1
- package/dist/parser/entities/line/parser.d.ts +0 -8
- package/dist/parser/entities/line/parser.js +0 -50
- package/dist/parser/entities/line/parser.js.map +0 -1
- package/dist/parser/entities/line/types.d.ts +0 -10
- package/dist/parser/entities/line/types.js +0 -3
- package/dist/parser/entities/line/types.js.map +0 -1
- package/dist/parser/entities/lwpolyline/consts.d.ts +0 -4
- package/dist/parser/entities/lwpolyline/consts.js +0 -9
- package/dist/parser/entities/lwpolyline/consts.js.map +0 -1
- package/dist/parser/entities/lwpolyline/index.d.ts +0 -3
- package/dist/parser/entities/lwpolyline/index.js +0 -20
- package/dist/parser/entities/lwpolyline/index.js.map +0 -1
- package/dist/parser/entities/lwpolyline/parser.d.ts +0 -7
- package/dist/parser/entities/lwpolyline/parser.js +0 -105
- package/dist/parser/entities/lwpolyline/parser.js.map +0 -1
- package/dist/parser/entities/lwpolyline/types.d.ts +0 -19
- package/dist/parser/entities/lwpolyline/types.js +0 -3
- package/dist/parser/entities/lwpolyline/types.js.map +0 -1
- package/dist/parser/entities/mtext/consts.d.ts +0 -5
- package/dist/parser/entities/mtext/consts.js +0 -10
- package/dist/parser/entities/mtext/consts.js.map +0 -1
- package/dist/parser/entities/mtext/index.d.ts +0 -3
- package/dist/parser/entities/mtext/index.js +0 -20
- package/dist/parser/entities/mtext/index.js.map +0 -1
- package/dist/parser/entities/mtext/parser.d.ts +0 -10
- package/dist/parser/entities/mtext/parser.js +0 -188
- package/dist/parser/entities/mtext/parser.js.map +0 -1
- package/dist/parser/entities/mtext/types.d.ts +0 -33
- package/dist/parser/entities/mtext/types.js +0 -3
- package/dist/parser/entities/mtext/types.js.map +0 -1
- package/dist/parser/entities/point/index.d.ts +0 -2
- package/dist/parser/entities/point/index.js +0 -19
- package/dist/parser/entities/point/index.js.map +0 -1
- package/dist/parser/entities/point/parser.d.ts +0 -6
- package/dist/parser/entities/point/parser.js +0 -54
- package/dist/parser/entities/point/parser.js.map +0 -1
- package/dist/parser/entities/point/types.d.ts +0 -9
- package/dist/parser/entities/point/types.js +0 -3
- package/dist/parser/entities/point/types.js.map +0 -1
- package/dist/parser/entities/polyline/consts.d.ts +0 -16
- package/dist/parser/entities/polyline/consts.js +0 -22
- package/dist/parser/entities/polyline/consts.js.map +0 -1
- package/dist/parser/entities/polyline/index.d.ts +0 -3
- package/dist/parser/entities/polyline/index.js +0 -20
- package/dist/parser/entities/polyline/index.js.map +0 -1
- package/dist/parser/entities/polyline/parser.d.ts +0 -7
- package/dist/parser/entities/polyline/parser.js +0 -118
- package/dist/parser/entities/polyline/parser.js.map +0 -1
- package/dist/parser/entities/polyline/types.d.ts +0 -19
- package/dist/parser/entities/polyline/types.js +0 -3
- package/dist/parser/entities/polyline/types.js.map +0 -1
- package/dist/parser/entities/section/index.d.ts +0 -2
- package/dist/parser/entities/section/index.js +0 -19
- package/dist/parser/entities/section/index.js.map +0 -1
- package/dist/parser/entities/section/parser.d.ts +0 -7
- package/dist/parser/entities/section/parser.js +0 -97
- package/dist/parser/entities/section/parser.js.map +0 -1
- package/dist/parser/entities/section/types.d.ts +0 -19
- package/dist/parser/entities/section/types.js +0 -3
- package/dist/parser/entities/section/types.js.map +0 -1
- package/dist/parser/entities/shared.d.ts +0 -35
- package/dist/parser/entities/shared.js +0 -136
- package/dist/parser/entities/shared.js.map +0 -1
- package/dist/parser/entities/solid/index.d.ts +0 -2
- package/dist/parser/entities/solid/index.js +0 -19
- package/dist/parser/entities/solid/index.js.map +0 -1
- package/dist/parser/entities/solid/parser.d.ts +0 -8
- package/dist/parser/entities/solid/parser.js +0 -48
- package/dist/parser/entities/solid/parser.js.map +0 -1
- package/dist/parser/entities/solid/types.d.ts +0 -9
- package/dist/parser/entities/solid/types.js +0 -3
- package/dist/parser/entities/solid/types.js.map +0 -1
- package/dist/parser/entities/spline/consts.d.ts +0 -8
- package/dist/parser/entities/spline/consts.js +0 -13
- package/dist/parser/entities/spline/consts.js.map +0 -1
- package/dist/parser/entities/spline/index.d.ts +0 -3
- package/dist/parser/entities/spline/index.js +0 -20
- package/dist/parser/entities/spline/index.js.map +0 -1
- package/dist/parser/entities/spline/parser.d.ts +0 -8
- package/dist/parser/entities/spline/parser.js +0 -113
- package/dist/parser/entities/spline/parser.js.map +0 -1
- package/dist/parser/entities/spline/types.d.ts +0 -21
- package/dist/parser/entities/spline/types.js +0 -3
- package/dist/parser/entities/spline/types.js.map +0 -1
- package/dist/parser/entities/text/consts.d.ts +0 -19
- package/dist/parser/entities/text/consts.js +0 -26
- package/dist/parser/entities/text/consts.js.map +0 -1
- package/dist/parser/entities/text/index.d.ts +0 -3
- package/dist/parser/entities/text/index.js +0 -20
- package/dist/parser/entities/text/index.js.map +0 -1
- package/dist/parser/entities/text/parser.d.ts +0 -26
- package/dist/parser/entities/text/parser.js +0 -112
- package/dist/parser/entities/text/parser.js.map +0 -1
- package/dist/parser/entities/text/types.d.ts +0 -20
- package/dist/parser/entities/text/types.js +0 -3
- package/dist/parser/entities/text/types.js.map +0 -1
- package/dist/parser/entities/vertex/consts.d.ts +0 -10
- package/dist/parser/entities/vertex/consts.js +0 -15
- package/dist/parser/entities/vertex/consts.js.map +0 -1
- package/dist/parser/entities/vertex/index.d.ts +0 -3
- package/dist/parser/entities/vertex/index.js +0 -20
- package/dist/parser/entities/vertex/index.js.map +0 -1
- package/dist/parser/entities/vertex/parser.d.ts +0 -8
- package/dist/parser/entities/vertex/parser.js +0 -86
- package/dist/parser/entities/vertex/parser.js.map +0 -1
- package/dist/parser/entities/vertex/types.d.ts +0 -16
- package/dist/parser/entities/vertex/types.js +0 -3
- package/dist/parser/entities/vertex/types.js.map +0 -1
- package/dist/parser/entities/viewport/index.d.ts +0 -5
- package/dist/parser/entities/viewport/index.js +0 -195
- package/dist/parser/entities/viewport/index.js.map +0 -1
- package/dist/parser/entities/viewport/types.d.ts +0 -51
- package/dist/parser/entities/viewport/types.js +0 -3
- package/dist/parser/entities/viewport/types.js.map +0 -1
- package/dist/parser/filterDummyBlocks.d.ts +0 -2
- package/dist/parser/filterDummyBlocks.js +0 -37
- package/dist/parser/filterDummyBlocks.js.map +0 -1
- package/dist/parser/header/index.d.ts +0 -3
- package/dist/parser/header/index.js +0 -32
- package/dist/parser/header/index.js.map +0 -1
- package/dist/parser/objects/common.d.ts +0 -8
- package/dist/parser/objects/common.js +0 -51
- package/dist/parser/objects/common.js.map +0 -1
- package/dist/parser/objects/dictionary.d.ts +0 -20
- package/dist/parser/objects/dictionary.js +0 -50
- package/dist/parser/objects/dictionary.js.map +0 -1
- package/dist/parser/objects/index.d.ts +0 -6
- package/dist/parser/objects/index.js +0 -43
- package/dist/parser/objects/index.js.map +0 -1
- package/dist/parser/objects/layout.d.ts +0 -30
- package/dist/parser/objects/layout.js +0 -110
- package/dist/parser/objects/layout.js.map +0 -1
- package/dist/parser/objects/plotSettings.d.ts +0 -64
- package/dist/parser/objects/plotSettings.js +0 -198
- package/dist/parser/objects/plotSettings.js.map +0 -1
- package/dist/parser/objects/treefy.d.ts +0 -2
- package/dist/parser/objects/treefy.js +0 -37
- package/dist/parser/objects/treefy.js.map +0 -1
- package/dist/parser/objects/types.d.ts +0 -15
- package/dist/parser/objects/types.js +0 -3
- package/dist/parser/objects/types.js.map +0 -1
- package/dist/parser/shared/index.d.ts +0 -7
- package/dist/parser/shared/index.js +0 -22
- package/dist/parser/shared/index.js.map +0 -1
- package/dist/parser/shared/parsePoint.d.ts +0 -7
- package/dist/parser/shared/parsePoint.js +0 -33
- package/dist/parser/shared/parsePoint.js.map +0 -1
- package/dist/parser/shared/parserGenerator.d.ts +0 -15
- package/dist/parser/shared/parserGenerator.js +0 -114
- package/dist/parser/shared/parserGenerator.js.map +0 -1
- package/dist/parser/shared/parserGenerator.test.d.ts +0 -1
- package/dist/parser/shared/parserGenerator.test.js +0 -153
- package/dist/parser/shared/parserGenerator.test.js.map +0 -1
- package/dist/parser/shared/xdata/index.d.ts +0 -3
- package/dist/parser/shared/xdata/index.js +0 -20
- package/dist/parser/shared/xdata/index.js.map +0 -1
- package/dist/parser/shared/xdata/interpreter.d.ts +0 -20
- package/dist/parser/shared/xdata/interpreter.js +0 -43
- package/dist/parser/shared/xdata/interpreter.js.map +0 -1
- package/dist/parser/shared/xdata/interpreter.test.d.ts +0 -1
- package/dist/parser/shared/xdata/interpreter.test.js +0 -83
- package/dist/parser/shared/xdata/interpreter.test.js.map +0 -1
- package/dist/parser/shared/xdata/parser.d.ts +0 -6
- package/dist/parser/shared/xdata/parser.js +0 -133
- package/dist/parser/shared/xdata/parser.js.map +0 -1
- package/dist/parser/shared/xdata/parser.test.d.ts +0 -1
- package/dist/parser/shared/xdata/parser.test.js +0 -64
- package/dist/parser/shared/xdata/parser.test.js.map +0 -1
- package/dist/parser/shared/xdata/types.d.ts +0 -9
- package/dist/parser/shared/xdata/types.js +0 -3
- package/dist/parser/shared/xdata/types.js.map +0 -1
- package/dist/parser/tables/blockRecord/index.d.ts +0 -2
- package/dist/parser/tables/blockRecord/index.js +0 -19
- package/dist/parser/tables/blockRecord/index.js.map +0 -1
- package/dist/parser/tables/blockRecord/parser.d.ts +0 -1
- package/dist/parser/tables/blockRecord/parser.js +0 -45
- package/dist/parser/tables/blockRecord/parser.js.map +0 -1
- package/dist/parser/tables/blockRecord/types.d.ts +0 -10
- package/dist/parser/tables/blockRecord/types.js +0 -3
- package/dist/parser/tables/blockRecord/types.js.map +0 -1
- package/dist/parser/tables/dimStyle/consts.d.ts +0 -2
- package/dist/parser/tables/dimStyle/consts.js +0 -424
- package/dist/parser/tables/dimStyle/consts.js.map +0 -1
- package/dist/parser/tables/dimStyle/index.d.ts +0 -3
- package/dist/parser/tables/dimStyle/index.js +0 -20
- package/dist/parser/tables/dimStyle/index.js.map +0 -1
- package/dist/parser/tables/dimStyle/parser.d.ts +0 -1
- package/dist/parser/tables/dimStyle/parser.js +0 -35
- package/dist/parser/tables/dimStyle/parser.js.map +0 -1
- package/dist/parser/tables/dimStyle/types.d.ts +0 -83
- package/dist/parser/tables/dimStyle/types.js +0 -3
- package/dist/parser/tables/dimStyle/types.js.map +0 -1
- package/dist/parser/tables/index.d.ts +0 -2
- package/dist/parser/tables/index.js +0 -19
- package/dist/parser/tables/index.js.map +0 -1
- package/dist/parser/tables/layer/index.d.ts +0 -2
- package/dist/parser/tables/layer/index.js +0 -19
- package/dist/parser/tables/layer/index.js.map +0 -1
- package/dist/parser/tables/layer/parser.d.ts +0 -1
- package/dist/parser/tables/layer/parser.js +0 -55
- package/dist/parser/tables/layer/parser.js.map +0 -1
- package/dist/parser/tables/layer/types.d.ts +0 -13
- package/dist/parser/tables/layer/types.js +0 -3
- package/dist/parser/tables/layer/types.js.map +0 -1
- package/dist/parser/tables/ltype/consts.d.ts +0 -6
- package/dist/parser/tables/ltype/consts.js +0 -11
- package/dist/parser/tables/ltype/consts.js.map +0 -1
- package/dist/parser/tables/ltype/index.d.ts +0 -3
- package/dist/parser/tables/ltype/index.js +0 -20
- package/dist/parser/tables/ltype/index.js.map +0 -1
- package/dist/parser/tables/ltype/parser.d.ts +0 -1
- package/dist/parser/tables/ltype/parser.js +0 -105
- package/dist/parser/tables/ltype/parser.js.map +0 -1
- package/dist/parser/tables/ltype/types.d.ts +0 -21
- package/dist/parser/tables/ltype/types.js +0 -3
- package/dist/parser/tables/ltype/types.js.map +0 -1
- package/dist/parser/tables/parser.d.ts +0 -2
- package/dist/parser/tables/parser.js +0 -90
- package/dist/parser/tables/parser.js.map +0 -1
- package/dist/parser/tables/shared.d.ts +0 -2
- package/dist/parser/tables/shared.js +0 -32
- package/dist/parser/tables/shared.js.map +0 -1
- package/dist/parser/tables/style/index.d.ts +0 -2
- package/dist/parser/tables/style/index.js +0 -19
- package/dist/parser/tables/style/index.js.map +0 -1
- package/dist/parser/tables/style/parser.d.ts +0 -1
- package/dist/parser/tables/style/parser.js +0 -68
- package/dist/parser/tables/style/parser.js.map +0 -1
- package/dist/parser/tables/style/types.d.ts +0 -14
- package/dist/parser/tables/style/types.js +0 -3
- package/dist/parser/tables/style/types.js.map +0 -1
- package/dist/parser/tables/types.d.ts +0 -14
- package/dist/parser/tables/types.js +0 -3
- package/dist/parser/tables/types.js.map +0 -1
- package/dist/parser/tables/vport/index.d.ts +0 -2
- package/dist/parser/tables/vport/index.js +0 -19
- package/dist/parser/tables/vport/index.js.map +0 -1
- package/dist/parser/tables/vport/parser.d.ts +0 -1
- package/dist/parser/tables/vport/parser.js +0 -201
- package/dist/parser/tables/vport/parser.js.map +0 -1
- package/dist/parser/tables/vport/types.d.ts +0 -43
- package/dist/parser/tables/vport/types.js +0 -3
- package/dist/parser/tables/vport/types.js.map +0 -1
- package/dist/parser/types.d.ts +0 -29
- package/dist/parser/types.js +0 -3
- package/dist/parser/types.js.map +0 -1
- package/dist/types/color.d.ts +0 -3
- package/dist/types/color.js +0 -3
- package/dist/types/color.js.map +0 -1
- package/dist/types/dxfHeader.d.ts +0 -16
- package/dist/types/dxfHeader.js +0 -3
- package/dist/types/dxfHeader.js.map +0 -1
- package/dist/types/entity.d.ts +0 -6
- package/dist/types/entity.js +0 -3
- package/dist/types/entity.js.map +0 -1
- package/dist/types/index.d.ts +0 -24
- package/dist/types/index.js +0 -20
- package/dist/types/index.js.map +0 -1
- package/dist/utils/binarySearch.d.ts +0 -1
- package/dist/utils/binarySearch.js +0 -23
- package/dist/utils/binarySearch.js.map +0 -1
- package/dist/utils/disjointSet.d.ts +0 -6
- package/dist/utils/disjointSet.js +0 -52
- package/dist/utils/disjointSet.js.map +0 -1
- package/dist/utils/flooding.d.ts +0 -8
- package/dist/utils/flooding.js +0 -26
- package/dist/utils/flooding.js.map +0 -1
- package/dist/utils/functional.d.ts +0 -17
- package/dist/utils/functional.js +0 -111
- package/dist/utils/functional.js.map +0 -1
- package/dist/utils/graph.d.ts +0 -19
- package/dist/utils/graph.js +0 -47
- package/dist/utils/graph.js.map +0 -1
- package/dist/utils/index.d.ts +0 -30
- package/dist/utils/index.js +0 -106
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/queue.d.ts +0 -19
- package/dist/utils/queue.js +0 -71
- package/dist/utils/queue.js.map +0 -1
- package/dist/utils/triangle.d.ts +0 -2
- package/dist/utils/triangle.js +0 -19
- package/dist/utils/triangle.js.map +0 -1
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { HatchAssociativity, HatchGradientColorFlag, HatchGradientFlag, HatchPatternType, HatchSolidFill, HatchStyle } from '../../../../consts/hatch';
|
|
2
|
-
import type { Point3D } from '../../../../types';
|
|
3
|
-
import type { CommonDxfEntity } from '../../shared';
|
|
4
|
-
import type { BoundaryPath } from './boundaryPath';
|
|
5
|
-
import type { HatchDefinitionLine } from './definitionLine';
|
|
6
|
-
interface HatchEntityBase extends CommonDxfEntity {
|
|
7
|
-
type: 'HATCH';
|
|
8
|
-
subclassMarker: 'AcDbHatch';
|
|
9
|
-
elevationPoint: Point3D;
|
|
10
|
-
extrusionDirection?: Point3D;
|
|
11
|
-
patternName: string;
|
|
12
|
-
solidFill: HatchSolidFill;
|
|
13
|
-
patternFillColor: any;
|
|
14
|
-
associativity: HatchAssociativity;
|
|
15
|
-
numberOfBoundaryPaths: number;
|
|
16
|
-
boundaryPaths: BoundaryPath[];
|
|
17
|
-
hatchStyle: HatchStyle;
|
|
18
|
-
patternType: HatchPatternType;
|
|
19
|
-
patternAngle?: number;
|
|
20
|
-
patternScale?: number;
|
|
21
|
-
numberOfDefinitionLines: number;
|
|
22
|
-
definitionLines: HatchDefinitionLine[];
|
|
23
|
-
pixelSize: number;
|
|
24
|
-
numberOfSeedPoints: number;
|
|
25
|
-
offsetVector?: Point3D;
|
|
26
|
-
seedPoints?: Point3D[];
|
|
27
|
-
gradientFlag?: HatchGradientFlag;
|
|
28
|
-
}
|
|
29
|
-
export interface GradientHatchEntity extends HatchEntityBase {
|
|
30
|
-
gradientFlag: HatchGradientFlag.Gradient;
|
|
31
|
-
gradientColorFlag: HatchGradientColorFlag;
|
|
32
|
-
numberOfColors: 0 | 2;
|
|
33
|
-
gradientRotation?: number;
|
|
34
|
-
gradientDefinition: number;
|
|
35
|
-
colorTint?: number;
|
|
36
|
-
}
|
|
37
|
-
export type HatchEntity = GradientHatchEntity | HatchEntityBase;
|
|
38
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hatch.js","sourceRoot":"","sources":["../../../../../src/parser/entities/hatch/types/hatch.ts"],"names":[],"mappings":""}
|
|
@@ -1,20 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./boundaryPath"), exports);
|
|
18
|
-
__exportStar(require("./definitionLine"), exports);
|
|
19
|
-
__exportStar(require("./hatch"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/parser/entities/hatch/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,mDAAiC;AACjC,0CAAwB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type DxfArrayScanner from '../DxfArrayScanner';
|
|
2
|
-
import { ScannerGroup } from '../DxfArrayScanner';
|
|
3
|
-
import { CommonDxfEntity } from './shared';
|
|
4
|
-
/**
|
|
5
|
-
* Is called after the parser first reads the 0:ENTITIES group. The scanner
|
|
6
|
-
* should be on the start of the first entity already.
|
|
7
|
-
*/
|
|
8
|
-
export declare function parseEntities(curr: ScannerGroup, scanner: DxfArrayScanner): CommonDxfEntity[];
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.parseEntities = void 0;
|
|
7
|
-
const shared_1 = require("../shared");
|
|
8
|
-
const arc_1 = require("./arc");
|
|
9
|
-
const attdef_1 = require("./attdef");
|
|
10
|
-
const attribute_1 = require("./attribute");
|
|
11
|
-
const circle_1 = require("./circle");
|
|
12
|
-
const dimension_1 = __importDefault(require("./dimension"));
|
|
13
|
-
const ellipse_1 = require("./ellipse");
|
|
14
|
-
const insert_1 = require("./insert");
|
|
15
|
-
const leader_1 = require("./leader");
|
|
16
|
-
const parser_1 = require("./line/parser");
|
|
17
|
-
const lwpolyline_1 = require("./lwpolyline");
|
|
18
|
-
const parser_2 = require("./mtext/parser");
|
|
19
|
-
const point_1 = require("./point");
|
|
20
|
-
const polyline_1 = require("./polyline");
|
|
21
|
-
const section_1 = require("./section");
|
|
22
|
-
const solid_1 = require("./solid");
|
|
23
|
-
const spline_1 = require("./spline");
|
|
24
|
-
const text_1 = require("./text");
|
|
25
|
-
const hatch_1 = require("./hatch");
|
|
26
|
-
const viewport_1 = __importDefault(require("./viewport"));
|
|
27
|
-
const Parsers = Object.fromEntries([
|
|
28
|
-
arc_1.ArcEntityParser,
|
|
29
|
-
attdef_1.AttDefEntityParser,
|
|
30
|
-
attribute_1.AttributeEntityParser,
|
|
31
|
-
circle_1.CircleEntityParser,
|
|
32
|
-
dimension_1.default,
|
|
33
|
-
ellipse_1.EllipseEntityParser,
|
|
34
|
-
insert_1.InsertEntityParser,
|
|
35
|
-
leader_1.LeaderEntityParser,
|
|
36
|
-
parser_1.LineEntityParser,
|
|
37
|
-
lwpolyline_1.LWPolylineParser,
|
|
38
|
-
parser_2.MTextEntityParser,
|
|
39
|
-
point_1.PointEntityParser,
|
|
40
|
-
polyline_1.PolylineParser,
|
|
41
|
-
section_1.SectionEntityParser,
|
|
42
|
-
solid_1.SolidEntityParser,
|
|
43
|
-
spline_1.SplineEntityParser,
|
|
44
|
-
text_1.TextEntityParser,
|
|
45
|
-
hatch_1.HatchEntityParser,
|
|
46
|
-
viewport_1.default,
|
|
47
|
-
].map((parser) => [parser.ForEntityName, new parser()]));
|
|
48
|
-
/**
|
|
49
|
-
* Is called after the parser first reads the 0:ENTITIES group. The scanner
|
|
50
|
-
* should be on the start of the first entity already.
|
|
51
|
-
*/
|
|
52
|
-
function parseEntities(curr, scanner) {
|
|
53
|
-
let entities = [];
|
|
54
|
-
while (!(0, shared_1.isMatched)(curr, 0, 'EOF')) {
|
|
55
|
-
if (curr.code === 0) {
|
|
56
|
-
// BLOCK 섹션 안에 ENTITY 섹션이 있을 수도 있고
|
|
57
|
-
// ENTITY 섹션만 따로 있을 수도 있음
|
|
58
|
-
// BLOCK 섹션 안에 들어있는 ENTITY는 ENDBLK으로 끝남
|
|
59
|
-
if (curr.value === 'ENDBLK' || curr.value === 'ENDSEC') {
|
|
60
|
-
scanner.rewind();
|
|
61
|
-
break;
|
|
62
|
-
}
|
|
63
|
-
const handler = Parsers[curr.value];
|
|
64
|
-
if (handler) {
|
|
65
|
-
const entityType = curr.value;
|
|
66
|
-
curr = scanner.next();
|
|
67
|
-
const entity = handler.parseEntity(scanner, curr);
|
|
68
|
-
entity.type = entityType;
|
|
69
|
-
(0, shared_1.ensureHandle)(entity);
|
|
70
|
-
entities.push(entity);
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
console.warn(`Unsupported ENTITY type: ${curr.value}`);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
curr = scanner.next();
|
|
77
|
-
}
|
|
78
|
-
return entities;
|
|
79
|
-
}
|
|
80
|
-
exports.parseEntities = parseEntities;
|
|
81
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/parser/entities/index.ts"],"names":[],"mappings":";;;;;;AAEA,sCAAoD;AAEpD,+BAAwC;AACxC,qCAA8C;AAC9C,2CAAoD;AACpD,qCAA8C;AAC9C,4DAAoC;AACpC,uCAAgD;AAChD,qCAA8C;AAC9C,qCAA8C;AAC9C,0CAAiD;AACjD,6CAAgD;AAChD,2CAAmD;AACnD,mCAA4C;AAC5C,yCAA4C;AAC5C,uCAAgD;AAChD,mCAA4C;AAC5C,qCAA8C;AAC9C,iCAA0C;AAC1C,mCAA4C;AAC5C,0DAAkC;AAGlC,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,CAC9B;IACI,qBAAe;IACf,2BAAkB;IAClB,iCAAqB;IACrB,2BAAkB;IAClB,mBAAS;IACT,6BAAmB;IACnB,2BAAkB;IAClB,2BAAkB;IAClB,yBAAgB;IAChB,6BAAgB;IAChB,0BAAiB;IACjB,yBAAiB;IACjB,yBAAc;IACd,6BAAmB;IACnB,yBAAiB;IACjB,2BAAkB;IAClB,uBAAgB;IAChB,yBAAiB;IACjB,kBAAQ;CACX,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,aAAa,EAAE,IAAI,MAAM,EAAE,CAAC,CAAC,CAC1D,CAAC;AAEF;;;GAGG;AACH,SAAgB,aAAa,CACzB,IAAkB,EAClB,OAAwB;IAExB,IAAI,QAAQ,GAAU,EAAE,CAAC;IAEzB,OAAO,CAAC,IAAA,kBAAS,EAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;QAChC,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;YAClB,kCAAkC;YAClC,yBAAyB;YACzB,uCAAuC;YACvC,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;gBACrD,OAAO,CAAC,MAAM,EAAE,CAAC;gBACjB,MAAM;YACV,CAAC;YAED,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACpC,IAAI,OAAO,EAAE,CAAC;gBACV,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;gBAC9B,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;gBAEtB,MAAM,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAQ,CAAC;gBACzD,MAAM,CAAC,IAAI,GAAG,UAAU,CAAC;gBACzB,IAAA,qBAAY,EAAC,MAAM,CAAC,CAAC;gBACrB,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1B,CAAC;iBAAM,CAAC;gBACJ,OAAO,CAAC,IAAI,CAAC,4BAA4B,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;YAC3D,CAAC;QACL,CAAC;QAED,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC;AAjCD,sCAiCC"}
|
|
@@ -1,19 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./parser"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/parser/entities/insert/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type DxfArrayScanner from '../../DxfArrayScanner';
|
|
2
|
-
import type { ScannerGroup } from '../../DxfArrayScanner';
|
|
3
|
-
import type { InsertEntity } from './types';
|
|
4
|
-
export declare class InsertEntityParser {
|
|
5
|
-
static ForEntityName: string;
|
|
6
|
-
private parser;
|
|
7
|
-
parseEntity(scanner: DxfArrayScanner, curr: ScannerGroup): InsertEntity;
|
|
8
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InsertEntityParser = void 0;
|
|
4
|
-
const parserGenerator_1 = require("../../shared/parserGenerator");
|
|
5
|
-
const shared_1 = require("../shared");
|
|
6
|
-
const DefaultInsertEntity = {
|
|
7
|
-
xScale: 1,
|
|
8
|
-
yScale: 1,
|
|
9
|
-
zScale: 1,
|
|
10
|
-
rotation: 0,
|
|
11
|
-
columnCount: 0,
|
|
12
|
-
rowCount: 0,
|
|
13
|
-
columnSpacing: 0,
|
|
14
|
-
rowSpacing: 0,
|
|
15
|
-
extrusionDirection: { x: 0, y: 0, z: 1 },
|
|
16
|
-
};
|
|
17
|
-
const InsertEntityParserSnippets = [
|
|
18
|
-
{
|
|
19
|
-
code: 210,
|
|
20
|
-
name: 'extrusionDirection',
|
|
21
|
-
parser: parserGenerator_1.PointParser,
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
code: 45,
|
|
25
|
-
name: 'rowSpacing',
|
|
26
|
-
parser: parserGenerator_1.Identity,
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
code: 44,
|
|
30
|
-
name: 'columnSpacing',
|
|
31
|
-
parser: parserGenerator_1.Identity,
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
code: 71,
|
|
35
|
-
name: 'rowCount',
|
|
36
|
-
parser: parserGenerator_1.Identity,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
code: 70,
|
|
40
|
-
name: 'columnCount',
|
|
41
|
-
parser: parserGenerator_1.Identity,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
code: 50,
|
|
45
|
-
name: 'rotation',
|
|
46
|
-
parser: parserGenerator_1.Identity,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
code: 43,
|
|
50
|
-
name: 'zScale',
|
|
51
|
-
parser: parserGenerator_1.Identity,
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
code: 42,
|
|
55
|
-
name: 'yScale',
|
|
56
|
-
parser: parserGenerator_1.Identity,
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
code: 41,
|
|
60
|
-
name: 'xScale',
|
|
61
|
-
parser: parserGenerator_1.Identity,
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
code: 10,
|
|
65
|
-
name: 'insertionPoint',
|
|
66
|
-
parser: parserGenerator_1.PointParser,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
code: 2,
|
|
70
|
-
name: 'name',
|
|
71
|
-
parser: parserGenerator_1.Identity,
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
code: 66,
|
|
75
|
-
name: 'isVariableAttributes',
|
|
76
|
-
parser: parserGenerator_1.ToBoolean,
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
code: 100,
|
|
80
|
-
name: 'subclassMarker',
|
|
81
|
-
parser: parserGenerator_1.Identity,
|
|
82
|
-
},
|
|
83
|
-
...shared_1.CommonEntitySnippets,
|
|
84
|
-
];
|
|
85
|
-
class InsertEntityParser {
|
|
86
|
-
constructor() {
|
|
87
|
-
this.parser = (0, parserGenerator_1.createParser)(InsertEntityParserSnippets, DefaultInsertEntity);
|
|
88
|
-
}
|
|
89
|
-
parseEntity(scanner, curr) {
|
|
90
|
-
const entity = {};
|
|
91
|
-
this.parser(curr, scanner, entity);
|
|
92
|
-
return entity;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
exports.InsertEntityParser = InsertEntityParser;
|
|
96
|
-
InsertEntityParser.ForEntityName = 'INSERT';
|
|
97
|
-
//# sourceMappingURL=parser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/parser/entities/insert/parser.ts"],"names":[],"mappings":";;;AAEA,kEAMsC;AACtC,sCAAiD;AAGjD,MAAM,mBAAmB,GAAG;IACxB,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;IACX,WAAW,EAAE,CAAC;IACd,QAAQ,EAAE,CAAC;IACX,aAAa,EAAE,CAAC;IAChB,UAAU,EAAE,CAAC;IACb,kBAAkB,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;CAC3C,CAAC;AAEF,MAAM,0BAA0B,GAAuB;IACnD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,6BAAW;KACtB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,6BAAW;KACtB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,sBAAsB;QAC5B,MAAM,EAAE,2BAAS;KACpB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD,GAAG,6BAAoB;CAC1B,CAAC;AAEF,MAAa,kBAAkB;IAA/B;QAEY,WAAM,GAAG,IAAA,8BAAY,EACzB,0BAA0B,EAC1B,mBAAmB,CACtB,CAAC;IAON,CAAC;IALG,WAAW,CAAC,OAAwB,EAAE,IAAkB;QACpD,MAAM,MAAM,GAAG,EAAS,CAAC;QACzB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QACnC,OAAO,MAAsB,CAAC;IAClC,CAAC;;AAXL,gDAYC;AAXU,gCAAa,GAAG,QAAQ,AAAX,CAAY"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Point3D } from '../../../types';
|
|
2
|
-
import type { CommonDxfEntity } from '../shared';
|
|
3
|
-
export interface InsertEntity extends CommonDxfEntity {
|
|
4
|
-
type: 'INSERT';
|
|
5
|
-
subclassMarker: 'AcDbBlockReference';
|
|
6
|
-
isVariableAttributes?: boolean;
|
|
7
|
-
name: string;
|
|
8
|
-
insertionPoint: Point3D;
|
|
9
|
-
xScale: number;
|
|
10
|
-
yScale: number;
|
|
11
|
-
zScale: number;
|
|
12
|
-
rotation: number;
|
|
13
|
-
columnCount: number;
|
|
14
|
-
rowCount: number;
|
|
15
|
-
columnSpacing: number;
|
|
16
|
-
rowSpacing: number;
|
|
17
|
-
extrusionDirection: Point3D;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/entities/insert/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LeaderCreationFlag = void 0;
|
|
4
|
-
var LeaderCreationFlag;
|
|
5
|
-
(function (LeaderCreationFlag) {
|
|
6
|
-
LeaderCreationFlag[LeaderCreationFlag["TextAnnotation"] = 0] = "TextAnnotation";
|
|
7
|
-
LeaderCreationFlag[LeaderCreationFlag["ToleranceAnnotation"] = 1] = "ToleranceAnnotation";
|
|
8
|
-
LeaderCreationFlag[LeaderCreationFlag["BlockReferenceAnnotation"] = 2] = "BlockReferenceAnnotation";
|
|
9
|
-
LeaderCreationFlag[LeaderCreationFlag["NoAnnotation"] = 3] = "NoAnnotation";
|
|
10
|
-
})(LeaderCreationFlag || (exports.LeaderCreationFlag = LeaderCreationFlag = {}));
|
|
11
|
-
//# sourceMappingURL=consts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/parser/entities/leader/consts.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC1B,+EAAkB,CAAA;IAClB,yFAAuB,CAAA;IACvB,mGAA4B,CAAA;IAC5B,2EAAgB,CAAA;AACpB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B"}
|
|
@@ -1,20 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./parser"), exports);
|
|
19
|
-
__exportStar(require("./consts"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/parser/entities/leader/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type DxfArrayScanner from '../../DxfArrayScanner';
|
|
2
|
-
import type { ScannerGroup } from '../../DxfArrayScanner';
|
|
3
|
-
import type { LeaderEntity } from './types';
|
|
4
|
-
export declare class LeaderEntityParser {
|
|
5
|
-
static ForEntityName: string;
|
|
6
|
-
private parser;
|
|
7
|
-
parseEntity(scanner: DxfArrayScanner, curr: ScannerGroup): LeaderEntity;
|
|
8
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LeaderEntityParser = void 0;
|
|
4
|
-
const parserGenerator_1 = require("../../shared/parserGenerator");
|
|
5
|
-
const shared_1 = require("../shared");
|
|
6
|
-
const DefaultLeaderEntity = {
|
|
7
|
-
isArrowheadEnabled: true,
|
|
8
|
-
};
|
|
9
|
-
const LeaderEntityParserSnippets = [
|
|
10
|
-
{
|
|
11
|
-
code: 213,
|
|
12
|
-
name: 'offsetFromAnnotation',
|
|
13
|
-
parser: parserGenerator_1.PointParser,
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
code: 212,
|
|
17
|
-
name: 'offsetFromBlock',
|
|
18
|
-
parser: parserGenerator_1.PointParser,
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
code: 211,
|
|
22
|
-
name: 'horizontalDirection',
|
|
23
|
-
parser: parserGenerator_1.PointParser,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
code: 210,
|
|
27
|
-
name: 'normal',
|
|
28
|
-
parser: parserGenerator_1.PointParser,
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
code: 340,
|
|
32
|
-
name: 'associatedAnnotation',
|
|
33
|
-
parser: parserGenerator_1.Identity,
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
code: 77,
|
|
37
|
-
name: 'byBlockColor',
|
|
38
|
-
parser: parserGenerator_1.Identity,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
code: 10,
|
|
42
|
-
name: 'vertices',
|
|
43
|
-
parser: parserGenerator_1.PointParser,
|
|
44
|
-
isMultiple: true,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
code: 76,
|
|
48
|
-
name: 'numberOfVertices',
|
|
49
|
-
parser: parserGenerator_1.Identity,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
code: 41,
|
|
53
|
-
name: 'textWidth',
|
|
54
|
-
parser: parserGenerator_1.Identity,
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
code: 40,
|
|
58
|
-
name: 'textHeight',
|
|
59
|
-
parser: parserGenerator_1.Identity,
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
code: 75,
|
|
63
|
-
name: 'isHooklineExists',
|
|
64
|
-
parser: parserGenerator_1.ToBoolean,
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
code: 74,
|
|
68
|
-
name: 'isHooklineSameDirection',
|
|
69
|
-
parser: parserGenerator_1.ToBoolean,
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
code: 73,
|
|
73
|
-
name: 'leaderCreationFlag',
|
|
74
|
-
parser: parserGenerator_1.Identity,
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
code: 72,
|
|
78
|
-
name: 'isSpline',
|
|
79
|
-
parser: parserGenerator_1.ToBoolean,
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
code: 71,
|
|
83
|
-
name: 'isArrowheadEnabled',
|
|
84
|
-
parser: parserGenerator_1.ToBoolean,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
code: 3,
|
|
88
|
-
name: 'styleName',
|
|
89
|
-
parser: parserGenerator_1.Identity,
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
code: 100,
|
|
93
|
-
name: 'subclassMarker',
|
|
94
|
-
parser: parserGenerator_1.Identity,
|
|
95
|
-
},
|
|
96
|
-
...shared_1.CommonEntitySnippets,
|
|
97
|
-
];
|
|
98
|
-
class LeaderEntityParser {
|
|
99
|
-
constructor() {
|
|
100
|
-
this.parser = (0, parserGenerator_1.createParser)(LeaderEntityParserSnippets, DefaultLeaderEntity);
|
|
101
|
-
}
|
|
102
|
-
parseEntity(scanner, curr) {
|
|
103
|
-
const entity = {};
|
|
104
|
-
this.parser(curr, scanner, entity);
|
|
105
|
-
return entity;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
exports.LeaderEntityParser = LeaderEntityParser;
|
|
109
|
-
LeaderEntityParser.ForEntityName = 'LEADER';
|
|
110
|
-
//# sourceMappingURL=parser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/parser/entities/leader/parser.ts"],"names":[],"mappings":";;;AAEA,kEAMsC;AACtC,sCAAiD;AAGjD,MAAM,mBAAmB,GAAG;IACxB,kBAAkB,EAAE,IAAI;CAC3B,CAAC;AAEF,MAAM,0BAA0B,GAAuB;IACnD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,sBAAsB;QAC5B,MAAM,EAAE,6BAAW;KACtB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,iBAAiB;QACvB,MAAM,EAAE,6BAAW;KACtB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,6BAAW;KACtB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,6BAAW;KACtB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,sBAAsB;QAC5B,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,6BAAW;QACnB,UAAU,EAAE,IAAI;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE,2BAAS;KACpB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,yBAAyB;QAC/B,MAAM,EAAE,2BAAS;KACpB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,2BAAS;KACpB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,2BAAS;KACpB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD,GAAG,6BAAoB;CAC1B,CAAC;AAEF,MAAa,kBAAkB;IAA/B;QAEY,WAAM,GAAG,IAAA,8BAAY,EACzB,0BAA0B,EAC1B,mBAAmB,CACtB,CAAC;IAON,CAAC;IALG,WAAW,CAAC,OAAwB,EAAE,IAAkB;QACpD,MAAM,MAAM,GAAG,EAAS,CAAC;QACzB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QACnC,OAAO,MAAsB,CAAC;IAClC,CAAC;;AAXL,gDAYC;AAXU,gCAAa,GAAG,QAAQ,AAAX,CAAY"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Point3D } from '../../../types';
|
|
2
|
-
import type { CommonDxfEntity } from '../shared';
|
|
3
|
-
import type { LeaderCreationFlag } from './consts';
|
|
4
|
-
export interface LeaderEntity extends CommonDxfEntity {
|
|
5
|
-
type: 'LEADER';
|
|
6
|
-
subclassMarker: 'AcDbLeader';
|
|
7
|
-
styleName: string;
|
|
8
|
-
isArrowheadEnabled: boolean;
|
|
9
|
-
isSpline: boolean;
|
|
10
|
-
leaderCreationFlag: LeaderCreationFlag;
|
|
11
|
-
isHooklineSameDirection: boolean;
|
|
12
|
-
isHooklineExists: boolean;
|
|
13
|
-
textHeight?: number;
|
|
14
|
-
textWidth?: number;
|
|
15
|
-
numberOfVertices?: number;
|
|
16
|
-
vertices: Point3D[];
|
|
17
|
-
byBlockColor?: number;
|
|
18
|
-
associatedAnnotation?: string;
|
|
19
|
-
normal?: Point3D;
|
|
20
|
-
horizontalDirection?: Point3D;
|
|
21
|
-
offsetFromBlock?: Point3D;
|
|
22
|
-
offsetFromAnnotation?: Point3D;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/entities/leader/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./parser"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/parser/entities/line/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type DxfArrayScanner from '../../DxfArrayScanner';
|
|
2
|
-
import type { ScannerGroup } from '../../DxfArrayScanner';
|
|
3
|
-
import type { LineEntity } from './types';
|
|
4
|
-
export declare class LineEntityParser {
|
|
5
|
-
static ForEntityName: string;
|
|
6
|
-
private parser;
|
|
7
|
-
parseEntity(scanner: DxfArrayScanner, curr: ScannerGroup): LineEntity;
|
|
8
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LineEntityParser = void 0;
|
|
4
|
-
const parserGenerator_1 = require("../../shared/parserGenerator");
|
|
5
|
-
const shared_1 = require("../shared");
|
|
6
|
-
const DefaultLineEntity = {
|
|
7
|
-
thickness: 0,
|
|
8
|
-
extrusionDirection: { x: 0, y: 0, z: 1 },
|
|
9
|
-
};
|
|
10
|
-
const LineEntityParserSnippets = [
|
|
11
|
-
{
|
|
12
|
-
code: 210,
|
|
13
|
-
name: 'extrusionDirection',
|
|
14
|
-
parser: parserGenerator_1.PointParser,
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
code: 11,
|
|
18
|
-
name: 'endPoint',
|
|
19
|
-
parser: parserGenerator_1.PointParser,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
code: 10,
|
|
23
|
-
name: 'startPoint',
|
|
24
|
-
parser: parserGenerator_1.PointParser,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
code: 39,
|
|
28
|
-
name: 'thickness',
|
|
29
|
-
parser: parserGenerator_1.Identity,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
code: 100,
|
|
33
|
-
name: 'subclassMarker',
|
|
34
|
-
parser: parserGenerator_1.Identity,
|
|
35
|
-
},
|
|
36
|
-
...shared_1.CommonEntitySnippets,
|
|
37
|
-
];
|
|
38
|
-
class LineEntityParser {
|
|
39
|
-
constructor() {
|
|
40
|
-
this.parser = (0, parserGenerator_1.createParser)(LineEntityParserSnippets, DefaultLineEntity);
|
|
41
|
-
}
|
|
42
|
-
parseEntity(scanner, curr) {
|
|
43
|
-
const entity = {};
|
|
44
|
-
this.parser(curr, scanner, entity);
|
|
45
|
-
return entity;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.LineEntityParser = LineEntityParser;
|
|
49
|
-
LineEntityParser.ForEntityName = 'LINE';
|
|
50
|
-
//# sourceMappingURL=parser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/parser/entities/line/parser.ts"],"names":[],"mappings":";;;AAEA,kEAKsC;AACtC,sCAAiD;AAGjD,MAAM,iBAAiB,GAAG;IACtB,SAAS,EAAE,CAAC;IACZ,kBAAkB,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;CAC3C,CAAC;AAEF,MAAM,wBAAwB,GAAuB;IACjD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,6BAAW;KACtB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,6BAAW;KACtB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,6BAAW;KACtB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD,GAAG,6BAAoB;CAC1B,CAAC;AAEF,MAAa,gBAAgB;IAA7B;QAEY,WAAM,GAAG,IAAA,8BAAY,EAAC,wBAAwB,EAAE,iBAAiB,CAAC,CAAC;IAO/E,CAAC;IALG,WAAW,CAAC,OAAwB,EAAE,IAAkB;QACpD,MAAM,MAAM,GAAG,EAAS,CAAC;QACzB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QACnC,OAAO,MAAoB,CAAC;IAChC,CAAC;;AARL,4CASC;AARU,8BAAa,GAAG,MAAM,AAAT,CAAU"}
|