@devexpress/analytics-core 26.1.7-build-26318-0102 → 26.2.2-beta
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/README.md +7 -7
- package/accessibility/_accordionKeyboardHelper.d.ts +1 -0
- package/accessibility/_accordionKeyboardHelper.js +6 -3
- package/accessibility/_dxMutationObserver.js +11 -4
- package/accessibility/_keyboardHelperBase.d.ts +1 -0
- package/accessibility/_keyboardHelperBase.js +14 -4
- package/accessibility/_toolbarKeyboardHelper.d.ts +5 -5
- package/accessibility/_toolbarKeyboardHelper.js +12 -20
- package/accessibility/_treeListKeyboardHelper.d.ts +2 -2
- package/analytics-diagram.d.ts +6 -4
- package/analytics-diagram.js +6 -4
- package/analytics-elements.d.ts +4 -2
- package/analytics-elements.js +4 -2
- package/analytics-internal-native.d.ts +2 -4
- package/analytics-internal-native.js +2 -4
- package/analytics-internal.d.ts +8 -8
- package/analytics-internal.js +8 -8
- package/analytics-serializer-native.d.ts +8 -2
- package/analytics-serializer-native.js +8 -2
- package/analytics-utils-native.d.ts +2 -0
- package/analytics-utils-native.js +2 -0
- package/analytics-utils.d.ts +2 -2
- package/analytics-utils.js +2 -2
- package/analytics-version.js +1 -1
- package/analytics-widgets-filtering.d.ts +2 -0
- package/analytics-widgets-filtering.js +2 -0
- package/analytics-widgets-internal.d.ts +6 -10
- package/analytics-widgets-internal.js +6 -10
- package/analytics-widgets.d.ts +10 -0
- package/analytics-widgets.js +10 -0
- package/analytics-wizard-internal.d.ts +4 -2
- package/analytics-wizard-internal.js +4 -2
- package/bundle/_validator.js +3 -3
- package/core/_actionProvider.d.ts +3 -3
- package/core/_actionProvider.js +4 -11
- package/core/_actionsProvider.interface.d.ts +2 -2
- package/core/_bindings.d.ts +9 -1
- package/core/_bindings.js +103 -117
- package/core/binding/_jsDesignerBindingCommon.js +4 -4
- package/core/dragDrop/_dragDropHandler.d.ts +7 -8
- package/core/dragDrop/_dragDropHandler.js +20 -20
- package/core/dragDrop/_dragHelperContent.d.ts +18 -10
- package/core/dragDrop/_dragHelperContent.js +52 -23
- package/core/dragDrop/_selectionDragDropHandler.d.ts +1 -2
- package/core/dragDrop/_selectionDragDropHandler.js +17 -17
- package/core/dragDrop/_toolboxDragDropHandler.d.ts +1 -2
- package/core/dragDrop/_toolboxDragDropHandler.js +6 -5
- package/core/dragDrop/_wizardDragDropHandler.js +5 -6
- package/core/elements/baseSerializableModel.d.ts +9 -0
- package/core/elements/baseSerializableModel.js +14 -0
- package/core/elements/baseSurface.d.ts +106 -31
- package/core/elements/baseSurface.js +298 -137
- package/core/elements/elementModel.d.ts +102 -0
- package/core/elements/elementModel.js +256 -0
- package/core/elements/margins.d.ts +10 -10
- package/core/elements/margins.js +8 -7
- package/core/elements/paddingModel.d.ts +22 -17
- package/core/elements/paddingModel.js +34 -45
- package/core/elements/point.d.ts +7 -7
- package/core/elements/point.js +7 -5
- package/core/elements/rectangle.d.ts +18 -6
- package/core/elements/rectangle.js +34 -11
- package/core/elements/serializableModel.d.ts +4 -2
- package/core/elements/serializableModel.js +4 -5
- package/core/elements/size.d.ts +16 -6
- package/core/elements/size.js +7 -5
- package/core/internal/_arrayStores.d.ts +2 -2
- package/core/internal/_arrayStores.js +1 -2
- package/core/internal/_controlsHelper.d.ts +16 -12
- package/core/internal/_controlsHelper.js +62 -46
- package/core/internal/_cssCalculator.d.ts +39 -10
- package/core/internal/_cssCalculator.js +62 -64
- package/core/internal/_dimensionNotationsModel.d.ts +28 -8
- package/core/internal/_dimensionNotationsModel.js +65 -30
- package/core/internal/_draggable.d.ts +1 -0
- package/core/internal/_draggable.js +4 -1
- package/core/internal/_getNameHelpers.d.ts +1 -1
- package/core/internal/_getNameHelpers.js +4 -3
- package/core/internal/_hoverInfo.d.ts +10 -7
- package/core/internal/_hoverInfo.js +19 -16
- package/core/internal/_inlineTextEdit.d.ts +21 -6
- package/core/internal/_inlineTextEdit.js +67 -34
- package/core/internal/_ko_integration.d.ts +18 -14
- package/core/internal/_ko_integration.js +48 -79
- package/core/internal/_objectStructureControllers.d.ts +9 -7
- package/core/internal/_objectStructureProviders.d.ts +25 -9
- package/core/internal/_objectStructureProviders.js +113 -48
- package/core/internal/_processError.js +1 -1
- package/core/internal/_resizable.d.ts +27 -22
- package/core/internal/_resizable.js +37 -36
- package/core/internal/_resizableBinding.js +39 -34
- package/core/internal/_stores.d.ts +23 -9
- package/core/internal/_stores.js +50 -17
- package/core/internal/_surfaceHelpers.d.ts +3 -4
- package/core/internal/_surfaceHelpers.js +4 -4
- package/core/internal/_utils.d.ts +2 -1
- package/core/internal/_utils.js +1 -0
- package/core/internal/_validation.d.ts +1 -6
- package/core/internal/dxtTemplate.js +1 -1
- package/core/selection/_combinedObj.d.ts +23 -8
- package/core/selection/_combinedObj.js +114 -55
- package/core/selection/_selection.d.ts +33 -25
- package/core/selection/_selection.js +61 -57
- package/core/selection/_selectionHelpers.js +5 -5
- package/core/snapLines/_snapLineSurface.js +3 -4
- package/core/snapLines/_snapLinesCollector.d.ts +1 -2
- package/core/snapLines/_snapLinesCollector.js +2 -2
- package/core/snapLines/_snapLinesHelper.d.ts +14 -3
- package/core/snapLines/_snapLinesHelper.js +27 -4
- package/core/tools/_actionList.d.ts +5 -5
- package/core/tools/_actionList.js +129 -98
- package/core/tools/_actionListBase.d.ts +20 -12
- package/core/tools/_actionListBase.js +69 -54
- package/core/tools/_actionListBase.viewModel.d.ts +1 -0
- package/core/tools/_actionListBase.viewModel.js +48 -25
- package/core/tools/_copyPaste.d.ts +6 -7
- package/core/tools/_copyPaste.js +34 -32
- package/core/tools/_keyboardHelper.d.ts +8 -6
- package/core/tools/_keyboardHelper.js +58 -37
- package/core/tools/_tabInfoWithPropertyGrid.d.ts +5 -2
- package/core/tools/_tabInfoWithPropertyGrid.js +18 -12
- package/core/tools/contextMenuProvider.d.ts +25 -12
- package/core/tools/contextMenuProvider.js +39 -13
- package/core/tools/toolbox.d.ts +15 -3
- package/core/tools/toolbox.js +32 -4
- package/core/utils/_arrayutils.compareArrays.d.ts +1 -0
- package/core/utils/_arrayutils.compareArrays.js +7 -8
- package/core/utils/_arrayutils.d.ts +7 -5
- package/core/utils/_arrayutils.js +69 -73
- package/core/utils/_designerCreator.d.ts +56 -110
- package/core/utils/_designerCreator.js +173 -167
- package/core/utils/_designerInitializer.d.ts +5 -4
- package/core/utils/_designerInitializer.js +47 -37
- package/core/utils/_designerRootViewModel.d.ts +148 -0
- package/core/utils/_designerRootViewModel.js +243 -0
- package/core/utils/_fieldListProvider.d.ts +5 -2
- package/core/utils/_fieldListProvider.js +10 -7
- package/core/utils/_subscribeProperty.d.ts +21 -0
- package/core/utils/_subscribeProperty.js +56 -0
- package/core/utils/_testHelpers.d.ts +2 -0
- package/core/utils/_testHelpers.js +16 -0
- package/core/utils/_units.d.ts +2 -5
- package/core/utils/_units.js +1 -30
- package/core/utils/_utils.d.ts +3 -2
- package/core/utils/_utils.designerPart.d.ts +1 -0
- package/core/utils/_utils.designerPart.js +4 -1
- package/core/utils/_utils.getResizableOptions.d.ts +2 -2
- package/core/utils/_utils.getResizableOptions.js +12 -20
- package/core/utils/_utils.js +31 -15
- package/core/utils/_utils.staticContext.d.ts +22 -6
- package/core/utils/_utils.staticContext.js +2 -0
- package/core/utils/_visitors.d.ts +1 -1
- package/core/utils/_visitors.js +7 -8
- package/core/utils/controlsFactory.d.ts +2 -2
- package/core/utils/controlsFactory.js +2 -2
- package/core/utils/parsers.d.ts +4 -5
- package/core/utils/parsers.js +10 -15
- package/core/widgets/_criteriaPopupEditorBase.d.ts +13 -6
- package/core/widgets/_criteriaPopupEditorBase.js +39 -9
- package/core/widgets/_dataMemberEditor.d.ts +8 -8
- package/core/widgets/_dataMemberEditor.js +5 -3
- package/core/widgets/_displayNameBindings.d.ts +2 -0
- package/core/widgets/_displayNameBindings.js +14 -0
- package/core/widgets/_fieldlistpicker.d.ts +11 -5
- package/core/widgets/_fieldlistpicker.js +58 -43
- package/core/widgets/_popupEditorBase.d.ts +30 -11
- package/core/widgets/_popupEditorBase.js +65 -17
- package/core/widgets/_requiredNullableEditor.d.ts +3 -4
- package/core/widgets/_requiredNullableEditor.js +2 -6
- package/core/widgets/booleanEditor.d.ts +1 -7
- package/core/widgets/booleanEditor.js +3 -8
- package/core/widgets/bordereditor/_bordereditor.d.ts +30 -20
- package/core/widgets/bordereditor/_bordereditor.js +97 -48
- package/core/widgets/colorPickerEditor.d.ts +7 -9
- package/core/widgets/colorPickerEditor.js +30 -25
- package/core/widgets/criteriaStringEditor.d.ts +17 -0
- package/core/widgets/criteriaStringEditor.js +33 -0
- package/core/widgets/dataMemberEditor.d.ts +4 -3
- package/core/widgets/dataMemberEditor.js +5 -3
- package/core/widgets/expressionStringEditor.d.ts +4 -0
- package/core/widgets/expressionStringEditor.js +3 -0
- package/core/widgets/fieldListEditor.d.ts +21 -7
- package/core/widgets/fieldListEditor.js +68 -17
- package/core/widgets/filterStringEditor.d.ts +17 -0
- package/core/widgets/filterStringEditor.js +16 -0
- package/core/widgets/popover.d.ts +16 -3
- package/core/widgets/popover.js +66 -2
- package/core/widgets/propertygrid/_controlProperties.d.ts +37 -16
- package/core/widgets/propertygrid/_controlProperties.js +127 -55
- package/core/widgets/propertygrid/_controlProperties.viewModel.d.ts +39 -0
- package/core/widgets/propertygrid/_controlProperties.viewModel.js +64 -0
- package/core/widgets/propertygrid/_group.d.ts +25 -15
- package/core/widgets/propertygrid/_group.js +65 -35
- package/core/widgets/propertygrid/_group.viewModel.d.ts +20 -0
- package/core/widgets/propertygrid/_group.viewModel.js +30 -0
- package/core/widgets/registerDesignerEditors.d.ts +1 -1
- package/core/widgets/registerDesignerEditors.js +11 -7
- package/core/widgets/registerDesignerEditors.native.d.ts +1 -1
- package/core/widgets/registerDesignerEditors.native.js +22 -26
- package/core/widgets/tabInfo.d.ts +5 -0
- package/core/widgets/tabInfo.js +16 -2
- package/core/widgets/tabPanel.d.ts +2 -1
- package/core/widgets/tabPanel.js +16 -14
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.d.ts +8 -8
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.js +54 -31
- package/diagram/_diagramRootModel.d.ts +11 -0
- package/diagram/_diagramRootModel.js +23 -0
- package/diagram/bindings.js +4 -4
- package/diagram/controlRegistrator.js +17 -17
- package/diagram/dragDrop/connectingPointDragHandler.d.ts +3 -4
- package/diagram/dragDrop/connectingPointDragHandler.js +10 -10
- package/diagram/dragDrop/connectionPointDragHandler.d.ts +1 -2
- package/diagram/dragDrop/connectionPointDragHandler.js +12 -12
- package/diagram/elements/connectingPointModel.d.ts +9 -9
- package/diagram/elements/connectingPointModel.js +32 -30
- package/diagram/elements/connectingPointSurface.d.ts +9 -5
- package/diagram/elements/connectingPointSurface.js +21 -7
- package/diagram/elements/connectors/connectionPointModel.d.ts +9 -7
- package/diagram/elements/connectors/connectionPointModel.js +16 -20
- package/diagram/elements/connectors/connectionPointSurface.d.ts +24 -9
- package/diagram/elements/connectors/connectionPointSurface.js +28 -14
- package/diagram/elements/connectors/connectorModel.d.ts +11 -9
- package/diagram/elements/connectors/connectorModel.js +51 -56
- package/diagram/elements/connectors/connectorSurface.d.ts +16 -8
- package/diagram/elements/connectors/connectorSurface.js +30 -8
- package/diagram/elements/connectors/routedConnectorModel.d.ts +14 -9
- package/diagram/elements/connectors/routedConnectorModel.js +87 -54
- package/diagram/elements/connectors/routedConnectorSurface.d.ts +43 -16
- package/diagram/elements/connectors/routedConnectorSurface.js +84 -53
- package/diagram/elements/{diagramElementBaseViewModel.d.ts → diagramElementBaseModel.d.ts} +5 -4
- package/diagram/elements/{diagramElementBaseViewModel.js → diagramElementBaseModel.js} +2 -2
- package/diagram/elements/diagramElementBaseSurface.d.ts +15 -8
- package/diagram/elements/diagramElementBaseSurface.js +22 -20
- package/diagram/elements/diagramElementModel.d.ts +10 -0
- package/diagram/elements/diagramElementModel.js +13 -0
- package/diagram/elements/diagramElementSurface.d.ts +12 -4
- package/diagram/elements/diagramElementSurface.js +16 -0
- package/diagram/elements/diagramModel.d.ts +6 -7
- package/diagram/elements/diagramModel.js +15 -7
- package/diagram/elements/diagramSurface.d.ts +24 -16
- package/diagram/elements/diagramSurface.js +56 -27
- package/diagram/initializer.d.ts +3 -2
- package/diagram/initializer.js +20 -15
- package/diagram/utils.js +4 -4
- package/dist/css/dx-analytics.carmine.compact.css +13 -10
- package/dist/css/dx-analytics.carmine.css +13 -10
- package/dist/css/dx-analytics.common.css +37 -15
- package/dist/css/dx-analytics.contrast.compact.css +37 -10
- package/dist/css/dx-analytics.contrast.css +37 -10
- package/dist/css/dx-analytics.dark.compact.css +13 -10
- package/dist/css/dx-analytics.dark.css +13 -10
- package/dist/css/dx-analytics.darkmoon.compact.css +13 -10
- package/dist/css/dx-analytics.darkmoon.css +13 -10
- package/dist/css/dx-analytics.darkviolet.compact.css +13 -10
- package/dist/css/dx-analytics.darkviolet.css +13 -10
- package/dist/css/dx-analytics.greenmist.compact.css +13 -10
- package/dist/css/dx-analytics.greenmist.css +13 -10
- package/dist/css/dx-analytics.light.compact.css +12 -9
- package/dist/css/dx-analytics.light.css +12 -9
- package/dist/css/dx-analytics.material.blue.dark.compact.css +17 -14
- package/dist/css/dx-analytics.material.blue.dark.css +17 -14
- package/dist/css/dx-analytics.material.blue.light.compact.css +26 -23
- package/dist/css/dx-analytics.material.blue.light.css +26 -23
- package/dist/css/dx-analytics.material.lime.dark.compact.css +17 -14
- package/dist/css/dx-analytics.material.lime.dark.css +17 -14
- package/dist/css/dx-analytics.material.lime.light.compact.css +16 -13
- package/dist/css/dx-analytics.material.lime.light.css +16 -13
- package/dist/css/dx-analytics.material.orange.dark.compact.css +17 -14
- package/dist/css/dx-analytics.material.orange.dark.css +17 -14
- package/dist/css/dx-analytics.material.orange.light.compact.css +16 -13
- package/dist/css/dx-analytics.material.orange.light.css +16 -13
- package/dist/css/dx-analytics.material.purple.dark.compact.css +17 -14
- package/dist/css/dx-analytics.material.purple.dark.css +17 -14
- package/dist/css/dx-analytics.material.purple.light.compact.css +16 -13
- package/dist/css/dx-analytics.material.purple.light.css +16 -13
- package/dist/css/dx-analytics.material.teal.dark.compact.css +17 -14
- package/dist/css/dx-analytics.material.teal.dark.css +17 -14
- package/dist/css/dx-analytics.material.teal.light.compact.css +16 -13
- package/dist/css/dx-analytics.material.teal.light.css +16 -13
- package/dist/css/dx-analytics.softblue.compact.css +13 -10
- package/dist/css/dx-analytics.softblue.css +13 -10
- package/dist/css/dx-querybuilder.css +7 -7
- package/dist/html/templates.html +3423 -3461
- package/dist/js/dx-analytics-core.d.ts +8951 -7005
- package/dist/js/dx-analytics-core.js +16753 -12987
- package/dist/js/dx-analytics-core.min.js +8 -8
- package/dist/js/dx-querybuilder.js +6246 -3858
- package/dist/js/dx-querybuilder.min.js +8 -8
- package/dx-analytics-core-bindings.generated.js +158 -178
- package/dx-analytics-core-imports.d.ts +0 -1
- package/dx-analytics-core-imports.js +0 -1
- package/dx-analytics-core-templates.generated.js +73 -73
- package/dx-dev-analytics-core-svg-bindings.generated.js +2 -1
- package/dx-dev-analytics-core-svg-templates.generated.js +2 -1
- package/dx-query-builder-bindings.generated.js +181 -194
- package/dx-query-builder-templates.generated.js +75 -79
- package/less/colors/carmine-colors.less +36 -35
- package/less/colors/contrast-colors.less +36 -35
- package/less/colors/dark-colors.less +35 -34
- package/less/colors/darkmoon-colors.less +35 -34
- package/less/colors/darkviolet-colors.less +35 -34
- package/less/colors/greenmist-colors.less +35 -34
- package/less/colors/light-colors.less +35 -34
- package/less/colors/material.dark-colors.less +10 -9
- package/less/colors/material.light-colors.less +5 -4
- package/less/colors/softblue-colors.less +35 -34
- package/less/common.less +128 -128
- package/less/dx-carmine-style.less +2 -2
- package/less/dx-contrast-style.less +133 -95
- package/less/dx-dark-style.less +1 -1
- package/less/dx-darkmoon-style.less +2 -2
- package/less/dx-darkviolet-style.less +2 -2
- package/less/dx-greenmist-style.less +2 -2
- package/less/dx-light-style.less +1 -1
- package/less/dx-material.blue.dark-style.less +4 -4
- package/less/dx-material.blue.light-style.less +4 -4
- package/less/dx-material.dark.fix-varialbles.less +24 -24
- package/less/dx-material.fix-style.less +1344 -1344
- package/less/dx-material.light.fix-varialbles.less +6 -6
- package/less/dx-material.lime.dark-style.less +5 -5
- package/less/dx-material.lime.light-style.less +5 -5
- package/less/dx-material.orange.dark-style.less +5 -5
- package/less/dx-material.orange.light-style.less +5 -5
- package/less/dx-material.purple.dark-style.less +5 -5
- package/less/dx-material.purple.light-style.less +5 -5
- package/less/dx-material.teal.dark-style.less +5 -5
- package/less/dx-material.teal.light-style.less +5 -5
- package/less/dx-softblue-style.less +2 -2
- package/less/dx-variable-style.less +461 -456
- package/less/important.less +426 -426
- package/less/svg.less +42 -42
- package/license/_license.tools.d.ts +4 -0
- package/license/_license.tools.js +13 -5
- package/package.json +5 -5
- package/property-grid/_propertiesAccessibilityProvider.d.ts +10 -3
- package/property-grid/_propertiesAccessibilityProvider.js +24 -18
- package/property-grid/bindings.accordion.js +11 -30
- package/property-grid/bindings.d.ts +3 -6
- package/property-grid/bindings.js +65 -69
- package/property-grid/internal/_addon.d.ts +32 -14
- package/property-grid/internal/_addon.js +100 -40
- package/property-grid/internal/_popupService.d.ts +26 -8
- package/property-grid/internal/_popupService.js +60 -9
- package/property-grid/localization/_localization.d.ts +5 -5
- package/property-grid/localization/_localization.js +1 -1
- package/property-grid/localization/localization_utils.d.ts +1 -1
- package/property-grid/propertygrid.d.ts +67 -33
- package/property-grid/propertygrid.js +232 -140
- package/property-grid/widgets/_undoEditor.d.ts +15 -0
- package/property-grid/widgets/_undoEditor.js +45 -0
- package/property-grid/widgets/collectioneditor/_bindings.d.ts +8 -5
- package/property-grid/widgets/collectioneditor/_bindings.js +72 -15
- package/property-grid/widgets/collectioneditor/_editor.d.ts +11 -9
- package/property-grid/widgets/collectioneditor/_editor.js +68 -76
- package/property-grid/widgets/editor.d.ts +101 -56
- package/property-grid/widgets/editor.js +242 -185
- package/property-grid/widgets/editor.viewmodel.d.ts +2 -0
- package/property-grid/widgets/editor.viewmodel.js +82 -42
- package/property-grid/widgets/editorValidator.d.ts +9 -10
- package/property-grid/widgets/editorValidator.js +9 -2
- package/property-grid/widgets/editorsInfo.d.ts +1 -0
- package/property-grid/widgets/editorsInfo.js +9 -0
- package/property-grid/widgets/ellipsiseditor/_editor.d.ts +2 -2
- package/property-grid/widgets/ellipsiseditor/_editor.js +1 -0
- package/property-grid/widgets/fonteditor/_fonts.d.ts +1 -2
- package/property-grid/widgets/fonteditor/_fonts.js +2 -2
- package/property-grid/widgets/fonteditor/_model.d.ts +23 -14
- package/property-grid/widgets/fonteditor/_model.js +79 -40
- package/property-grid/widgets/fonteditor/_modificatorsEditor.d.ts +28 -0
- package/property-grid/widgets/fonteditor/_modificatorsEditor.js +31 -0
- package/property-grid/widgets/fonteditor/editor.d.ts +7 -6
- package/property-grid/widgets/fonteditor/editor.js +12 -9
- package/property-grid/widgets/guideditor.d.ts +17 -4
- package/property-grid/widgets/guideditor.js +52 -5
- package/property-grid/widgets/internal/_bindingsCache.ko.js +11 -14
- package/property-grid/widgets/internal/_internal.d.ts +4 -3
- package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +1 -2
- package/property-grid/widgets/internal/_svgTemplateEngine.ko.js +4 -7
- package/property-grid/widgets/internal/_utils.d.ts +21 -14
- package/property-grid/widgets/internal/_utils.js +8 -0
- package/property-grid/widgets/registerBaseEdtior.d.ts +1 -1
- package/property-grid/widgets/registerBaseEdtior.js +3 -3
- package/property-grid/widgets/registerBaseEdtior.native.d.ts +1 -1
- package/property-grid/widgets/registerBaseEdtior.native.js +14 -17
- package/query-builder/_accordionTabInfo.d.ts +12 -20
- package/query-builder/_accordionTabInfo.js +49 -30
- package/query-builder/_bindings.js +6 -5
- package/query-builder/_initializer.d.ts +11 -8
- package/query-builder/_initializer.js +205 -164
- package/query-builder/_previewDialog.d.ts +38 -0
- package/query-builder/_previewDialog.js +60 -0
- package/query-builder/_queryBuilderRootModel.d.ts +42 -0
- package/query-builder/_queryBuilderRootModel.js +70 -0
- package/query-builder/binding/jsQueryBuilder.d.ts +5 -7
- package/query-builder/binding/jsQueryBuilder.js +6 -12
- package/query-builder/binding/jsQueryBuilderBinding.d.ts +2 -2
- package/query-builder/binding/jsQueryBuilderBinding.js +15 -16
- package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +4 -4
- package/query-builder/dataSource/_utils.js +2 -2
- package/query-builder/dataSource/dataSourceParameter.d.ts +18 -12
- package/query-builder/dataSource/dataSourceParameter.js +73 -54
- package/query-builder/dataSource/dbSchemaProvider.js +9 -7
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.d.ts +8 -9
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.js +14 -14
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.d.ts +4 -5
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.js +8 -9
- package/query-builder/dataSource/federation/federatedQueries/subNode.d.ts +9 -10
- package/query-builder/dataSource/federation/federatedQueries/subNode.js +18 -19
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.d.ts +13 -14
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.js +14 -14
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.d.ts +5 -6
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.js +5 -7
- package/query-builder/dataSource/federation/federatedQueriesContainer.d.ts +7 -8
- package/query-builder/dataSource/federation/federatedQueriesContainer.js +32 -25
- package/query-builder/dataSource/federation/federatedQueryExpression.d.ts +6 -5
- package/query-builder/dataSource/federation/federatedQueryExpression.js +4 -4
- package/query-builder/dataSource/federation/federationDataSource.d.ts +8 -9
- package/query-builder/dataSource/federation/federationDataSource.js +14 -14
- package/query-builder/dataSource/federation/federationMasterDetailRelation.d.ts +2 -1
- package/query-builder/dataSource/federation/federationMasterDetailRelation.js +4 -4
- package/query-builder/dataSource/federation/federationSerializableModel.d.ts +1 -2
- package/query-builder/dataSource/federation/federationSerializableModel.js +10 -11
- package/query-builder/dataSource/federation/federationSource.d.ts +6 -6
- package/query-builder/dataSource/federation/federationSource.js +7 -9
- package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +4 -4
- package/query-builder/dataSource/json/jsonAuthenticationInfo.js +4 -4
- package/query-builder/dataSource/json/jsonDataSource.d.ts +5 -6
- package/query-builder/dataSource/json/jsonDataSource.js +7 -7
- package/query-builder/dataSource/json/jsonParameter.d.ts +42 -17
- package/query-builder/dataSource/json/jsonParameter.js +60 -23
- package/query-builder/dataSource/json/jsonSchemaNode.d.ts +7 -7
- package/query-builder/dataSource/json/jsonSchemaNode.js +19 -11
- package/query-builder/dataSource/json/jsonSchemaProvider.js +6 -5
- package/query-builder/dataSource/json/jsonSource.d.ts +8 -10
- package/query-builder/dataSource/json/jsonSource.js +18 -21
- package/query-builder/dataSource/mongoDB/mongoDBDataConnection.js +2 -2
- package/query-builder/dataSource/mongoDB/mongoDBDataSource.d.ts +4 -4
- package/query-builder/dataSource/mongoDB/mongoDBDataSource.js +11 -9
- package/query-builder/dataSource/mongoDB/mongoDBQuery.d.ts +7 -6
- package/query-builder/dataSource/mongoDB/mongoDBQuery.js +15 -15
- package/query-builder/dataSource/object/objectDataSource.d.ts +3 -4
- package/query-builder/dataSource/object/objectDataSource.js +13 -8
- package/query-builder/dataSource/object/objectSchema.d.ts +2 -3
- package/query-builder/dataSource/object/objectSchema.js +4 -5
- package/query-builder/dataSource/resultSet.d.ts +3 -3
- package/query-builder/dataSource/resultSet.js +7 -6
- package/query-builder/dataSource/resultTable.d.ts +7 -7
- package/query-builder/dataSource/resultTable.js +4 -4
- package/query-builder/dataSource/sql/connectionOptions.d.ts +4 -4
- package/query-builder/dataSource/sql/connectionOptions.js +5 -9
- package/query-builder/dataSource/sql/customSqlQuery.d.ts +6 -6
- package/query-builder/dataSource/sql/customSqlQuery.js +9 -8
- package/query-builder/dataSource/sql/dataConnectionBase.d.ts +5 -5
- package/query-builder/dataSource/sql/dataConnectionBase.js +5 -8
- package/query-builder/dataSource/sql/masterDetailRelation.d.ts +13 -12
- package/query-builder/dataSource/sql/masterDetailRelation.js +9 -25
- package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +1 -0
- package/query-builder/dataSource/sql/masterDetailRelationMeta.js +6 -7
- package/query-builder/dataSource/sql/sqlDataSource.d.ts +6 -7
- package/query-builder/dataSource/sql/sqlDataSource.js +13 -13
- package/query-builder/dataSource/sql/storedProcQuery.d.ts +6 -6
- package/query-builder/dataSource/sql/storedProcQuery.js +10 -9
- package/query-builder/dataSource/sql/tableQuery.d.ts +8 -8
- package/query-builder/dataSource/sql/tableQuery.js +10 -9
- package/query-builder/dataSource/utils.d.ts +7 -8
- package/query-builder/dragDrop/_columnDragHandler.d.ts +5 -6
- package/query-builder/dragDrop/_columnDragHandler.js +41 -29
- package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +7 -8
- package/query-builder/dragDrop/_dbObjectDragDropHandler.js +14 -12
- package/query-builder/elements/_federationColumnModel.d.ts +7 -7
- package/query-builder/elements/_federationColumnModel.js +4 -4
- package/query-builder/elements/_federationQueryModel.d.ts +22 -23
- package/query-builder/elements/_federationQueryModel.js +50 -43
- package/query-builder/elements/allColumnsModel.d.ts +7 -8
- package/query-builder/elements/allColumnsModel.js +22 -24
- package/query-builder/elements/allColumnsSurface.d.ts +14 -11
- package/query-builder/elements/allColumnsSurface.js +25 -14
- package/query-builder/elements/columnExpression.d.ts +21 -16
- package/query-builder/elements/columnExpression.js +50 -22
- package/query-builder/elements/columnModel.d.ts +19 -18
- package/query-builder/elements/columnModel.js +115 -100
- package/query-builder/elements/columnSurface.d.ts +25 -22
- package/query-builder/elements/columnSurface.js +56 -31
- package/query-builder/elements/joinConditionModel.d.ts +14 -16
- package/query-builder/elements/joinConditionModel.js +32 -18
- package/query-builder/elements/joinConditionSurface.d.ts +3 -3
- package/query-builder/elements/joinConditionSurface.js +4 -8
- package/query-builder/elements/parameterModel.d.ts +3 -6
- package/query-builder/elements/parameterModel.js +3 -2
- package/query-builder/elements/queryElementModel.d.ts +4 -3
- package/query-builder/elements/queryElementModel.js +2 -2
- package/query-builder/elements/queryElementSurface.d.ts +3 -5
- package/query-builder/elements/queryElementSurface.js +5 -14
- package/query-builder/elements/queryModel.d.ts +43 -41
- package/query-builder/elements/queryModel.js +193 -159
- package/query-builder/elements/queryModelMeta.js +1 -1
- package/query-builder/elements/querySurface.d.ts +42 -22
- package/query-builder/elements/querySurface.js +88 -42
- package/query-builder/elements/relationModel.d.ts +17 -17
- package/query-builder/elements/relationModel.js +26 -20
- package/query-builder/elements/relationSurface.d.ts +10 -7
- package/query-builder/elements/relationSurface.js +11 -5
- package/query-builder/elements/tableModel.d.ts +24 -27
- package/query-builder/elements/tableModel.js +80 -67
- package/query-builder/elements/tableSurface.d.ts +28 -11
- package/query-builder/elements/tableSurface.js +49 -14
- package/query-builder/utils/_callbacks.d.ts +2 -2
- package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +9 -10
- package/query-builder/utils/_columnExpressionCollectionHelper.js +38 -22
- package/query-builder/utils/_controlsFactory.js +15 -15
- package/query-builder/utils/_dataConnection.js +2 -2
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.d.ts +6 -6
- package/query-builder/utils/_jsonSchemaFieldListProviderFactory.d.ts +2 -1
- package/query-builder/utils/_jsonSchemaFieldListProviderFactory.js +7 -7
- package/query-builder/utils/_queryBuilderTreeListController.d.ts +4 -5
- package/query-builder/utils/requestwrapper.js +8 -8
- package/query-builder/widgets/_federatedQueriesHelper.d.ts +2 -2
- package/query-builder/widgets/_federatedQueriesHelper.js +13 -12
- package/query-builder/widgets/_manageFederatedQueriesEditor.d.ts +25 -10
- package/query-builder/widgets/_manageFederatedQueriesEditor.js +48 -22
- package/query-builder/widgets/_parameterExpressionEditor.d.ts +8 -0
- package/query-builder/widgets/_parameterExpressionEditor.js +7 -0
- package/query-builder/widgets/_rightPanelSwitcher.d.ts +17 -14
- package/query-builder/widgets/_rightPanelSwitcher.js +45 -19
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +1 -1
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +29 -9
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +60 -23
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +10 -10
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +8 -9
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +1 -2
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +4 -6
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +4 -4
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +6 -7
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +13 -11
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +15 -14
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +27 -11
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +56 -11
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +22 -15
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +52 -46
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +29 -10
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +41 -25
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +44 -16
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +80 -21
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +25 -9
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +58 -22
- package/query-builder/widgets/registerEditorTemplates.d.ts +1 -1
- package/query-builder/widgets/registerEditorTemplates.js +7 -5
- package/query-builder/wizard/chooseAvailableDataSourcePage.d.ts +1 -1
- package/query-builder/wizard/chooseAvailableDataSourcePage.js +4 -4
- package/query-builder/wizard/chooseAvailablePage.d.ts +31 -11
- package/query-builder/wizard/chooseAvailablePage.js +64 -17
- package/query-builder/wizard/dataSourceWizard.d.ts +8 -6
- package/query-builder/wizard/dataSourceWizard.js +12 -13
- package/query-builder/wizard/dataSourceWizardState.d.ts +1 -1
- package/query-builder/wizard/dataSourceWizardState.js +11 -8
- package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +16 -7
- package/query-builder/wizard/fullscreen/fullscreenWizard.js +50 -16
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +29 -8
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +80 -31
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +32 -9
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +85 -12
- package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.d.ts +1 -1
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.js +1 -1
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyMongoDBDataSourceSettingsPage.js +1 -1
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +17 -3
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +28 -20
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/internal/_configureParametersUtils.d.ts +16 -17
- package/query-builder/wizard/internal/_configureParametersUtils.js +19 -11
- package/query-builder/wizard/internal/_dataSourceWizardConnectionStringsHolder.d.ts +9 -0
- package/query-builder/wizard/internal/_dataSourceWizardConnectionStringsHolder.js +31 -0
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +15 -14
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +63 -60
- package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +3 -3
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +28 -12
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +45 -20
- package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +34 -34
- package/query-builder/wizard/internal/_jsonSourceSettings.js +170 -137
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +4 -3
- package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +39 -22
- package/query-builder/wizard/internal/_queryBuilderPopup.js +83 -30
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +2 -2
- package/query-builder/wizard/internal/_selectStatementPopup.d.ts +31 -0
- package/query-builder/wizard/internal/_selectStatementPopup.js +63 -0
- package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +42 -16
- package/query-builder/wizard/internal/_selectStatementQueryControl.js +84 -42
- package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +33 -11
- package/query-builder/wizard/internal/_storedProceduresQueryControl.js +71 -26
- package/query-builder/wizard/internal/_treeListNode.d.ts +60 -23
- package/query-builder/wizard/internal/_treeListNode.js +206 -108
- package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +7 -4
- package/query-builder/wizard/internal/_treeNodeItemsProvider.js +30 -31
- package/query-builder/wizard/internal/_utils.d.ts +13 -17
- package/query-builder/wizard/internal/_utils.js +4 -35
- package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +1 -2
- package/query-builder/wizard/internal/_wizardPageProcessor.js +12 -13
- package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +3 -3
- package/query-builder/wizard/internal/_wizardPageSectionIterator.js +16 -7
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.d.ts +3 -3
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.js +3 -3
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.d.ts +1 -1
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.d.ts +27 -8
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.js +52 -10
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.d.ts +32 -14
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.js +184 -102
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.d.ts +46 -12
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.js +131 -65
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.d.ts +4 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.js +6 -4
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.js +16 -15
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.d.ts +35 -8
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.js +130 -62
- package/query-builder/wizard/internal/initializer.d.ts +8 -4
- package/query-builder/wizard/internal/jsonSourceSettings.d.ts +25 -8
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +20 -6
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +49 -16
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +29 -16
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +93 -57
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +20 -11
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +60 -29
- package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +1 -1
- package/query-builder/wizard/multiQueryDataSourceWizard.js +5 -5
- package/query-builder/wizard/pages/IWizardPage.d.ts +4 -1
- package/query-builder/wizard/pages/__wrappedWizardPage.d.ts +1 -0
- package/query-builder/wizard/pages/__wrappedWizardPage.js +18 -1
- package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +21 -3
- package/query-builder/wizard/pages/chooseDataSourceTypePage.js +54 -9
- package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +19 -6
- package/query-builder/wizard/pages/chooseSqlConnectionPage.js +51 -24
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.d.ts +0 -4
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.js +6 -9
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.d.ts +20 -18
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.js +78 -48
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +6 -6
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +3 -3
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +26 -9
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +106 -60
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +51 -21
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +90 -42
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +8 -4
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +8 -2
- package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBCollectionPage.d.ts +33 -10
- package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBCollectionPage.js +90 -55
- package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBDataConnectionPage.d.ts +2 -2
- package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBDataConnectionPage.js +5 -5
- package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBSchemaPage.d.ts +19 -7
- package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBSchemaPage.js +73 -37
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +0 -4
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +5 -11
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.d.ts +13 -6
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.js +52 -37
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +59 -71
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +162 -113
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +16 -10
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +75 -70
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +7 -1
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +19 -10
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +7 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +15 -8
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +10 -4
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +10 -5
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.d.ts +1 -1
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.js +9 -9
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +13 -4
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +37 -14
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +33 -10
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +102 -49
- package/query-builder/wizard/pages/wizardPageBase.d.ts +10 -2
- package/query-builder/wizard/pages/wizardPageBase.js +20 -5
- package/query-builder/wizard/popupWizard.d.ts +37 -100
- package/query-builder/wizard/popupWizard.js +72 -37
- package/query-builder/wizard/wizard.d.ts +20 -8
- package/query-builder/wizard/wizard.js +55 -23
- package/queryBuilder-internal.d.ts +4 -2
- package/queryBuilder-internal.js +4 -2
- package/queryBuilder-widgets-internal.d.ts +2 -2
- package/queryBuilder-widgets-internal.js +2 -2
- package/serializer/_internal.d.ts +2 -0
- package/serializer/_internal.js +20 -10
- package/serializer/disposable.d.ts +7 -6
- package/serializer/disposable.js +18 -11
- package/serializer/eventManager.d.ts +3 -2
- package/serializer/eventManager.js +26 -17
- package/serializer/native/deserializationEngine.d.ts +42 -3
- package/serializer/native/deserializationEngine.js +221 -83
- package/serializer/native/deserializationEngine.updateViewModel.js +28 -12
- package/serializer/native/diagnostics/derivedCacheDiagnostics.d.ts +10 -0
- package/serializer/native/diagnostics/derivedCacheDiagnostics.js +65 -0
- package/serializer/native/modelGraph.d.ts +10 -0
- package/serializer/native/modelGraph.js +92 -0
- package/serializer/native/models/base.model.d.ts +29 -41
- package/serializer/native/models/base.model.js +75 -96
- package/serializer/native/models/derivedAccessor.d.ts +33 -0
- package/serializer/native/models/derivedAccessor.js +231 -0
- package/serializer/native/models/interfaces.model.d.ts +21 -5
- package/serializer/native/models/interfaces.model.js +24 -1
- package/serializer/native/models/valueAccessor.d.ts +21 -0
- package/serializer/native/models/valueAccessor.js +77 -0
- package/serializer/native/multiplatformEngine.d.ts +11 -35
- package/serializer/native/multiplatformEngine.js +16 -142
- package/serializer/native/serializer.d.ts +16 -1
- package/serializer/native/serializer.js +87 -23
- package/serializer/native/viewModels/viewModelGenerator.d.ts +1 -0
- package/serializer/native/viewModels/viewModelGenerator.js +35 -40
- package/serializer/propertyChangedEvents.d.ts +16 -1
- package/serializer/propertyChangedEvents.js +57 -1
- package/serializer/serializationInfo.d.ts +10 -15
- package/serializer/serializer.d.ts +2 -14
- package/serializer/serializer.js +1 -40
- package/undo-engine/_utils.d.ts +2 -1
- package/undo-engine/_utils.js +1 -1
- package/undo-engine/undoengine.d.ts +59 -27
- package/undo-engine/undoengine.js +209 -201
- package/widgets/_hotKeys.d.ts +15 -0
- package/widgets/_hotKeys.js +150 -0
- package/widgets/_searchHighlighting.binding.d.ts +2 -5
- package/widgets/_searchHighlighting.binding.js +17 -20
- package/widgets/_searchHighlighting.d.ts +6 -3
- package/widgets/_searchHighlighting.js +8 -6
- package/widgets/ace/_binding.js +18 -17
- package/widgets/bindings.js +23 -21
- package/widgets/common/_codeCompletor.d.ts +8 -7
- package/widgets/common/_codeCompletor.js +13 -11
- package/widgets/common/displayNameProvider.d.ts +1 -0
- package/widgets/criteria/operators/options/function.d.ts +26 -1
- package/widgets/criteria/operators/options/function.js +25 -0
- package/widgets/criteria/parser/criteriaparser.d.ts +5 -5
- package/widgets/criteria/parser/criteriaparser.js +910 -910
- package/widgets/expressioneditor/_expressionOptionsBase.d.ts +39 -0
- package/widgets/expressioneditor/_expressionOptionsBase.js +72 -0
- package/widgets/expressioneditor/aiExpressionGenerator.d.ts +34 -41
- package/widgets/expressioneditor/aiExpressionGenerator.js +86 -56
- package/widgets/expressioneditor/bindings.d.ts +18 -1
- package/widgets/expressioneditor/bindings.js +34 -14
- package/widgets/expressioneditor/expressioneditor.d.ts +70 -26
- package/widgets/expressioneditor/expressioneditor.js +194 -116
- package/widgets/expressioneditor/tools/_functions.js +31 -0
- package/widgets/expressioneditor/tools/_tools.d.ts +168 -35
- package/widgets/expressioneditor/tools/_tools.js +365 -145
- package/widgets/expressioneditor/tools/_treeListControllers.d.ts +14 -13
- package/widgets/filtereditor/filtereditor.d.ts +102 -42
- package/widgets/filtereditor/filtereditor.js +395 -263
- package/widgets/filtereditor/filtereditoroptions.d.ts +15 -11
- package/widgets/filtereditor/filtereditoroptions.js +19 -17
- package/widgets/filtereditor/helpers/_addon.d.ts +31 -8
- package/widgets/filtereditor/helpers/_addon.js +71 -34
- package/widgets/filtereditor/helpers/_treelistController.d.ts +7 -8
- package/widgets/filtereditor/helpers/_treelistController.js +13 -5
- package/widgets/filtereditor/helpers/helper.d.ts +11 -3
- package/widgets/filtereditor/helpers/helper.js +20 -17
- package/widgets/filtereditor/operators/_criteriaTypeState.d.ts +7 -0
- package/widgets/filtereditor/operators/_criteriaTypeState.js +17 -0
- package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +16 -8
- package/widgets/filtereditor/operators/aggregateOperandSurface.js +47 -23
- package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +16 -8
- package/widgets/filtereditor/operators/betweenOperandSurface.js +30 -15
- package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +14 -7
- package/widgets/filtereditor/operators/binaryOperandSurface.js +25 -12
- package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +52 -18
- package/widgets/filtereditor/operators/criteriaOperatorSurface.js +133 -38
- package/widgets/filtereditor/operators/functionOperandSurface.d.ts +13 -7
- package/widgets/filtereditor/operators/functionOperandSurface.js +41 -22
- package/widgets/filtereditor/operators/groupOperandSurface.d.ts +12 -5
- package/widgets/filtereditor/operators/groupOperandSurface.js +33 -16
- package/widgets/filtereditor/operators/inOperandSurface.d.ts +16 -7
- package/widgets/filtereditor/operators/inOperandSurface.js +27 -13
- package/widgets/filtereditor/operators/operandParameterSurface.d.ts +12 -5
- package/widgets/filtereditor/operators/operandParameterSurface.js +21 -15
- package/widgets/filtereditor/operators/operandPropertySurface.d.ts +20 -11
- package/widgets/filtereditor/operators/operandPropertySurface.js +67 -46
- package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +4 -4
- package/widgets/filtereditor/operators/operandSurfaceBase.js +6 -33
- package/widgets/filtereditor/operators/operandValueSurface.d.ts +47 -76
- package/widgets/filtereditor/operators/operandValueSurface.js +149 -110
- package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +12 -6
- package/widgets/filtereditor/operators/unaryOperandSurface.js +24 -17
- package/widgets/formatstring/binding.d.ts +15 -1
- package/widgets/formatstring/binding.js +19 -6
- package/widgets/formatstring/formatstringeditor.d.ts +64 -21
- package/widgets/formatstring/formatstringeditor.js +184 -116
- package/widgets/internal/_popupComponentBase.d.ts +4 -4
- package/widgets/internal/_resizeHelper.d.ts +5 -4
- package/widgets/internal/_resizeHelper.js +5 -6
- package/widgets/treelist/_binding.d.ts +1 -2
- package/widgets/treelist/_binding.js +9 -20
- package/widgets/treelist/_ko_binging.js +15 -13
- package/widgets/treelist/_reorderTreeListDragDropHelper.d.ts +7 -7
- package/widgets/treelist/_reorderTreeListDragDropHelper.js +8 -7
- package/widgets/treelist/_treeListSearchModel.d.ts +32 -0
- package/widgets/treelist/_treeListSearchModel.js +133 -0
- package/widgets/treelist/_treelistController.d.ts +26 -22
- package/widgets/treelist/_treelistController.js +3 -1
- package/widgets/treelist/_treelistItem.d.ts +36 -36
- package/widgets/treelist/_treelistItem.js +113 -104
- package/widgets/treelist/_treelistItem.viewModel.d.ts +26 -11
- package/widgets/treelist/_treelistItem.viewModel.js +55 -7
- package/widgets/utils.d.ts +22 -17
- package/core/elements/elementViewModel.d.ts +0 -94
- package/core/elements/elementViewModel.js +0 -180
- package/core/utils/_koUtils.d.ts +0 -7
- package/core/utils/_koUtils.js +0 -11
- package/core/utils/_utils.wrapModelInObservable.d.ts +0 -2
- package/core/utils/_utils.wrapModelInObservable.js +0 -5
- package/core/widgets/bordereditor/_binding.d.ts +0 -1
- package/core/widgets/bordereditor/_binding.js +0 -16
- package/core/widgets/textAlignmentEditor/_binding.d.ts +0 -1
- package/core/widgets/textAlignmentEditor/_binding.js +0 -16
- package/diagram/elements/diagramElementViewModel.d.ts +0 -10
- package/diagram/elements/diagramElementViewModel.js +0 -13
- package/property-grid/widgets/collectioneditor/_ko_model.d.ts +0 -4
- package/property-grid/widgets/collectioneditor/_ko_model.js +0 -66
- package/query-builder/_queryBuilderModel.d.ts +0 -36
- package/query-builder/_queryBuilderModel.js +0 -1
- package/query-builder/widgets/_undoEditor.d.ts +0 -9
- package/query-builder/widgets/_undoEditor.js +0 -22
- package/query-builder/wizard/internal/_wizardAction.d.ts +0 -8
- package/query-builder/wizard/internal/_wizardAction.js +0 -9
- package/serializer/native/models/modelAccessor.d.ts +0 -2
- package/serializer/native/models/modelAccessor.js +0 -6
- package/serializer/utils.d.ts +0 -2
- package/serializer/utils.js +0 -5
- package/undo-engine/_propertiesVisitor.d.ts +0 -1
- package/undo-engine/_propertiesVisitor.js +0 -25
- package/widgets/expressioneditor/_expressioneditor.d.ts +0 -8
- package/widgets/expressioneditor/_expressioneditor.js +0 -54
- package/widgets/treelist/_ko_treelistUtils.d.ts +0 -8
- package/widgets/treelist/_ko_treelistUtils.js +0 -55
- package/widgets/treelist/_treeListSearchViewModel.d.ts +0 -19
- package/widgets/treelist/_treeListSearchViewModel.js +0 -108
|
@@ -1,910 +1,910 @@
|
|
|
1
|
-
|
|
2
|
-
import { criteriaCreator } from '../utils/criteriaOperatorPreprocessor';
|
|
3
|
-
import { BinaryOperatorType } from '../operators/options/binary';
|
|
4
|
-
import { UnaryOperatorType } from '../operators/options/unary';
|
|
5
|
-
import { GroupOperator } from '../operators/group';
|
|
6
|
-
import { GroupOperatorType } from '../operators/options/group';
|
|
7
|
-
import { FunctionOperatorType } from '../operators/options/function';
|
|
8
|
-
import { JoinOperand } from '../operators/join';
|
|
9
|
-
/* parser generated by jison 0.4.18 */
|
|
10
|
-
/*
|
|
11
|
-
Returns a Parser object of the following structure:
|
|
12
|
-
|
|
13
|
-
Parser: {
|
|
14
|
-
yy: {}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
Parser.prototype: {
|
|
18
|
-
yy: {},
|
|
19
|
-
trace: function(),
|
|
20
|
-
symbols_: {associative list: name ==> number},
|
|
21
|
-
terminals_: {associative list: number ==> name},
|
|
22
|
-
productions_: [...],
|
|
23
|
-
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),
|
|
24
|
-
table: [...],
|
|
25
|
-
defaultActions: {...},
|
|
26
|
-
parseError: function(str, hash),
|
|
27
|
-
parse: function(input),
|
|
28
|
-
|
|
29
|
-
lexer: {
|
|
30
|
-
EOF: 1,
|
|
31
|
-
parseError: function(str, hash),
|
|
32
|
-
setInput: function(input),
|
|
33
|
-
input: function(),
|
|
34
|
-
unput: function(str),
|
|
35
|
-
more: function(),
|
|
36
|
-
less: function(n),
|
|
37
|
-
pastInput: function(),
|
|
38
|
-
upcomingInput: function(),
|
|
39
|
-
showPosition: function(),
|
|
40
|
-
test_match: function(regex_match_array, rule_index),
|
|
41
|
-
next: function(),
|
|
42
|
-
lex: function(),
|
|
43
|
-
begin: function(condition),
|
|
44
|
-
popState: function(),
|
|
45
|
-
_currentRules: function(),
|
|
46
|
-
topState: function(),
|
|
47
|
-
pushState: function(condition),
|
|
48
|
-
|
|
49
|
-
options: {
|
|
50
|
-
ranges: boolean (optional: true ==> token location info will include a .range[] member)
|
|
51
|
-
flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)
|
|
52
|
-
backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),
|
|
56
|
-
rules: [...],
|
|
57
|
-
conditions: {associative list: name ==> set},
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
token location info (@$, _$, etc.): {
|
|
63
|
-
first_line: n,
|
|
64
|
-
last_line: n,
|
|
65
|
-
first_column: n,
|
|
66
|
-
last_column: n,
|
|
67
|
-
range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
the parseError function receives a 'hash' object with these members for lexer and parser errors: {
|
|
72
|
-
text: (matched text)
|
|
73
|
-
token: (the produced terminal token, if any)
|
|
74
|
-
line: (yylineno)
|
|
75
|
-
}
|
|
76
|
-
while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {
|
|
77
|
-
loc: (yylloc)
|
|
78
|
-
expected: (string describing the set of expected tokens)
|
|
79
|
-
recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)
|
|
80
|
-
}
|
|
81
|
-
*/
|
|
82
|
-
var _criteriaparser = (function(){
|
|
83
|
-
var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,5],$V1=[1,8],$V2=[1,7],$V3=[1,24],$V4=[1,9],$V5=[1,10],$V6=[1,11],$V7=[1,12],$V8=[1,19],$V9=[1,13],$Va=[1,14],$Vb=[1,15],$Vc=[1,16],$Vd=[1,17],$Ve=[1,18],$Vf=[1,21],$Vg=[1,23],$Vh=[1,22],$Vi=[1,26],$Vj=[1,27],$Vk=[1,28],$Vl=[1,29],$Vm=[1,30],$Vn=[1,31],$Vo=[1,32],$Vp=[1,33],$Vq=[1,34],$Vr=[1,35],$Vs=[1,36],$Vt=[1,37],$Vu=[1,38],$Vv=[1,39],$Vw=[1,40],$Vx=[1,41],$Vy=[1,42],$Vz=[1,43],$VA=[1,44],$VB=[1,45],$VC=[1,46],$VD=[1,47],$VE=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],$VF=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,46,47,48,52,53,54],$VG=[1,55],$VH=[5,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],$VI=[5,28,29,30,32,38,47],$VJ=[1,95],$VK=[1,96],$VL=[5,12,13,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],$VM=[5,20,21,26,27,28,29,30,32,33,38,47],$VN=[5,20,21,22,23,24,25,26,27,28,29,30,32,33,38,47],$VO=[32,38],$VP=[1,107];
|
|
84
|
-
var parser = {trace: function trace () { },
|
|
85
|
-
yy: {},
|
|
86
|
-
symbols_: {"error":2,"expressions":3,"exp":4,"EOF":5,"const":6,"propertyWithAgg":7,"SOMETYPE":8,"parameter":9,"*":10,"/":11,"+":12,"-":13,"%":14,"|":15,"&":16,"^":17,"!":18,"~":19,"OP_EQ":20,"OP_NE":21,"OP_GT":22,"OP_LT":23,"OP_GE":24,"OP_LE":25,"OP_LIKE":26,"NOT":27,"AND":28,"OR":29,"OP_ISNULL":30,"(":31,")":32,"IS":33,"NULL":34,"OP_IN":35,"arguments":36,"OP_BETWEEN":37,",":38,"NAME_SOFT":39,"STRING":40,"NUMBER":41,"OBJECT":42,"BOOLEAN":43,"GUID":44,"property":45,"[":46,"]":47,".":48,"agg":49,"Count":50,"Exists":51,"FIELD_END":52,"CH":53,"ESC_CH":54,"FIELD_START":55,"?":56,"commaseparated":57,"$accept":0,"$end":1},
|
|
87
|
-
terminals_: {2:"error",5:"EOF",8:"SOMETYPE",10:"*",11:"/",12:"+",13:"-",14:"%",15:"|",16:"&",17:"^",18:"!",19:"~",20:"OP_EQ",21:"OP_NE",22:"OP_GT",23:"OP_LT",24:"OP_GE",25:"OP_LE",26:"OP_LIKE",27:"NOT",28:"AND",29:"OR",30:"OP_ISNULL",31:"(",32:")",33:"IS",34:"NULL",35:"OP_IN",37:"OP_BETWEEN",38:",",39:"NAME_SOFT",40:"STRING",41:"NUMBER",42:"OBJECT",43:"BOOLEAN",44:"GUID",46:"[",47:"]",48:".",50:"Count",51:"Exists",52:"FIELD_END",53:"CH",54:"ESC_CH",55:"FIELD_START",56:"?"},
|
|
88
|
-
productions_: [0,[3,2],[4,1],[4,1],[4,1],[4,1],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,3],[4,7],[4,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[7,6],[7,5],[7,3],[7,4],[7,3],[7,1],[7,4],[49,1],[49,1],[49,2],[45,2],[45,2],[45,2],[45,3],[45,3],[45,1],[45,1],[45,1],[9,2],[9,1],[36,2],[36,3],[57,1],[57,3]],
|
|
89
|
-
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {
|
|
90
|
-
/* this == yyval */
|
|
91
|
-
|
|
92
|
-
var $0 = $$.length - 1;
|
|
93
|
-
switch (yystate) {
|
|
94
|
-
case 1:
|
|
95
|
-
return $$[$0-1];
|
|
96
|
-
break;
|
|
97
|
-
case 2:
|
|
98
|
-
this.$ = criteriaCreator.process("const", { value: $$[$0] });
|
|
99
|
-
break;
|
|
100
|
-
case 3: case 5: case 36: case 37: case 38: case 39: case 40:
|
|
101
|
-
this.$ = $$[$0];
|
|
102
|
-
break;
|
|
103
|
-
case 4:
|
|
104
|
-
this.$ = criteriaCreator.process("value", { value: $$[$0], isSomeType: true })
|
|
105
|
-
break;
|
|
106
|
-
case 6:
|
|
107
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Multiply });
|
|
108
|
-
break;
|
|
109
|
-
case 7:
|
|
110
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Divide });
|
|
111
|
-
break;
|
|
112
|
-
case 8:
|
|
113
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Plus });
|
|
114
|
-
break;
|
|
115
|
-
case 9:
|
|
116
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Minus });
|
|
117
|
-
break;
|
|
118
|
-
case 10:
|
|
119
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Modulo });
|
|
120
|
-
break;
|
|
121
|
-
case 11:
|
|
122
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseOr });
|
|
123
|
-
break;
|
|
124
|
-
case 12:
|
|
125
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseAnd });
|
|
126
|
-
break;
|
|
127
|
-
case 13:
|
|
128
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseXor });
|
|
129
|
-
break;
|
|
130
|
-
case 14:
|
|
131
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Minus, operator: $$[$0] });
|
|
132
|
-
break;
|
|
133
|
-
case 15:
|
|
134
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Plus, operator: $$[$0] });
|
|
135
|
-
break;
|
|
136
|
-
case 16: case 26:
|
|
137
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Not, operator: $$[$0] });
|
|
138
|
-
break;
|
|
139
|
-
case 17:
|
|
140
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.BitwiseNot, operator: $$[$0] });
|
|
141
|
-
break;
|
|
142
|
-
case 18:
|
|
143
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Equal });
|
|
144
|
-
break;
|
|
145
|
-
case 19:
|
|
146
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.NotEqual });
|
|
147
|
-
break;
|
|
148
|
-
case 20:
|
|
149
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Greater });
|
|
150
|
-
break;
|
|
151
|
-
case 21:
|
|
152
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Less });
|
|
153
|
-
break;
|
|
154
|
-
case 22:
|
|
155
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.GreaterOrEqual });
|
|
156
|
-
break;
|
|
157
|
-
case 23:
|
|
158
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.LessOrEqual });
|
|
159
|
-
break;
|
|
160
|
-
case 24:
|
|
161
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Like });
|
|
162
|
-
break;
|
|
163
|
-
case 25:
|
|
164
|
-
|
|
165
|
-
this.$ = criteriaCreator.process("unary", {
|
|
166
|
-
operatorType: UnaryOperatorType.Not,
|
|
167
|
-
operator: criteriaCreator.process("binary", { left: $$[$0-3], right: $$[$0], operatorType: BinaryOperatorType.Like })
|
|
168
|
-
});
|
|
169
|
-
|
|
170
|
-
break;
|
|
171
|
-
case 27:
|
|
172
|
-
this.$ = GroupOperator.combine(GroupOperatorType.And, [$$[$0-2], $$[$0]]);
|
|
173
|
-
break;
|
|
174
|
-
case 28:
|
|
175
|
-
this.$ = GroupOperator.combine(GroupOperatorType.Or, [$$[$0-2], $$[$0]]);
|
|
176
|
-
break;
|
|
177
|
-
case 29:
|
|
178
|
-
this.$ = criteriaCreator.process("function", { operatorType: FunctionOperatorType.IsNull, operands: [$$[$0-2], $$[$0]] });
|
|
179
|
-
break;
|
|
180
|
-
case 30: case 52: case 63:
|
|
181
|
-
this.$ = $$[$0-1];
|
|
182
|
-
break;
|
|
183
|
-
case 31:
|
|
184
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.IsNull, operator: $$[$0-2] });
|
|
185
|
-
break;
|
|
186
|
-
case 32:
|
|
187
|
-
|
|
188
|
-
this.$ = criteriaCreator.process("unary", {
|
|
189
|
-
operatorType: UnaryOperatorType.Not,
|
|
190
|
-
operator: criteriaCreator.process("unary", { operatorType: UnaryOperatorType.IsNull, operator: $$[$0-3] })
|
|
191
|
-
});
|
|
192
|
-
|
|
193
|
-
break;
|
|
194
|
-
case 33:
|
|
195
|
-
this.$ = criteriaCreator.process("in", { criteriaOperator: $$[$0-2], operands: $$[$0] });
|
|
196
|
-
break;
|
|
197
|
-
case 34:
|
|
198
|
-
this.$ = criteriaCreator.process("between", { property: $$[$0-6], begin: $$[$0-3], end: $$[$0-1] });
|
|
199
|
-
break;
|
|
200
|
-
case 35:
|
|
201
|
-
this.$ = criteriaCreator.process("function", { operatorType: FunctionOperatorType[$$[$0-1]] || $$[$0-1], operands: $$[$0] });
|
|
202
|
-
break;
|
|
203
|
-
case 41:
|
|
204
|
-
this.$ = null;
|
|
205
|
-
break;
|
|
206
|
-
case 42:
|
|
207
|
-
|
|
208
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
209
|
-
criteriaCreator.process("property", { propertyName: $$[$0-5].name, startColumn: $$[$0-5].col, circumflex: $$[$0-5].circumflex, startLine: $$[$0-5].line, originalPropertyLength: _$[$0-5].last_column - _$[$0-5].first_column + 1 }),
|
|
210
|
-
$$[$0-3], $$[$0].type, $$[$0].expr
|
|
211
|
-
);
|
|
212
|
-
|
|
213
|
-
break;
|
|
214
|
-
case 43:
|
|
215
|
-
|
|
216
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
217
|
-
criteriaCreator.process("property", { propertyName: $$[$0-4].name, startColumn: $$[$0-4].col, circumflex: $$[$0-4].circumflex, startLine: $$[$0-4].line, originalPropertyLength: _$[$0-4].last_column - _$[$0-4].first_column + 1 }),
|
|
218
|
-
null, $$[$0].type, $$[$0].expr
|
|
219
|
-
);
|
|
220
|
-
|
|
221
|
-
break;
|
|
222
|
-
case 44:
|
|
223
|
-
|
|
224
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
225
|
-
criteriaCreator.process("property", { propertyName: $$[$0-2].name, startColumn: $$[$0-2].col, circumflex: $$[$0-2].circumflex, startLine: $$[$0-2].line, originalPropertyLength: _$[$0-2].last_column - _$[$0-2].first_column }),
|
|
226
|
-
null, $$[$0].type, $$[$0].expr
|
|
227
|
-
);
|
|
228
|
-
|
|
229
|
-
break;
|
|
230
|
-
case 45:
|
|
231
|
-
|
|
232
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
233
|
-
criteriaCreator.process("property", { propertyName: $$[$0-3].name, startColumn: $$[$0-3].col, circumflex: $$[$0-3].circumflex, startLine: $$[$0-3].line, originalPropertyLength: _$[$0-3].last_column - _$[$0-3].first_column + 1 }),
|
|
234
|
-
$$[$0-1], 'Exists', null
|
|
235
|
-
);
|
|
236
|
-
|
|
237
|
-
break;
|
|
238
|
-
case 46:
|
|
239
|
-
|
|
240
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
241
|
-
criteriaCreator.process("property", { propertyName: $$[$0-2].name, startColumn: $$[$0-2].col, circumflex: $$[$0-2].circumflex, startLine: $$[$0-2].line, originalPropertyLength: _$[$0-2].last_column - _$[$0-2].first_column + 1 }),
|
|
242
|
-
null, 'Exists', null);
|
|
243
|
-
|
|
244
|
-
break;
|
|
245
|
-
case 47:
|
|
246
|
-
|
|
247
|
-
this.$ = criteriaCreator.process("property", { propertyName: $$[$0].name, startColumn: $$[$0].col, circumflex: $$[$0].circumflex, startLine: $$[$0].line, originalPropertyLength: _$[$0].last_column - _$[$0].first_column });
|
|
248
|
-
|
|
249
|
-
break;
|
|
250
|
-
case 48:
|
|
251
|
-
|
|
252
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
253
|
-
criteriaCreator.process("property", { }),
|
|
254
|
-
null, $$[$0].type, $$[$0].expr
|
|
255
|
-
);
|
|
256
|
-
|
|
257
|
-
break;
|
|
258
|
-
case 49:
|
|
259
|
-
this.$ = { type: 'Count' };
|
|
260
|
-
break;
|
|
261
|
-
case 50:
|
|
262
|
-
this.$ = { type: 'Exists' };
|
|
263
|
-
break;
|
|
264
|
-
case 51:
|
|
265
|
-
this.$ = { type: $$[$0-1], expr: $$[$0] };
|
|
266
|
-
break;
|
|
267
|
-
case 53:
|
|
268
|
-
this.$ = { name: $$[$0-1].name + $$[$0], line: $$[$0-1].line, circumflex: $$[$0-1].circumflex, col: $$[$0-1].col };
|
|
269
|
-
break;
|
|
270
|
-
case 54:
|
|
271
|
-
this.$ = { name: $$[$0-1].name + $$[$0].substr(1), line: $$[$0-1].line, circumflex: $$[$0-1].circumflex, col: $$[$0-1].col };
|
|
272
|
-
break;
|
|
273
|
-
case 55:
|
|
274
|
-
|
|
275
|
-
if($$[$0-2].circumflex && $$[$0-2].started) {
|
|
276
|
-
this.$ = { name: '', line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col + 2 };
|
|
277
|
-
} else
|
|
278
|
-
this.$ = { name: $$[$0-2].name + '.', line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col };
|
|
279
|
-
|
|
280
|
-
break;
|
|
281
|
-
case 56:
|
|
282
|
-
|
|
283
|
-
if($$[$0-2].circumflex && $$[$0-2].started){
|
|
284
|
-
this.$ = { name: $$[$0], line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col + 1 };
|
|
285
|
-
} else
|
|
286
|
-
this.$ = { name: $$[$0-2].name + '.' + $$[$0], line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col };
|
|
287
|
-
|
|
288
|
-
break;
|
|
289
|
-
case 57:
|
|
290
|
-
this.$ = { name: "", line: _$[$0].first_line - 1, col: _$[$0].first_column + 1 };
|
|
291
|
-
break;
|
|
292
|
-
case 58:
|
|
293
|
-
this.$ = { name: $$[$0], line: _$[$0].first_line - 1, col: _$[$0].first_column };
|
|
294
|
-
break;
|
|
295
|
-
case 59:
|
|
296
|
-
this.$ = { circumflex: true, started: true, name: "", line: _$[$0].first_line - 1, col: _$[$0].first_column + 1 };
|
|
297
|
-
break;
|
|
298
|
-
case 60:
|
|
299
|
-
this.$ = criteriaCreator.process("parameter", { parameterName: $$[$0] });
|
|
300
|
-
break;
|
|
301
|
-
case 61:
|
|
302
|
-
this.$ = criteriaCreator.process("value", { });
|
|
303
|
-
break;
|
|
304
|
-
case 62:
|
|
305
|
-
this.$ = [];
|
|
306
|
-
break;
|
|
307
|
-
case 64:
|
|
308
|
-
this.$ = [$$[$0]];
|
|
309
|
-
break;
|
|
310
|
-
case 65:
|
|
311
|
-
this.$ = $$[$0-2].concat($$[$0]);
|
|
312
|
-
break;
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
table: [{3:1,4:2,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{1:[3]},{5:[1,25],10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD},o($VE,[2,2]),o($VE,[2,3]),o($VE,[2,4]),o($VE,[2,5]),{4:48,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:49,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:50,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:51,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:52,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:53,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VF,[2,58],{36:54,31:$VG}),o($VE,[2,36]),o($VE,[2,37]),o($VE,[2,38]),o($VE,[2,39]),o($VE,[2,40]),o($VE,[2,41]),o($VE,[2,47],{46:[1,56],48:[1,57],52:[1,58],53:[1,59],54:[1,60]}),{47:[1,61]},o($VE,[2,61],{39:[1,62]}),o($VF,[2,57]),o($VF,[2,59]),{1:[2,1]},{4:63,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:64,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:65,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:66,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:67,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:68,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:69,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:70,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:71,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:72,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:73,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:74,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:75,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:76,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:77,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{26:[1,78]},{4:79,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:80,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:81,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{27:[1,83],34:[1,82]},{31:$VG,36:84},{31:[1,85]},o($VE,[2,14]),o($VE,[2,15]),o($VE,[2,16]),o($VH,[2,17],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm}),o($VI,[2,26],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,33:$VB,35:$VC,37:$VD}),{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,32:[1,86],33:$VB,35:$VC,37:$VD},o($VE,[2,35]),{4:89,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,32:[1,87],34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh,57:88},{4:90,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,47:[1,91],55:$Vg,56:$Vh},{39:[1,94],49:92,50:$VJ,51:$VK,55:[1,93]},o($VF,[2,52]),o($VF,[2,53]),o($VF,[2,54]),{48:[1,97]},o($VE,[2,60]),o($VE,[2,6]),o($VE,[2,7]),o($VL,[2,8],{10:$Vi,11:$Vj,14:$Vm}),o($VL,[2,9],{10:$Vi,11:$Vj,14:$Vm}),o($VE,[2,10]),o([5,15,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],[2,11],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,16:$Vo,17:$Vp}),o($VH,[2,12],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm}),o([5,15,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],[2,13],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,16:$Vo}),o($VM,[2,18],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,22:$Vs,23:$Vt,24:$Vu,25:$Vv,35:$VC,37:$VD}),o($VM,[2,19],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,22:$Vs,23:$Vt,24:$Vu,25:$Vv,35:$VC,37:$VD}),o($VN,[2,20],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,35:$VC,37:$VD}),o($VN,[2,21],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,35:$VC,37:$VD}),o($VN,[2,22],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,35:$VC,37:$VD}),o($VN,[2,23],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,35:$VC,37:$VD}),o($VM,[2,24],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,22:$Vs,23:$Vt,24:$Vu,25:$Vv,35:$VC,37:$VD}),{4:98,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VI,[2,27],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,33:$VB,35:$VC,37:$VD}),o([5,29,30,32,38,47],[2,28],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,33:$VB,35:$VC,37:$VD}),o([5,32,38,47],[2,29],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD}),o($VE,[2,31]),{34:[1,99]},o($VE,[2,33]),{4:100,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VE,[2,30]),o($VE,[2,62]),{32:[1,101],38:[1,102]},o($VO,[2,64],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD}),{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD,47:[1,103]},o($VE,[2,46],{48:[1,104]}),o($VE,[2,44]),o($VF,[2,55]),o($VF,[2,56],{36:105,31:$VG}),o($VE,[2,49]),o($VE,[2,50]),{39:$VP,49:106,50:$VJ,51:$VK},o($VM,[2,25],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,22:$Vs,23:$Vt,24:$Vu,25:$Vv,35:$VC,37:$VD}),o($VE,[2,32]),{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD,38:[1,108]},o($VE,[2,63]),{4:109,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VE,[2,45],{48:[1,110]}),{39:$VP,49:111,50:$VJ,51:$VK},o($VE,[2,51]),o($VE,[2,48]),{31:$VG,36:105},{4:112,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VO,[2,65],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD}),{39:$VP,49:113,50:$VJ,51:$VK},o($VE,[2,43]),{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,32:[1,114],33:$VB,35:$VC,37:$VD},o($VE,[2,42]),o($VE,[2,34])],
|
|
316
|
-
defaultActions: {25:[2,1]},
|
|
317
|
-
parseError: function parseError (str, hash) {
|
|
318
|
-
if (hash.recoverable) {
|
|
319
|
-
this.trace(str);
|
|
320
|
-
} else {
|
|
321
|
-
var error = new Error(str);
|
|
322
|
-
error.hash = hash;
|
|
323
|
-
throw error;
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
parse: function parse(input) {
|
|
327
|
-
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
|
|
328
|
-
var args = lstack.slice.call(arguments, 1);
|
|
329
|
-
var lexer = Object.create(this.lexer);
|
|
330
|
-
var sharedState = { yy: {} };
|
|
331
|
-
for (var k in this.yy) {
|
|
332
|
-
if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
|
|
333
|
-
sharedState.yy[k] = this.yy[k];
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
lexer.setInput(input, sharedState.yy);
|
|
337
|
-
sharedState.yy.lexer = lexer;
|
|
338
|
-
sharedState.yy.parser = this;
|
|
339
|
-
if (typeof lexer.yylloc == 'undefined') {
|
|
340
|
-
lexer.yylloc = {};
|
|
341
|
-
}
|
|
342
|
-
var yyloc = lexer.yylloc;
|
|
343
|
-
lstack.push(yyloc);
|
|
344
|
-
var ranges = lexer.options && lexer.options.ranges;
|
|
345
|
-
if (typeof sharedState.yy.parseError === 'function') {
|
|
346
|
-
this.parseError = sharedState.yy.parseError;
|
|
347
|
-
} else {
|
|
348
|
-
this.parseError = Object.getPrototypeOf(this).parseError;
|
|
349
|
-
}
|
|
350
|
-
function popStack(n) {
|
|
351
|
-
stack.length = stack.length - 2 * n;
|
|
352
|
-
vstack.length = vstack.length - n;
|
|
353
|
-
lstack.length = lstack.length - n;
|
|
354
|
-
}
|
|
355
|
-
_token_stack:
|
|
356
|
-
var lex = function () {
|
|
357
|
-
var token;
|
|
358
|
-
token = lexer.lex() || EOF;
|
|
359
|
-
if (typeof token !== 'number') {
|
|
360
|
-
token = self.symbols_[token] || token;
|
|
361
|
-
}
|
|
362
|
-
return token;
|
|
363
|
-
};
|
|
364
|
-
var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
|
|
365
|
-
while (true) {
|
|
366
|
-
state = stack[stack.length - 1];
|
|
367
|
-
if (this.defaultActions[state]) {
|
|
368
|
-
action = this.defaultActions[state];
|
|
369
|
-
} else {
|
|
370
|
-
if (symbol === null || typeof symbol == 'undefined') {
|
|
371
|
-
symbol = lex();
|
|
372
|
-
}
|
|
373
|
-
action = table[state] && table[state][symbol];
|
|
374
|
-
}
|
|
375
|
-
if (typeof action === 'undefined' || !action.length || !action[0]) {
|
|
376
|
-
var errStr = '';
|
|
377
|
-
expected = [];
|
|
378
|
-
for (p in table[state]) {
|
|
379
|
-
if (this.terminals_[p] && p > TERROR) {
|
|
380
|
-
expected.push('\'' + this.terminals_[p] + '\'');
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
if (lexer.showPosition) {
|
|
384
|
-
errStr = 'Parse error on line ' + (yylineno + 1) + ':\n' + lexer.showPosition() + '\nExpecting ' + expected.join(', ') + ', got \'' + (this.terminals_[symbol] || symbol) + '\'';
|
|
385
|
-
} else {
|
|
386
|
-
errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\'' + (this.terminals_[symbol] || symbol) + '\'');
|
|
387
|
-
}
|
|
388
|
-
this.parseError(errStr, {
|
|
389
|
-
text: lexer.match,
|
|
390
|
-
token: this.terminals_[symbol] || symbol,
|
|
391
|
-
line: lexer.yylineno,
|
|
392
|
-
loc: yyloc,
|
|
393
|
-
expected: expected
|
|
394
|
-
});
|
|
395
|
-
}
|
|
396
|
-
if (action[0] instanceof Array && action.length > 1) {
|
|
397
|
-
throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);
|
|
398
|
-
}
|
|
399
|
-
switch (action[0]) {
|
|
400
|
-
case 1:
|
|
401
|
-
stack.push(symbol);
|
|
402
|
-
vstack.push(lexer.yytext);
|
|
403
|
-
lstack.push(lexer.yylloc);
|
|
404
|
-
stack.push(action[1]);
|
|
405
|
-
symbol = null;
|
|
406
|
-
if (!preErrorSymbol) {
|
|
407
|
-
yyleng = lexer.yyleng;
|
|
408
|
-
yytext = lexer.yytext;
|
|
409
|
-
yylineno = lexer.yylineno;
|
|
410
|
-
yyloc = lexer.yylloc;
|
|
411
|
-
if (recovering > 0) {
|
|
412
|
-
recovering--;
|
|
413
|
-
}
|
|
414
|
-
} else {
|
|
415
|
-
symbol = preErrorSymbol;
|
|
416
|
-
preErrorSymbol = null;
|
|
417
|
-
}
|
|
418
|
-
break;
|
|
419
|
-
case 2:
|
|
420
|
-
len = this.productions_[action[1]][1];
|
|
421
|
-
yyval.$ = vstack[vstack.length - len];
|
|
422
|
-
yyval._$ = {
|
|
423
|
-
first_line: lstack[lstack.length - (len || 1)].first_line,
|
|
424
|
-
last_line: lstack[lstack.length - 1].last_line,
|
|
425
|
-
first_column: lstack[lstack.length - (len || 1)].first_column,
|
|
426
|
-
last_column: lstack[lstack.length - 1].last_column
|
|
427
|
-
};
|
|
428
|
-
if (ranges) {
|
|
429
|
-
yyval._$.range = [
|
|
430
|
-
lstack[lstack.length - (len || 1)].range[0],
|
|
431
|
-
lstack[lstack.length - 1].range[1]
|
|
432
|
-
];
|
|
433
|
-
}
|
|
434
|
-
r = this.performAction.apply(yyval, [
|
|
435
|
-
yytext,
|
|
436
|
-
yyleng,
|
|
437
|
-
yylineno,
|
|
438
|
-
sharedState.yy,
|
|
439
|
-
action[1],
|
|
440
|
-
vstack,
|
|
441
|
-
lstack
|
|
442
|
-
].concat(args));
|
|
443
|
-
if (typeof r !== 'undefined') {
|
|
444
|
-
return r;
|
|
445
|
-
}
|
|
446
|
-
if (len) {
|
|
447
|
-
stack = stack.slice(0, -1 * len * 2);
|
|
448
|
-
vstack = vstack.slice(0, -1 * len);
|
|
449
|
-
lstack = lstack.slice(0, -1 * len);
|
|
450
|
-
}
|
|
451
|
-
stack.push(this.productions_[action[1]][0]);
|
|
452
|
-
vstack.push(yyval.$);
|
|
453
|
-
lstack.push(yyval._$);
|
|
454
|
-
newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
|
|
455
|
-
stack.push(newState);
|
|
456
|
-
break;
|
|
457
|
-
case 3:
|
|
458
|
-
return true;
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
return true;
|
|
462
|
-
}};
|
|
463
|
-
/* generated by jison-lex 0.3.4 */
|
|
464
|
-
var lexer = (function(){
|
|
465
|
-
var lexer = ({
|
|
466
|
-
|
|
467
|
-
EOF:1,
|
|
468
|
-
|
|
469
|
-
parseError:function parseError(str, hash) {
|
|
470
|
-
if (this.yy.parser) {
|
|
471
|
-
this.yy.parser.parseError(str, hash);
|
|
472
|
-
} else {
|
|
473
|
-
throw new Error(str);
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
|
|
477
|
-
// resets the lexer, sets new input
|
|
478
|
-
setInput:function (input, yy) {
|
|
479
|
-
this.yy = yy || this.yy || {};
|
|
480
|
-
this._input = input;
|
|
481
|
-
this._more = this._backtrack = this.done = false;
|
|
482
|
-
this.yylineno = this.yyleng = 0;
|
|
483
|
-
this.yytext = this.matched = this.match = '';
|
|
484
|
-
this.conditionStack = ['INITIAL'];
|
|
485
|
-
this.yylloc = {
|
|
486
|
-
first_line: 1,
|
|
487
|
-
first_column: 0,
|
|
488
|
-
last_line: 1,
|
|
489
|
-
last_column: 0
|
|
490
|
-
};
|
|
491
|
-
if (this.options.ranges) {
|
|
492
|
-
this.yylloc.range = [0,0];
|
|
493
|
-
}
|
|
494
|
-
this.offset = 0;
|
|
495
|
-
return this;
|
|
496
|
-
},
|
|
497
|
-
|
|
498
|
-
// consumes and returns one char from the input
|
|
499
|
-
input:function () {
|
|
500
|
-
var ch = this._input[0];
|
|
501
|
-
this.yytext += ch;
|
|
502
|
-
this.yyleng++;
|
|
503
|
-
this.offset++;
|
|
504
|
-
this.match += ch;
|
|
505
|
-
this.matched += ch;
|
|
506
|
-
var lines = ch.match(/(?:\r\n?|\n).*/g);
|
|
507
|
-
if (lines) {
|
|
508
|
-
this.yylineno++;
|
|
509
|
-
this.yylloc.last_line++;
|
|
510
|
-
} else {
|
|
511
|
-
this.yylloc.last_column++;
|
|
512
|
-
}
|
|
513
|
-
if (this.options.ranges) {
|
|
514
|
-
this.yylloc.range[1]++;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
this._input = this._input.slice(1);
|
|
518
|
-
return ch;
|
|
519
|
-
},
|
|
520
|
-
|
|
521
|
-
// unshifts one char (or a string) into the input
|
|
522
|
-
unput:function (ch) {
|
|
523
|
-
var len = ch.length;
|
|
524
|
-
var lines = ch.split(/(?:\r\n?|\n)/g);
|
|
525
|
-
|
|
526
|
-
this._input = ch + this._input;
|
|
527
|
-
this.yytext = this.yytext.substr(0, this.yytext.length - len);
|
|
528
|
-
//this.yyleng -= len;
|
|
529
|
-
this.offset -= len;
|
|
530
|
-
var oldLines = this.match.split(/(?:\r\n?|\n)/g);
|
|
531
|
-
this.match = this.match.substr(0, this.match.length - 1);
|
|
532
|
-
this.matched = this.matched.substr(0, this.matched.length - 1);
|
|
533
|
-
|
|
534
|
-
if (lines.length - 1) {
|
|
535
|
-
this.yylineno -= lines.length - 1;
|
|
536
|
-
}
|
|
537
|
-
var r = this.yylloc.range;
|
|
538
|
-
|
|
539
|
-
this.yylloc = {
|
|
540
|
-
first_line: this.yylloc.first_line,
|
|
541
|
-
last_line: this.yylineno + 1,
|
|
542
|
-
first_column: this.yylloc.first_column,
|
|
543
|
-
last_column: lines ?
|
|
544
|
-
(lines.length === oldLines.length ? this.yylloc.first_column : 0)
|
|
545
|
-
+ oldLines[oldLines.length - lines.length].length - lines[0].length :
|
|
546
|
-
this.yylloc.first_column - len
|
|
547
|
-
};
|
|
548
|
-
|
|
549
|
-
if (this.options.ranges) {
|
|
550
|
-
this.yylloc.range = [r[0], r[0] + this.yyleng - len];
|
|
551
|
-
}
|
|
552
|
-
this.yyleng = this.yytext.length;
|
|
553
|
-
return this;
|
|
554
|
-
},
|
|
555
|
-
|
|
556
|
-
// When called from action, caches matched text and appends it on next action
|
|
557
|
-
more:function () {
|
|
558
|
-
this._more = true;
|
|
559
|
-
return this;
|
|
560
|
-
},
|
|
561
|
-
|
|
562
|
-
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
563
|
-
reject:function () {
|
|
564
|
-
if (this.options.backtrack_lexer) {
|
|
565
|
-
this._backtrack = true;
|
|
566
|
-
} else {
|
|
567
|
-
return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n' + this.showPosition(), {
|
|
568
|
-
text: "",
|
|
569
|
-
token: null,
|
|
570
|
-
line: this.yylineno
|
|
571
|
-
});
|
|
572
|
-
|
|
573
|
-
}
|
|
574
|
-
return this;
|
|
575
|
-
},
|
|
576
|
-
|
|
577
|
-
// retain first n characters of the match
|
|
578
|
-
less:function (n) {
|
|
579
|
-
this.unput(this.match.slice(n));
|
|
580
|
-
},
|
|
581
|
-
|
|
582
|
-
// displays already matched input, i.e. for error messages
|
|
583
|
-
pastInput:function () {
|
|
584
|
-
var past = this.matched.substr(0, this.matched.length - this.match.length);
|
|
585
|
-
return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");
|
|
586
|
-
},
|
|
587
|
-
|
|
588
|
-
// displays upcoming input, i.e. for error messages
|
|
589
|
-
upcomingInput:function () {
|
|
590
|
-
var next = this.match;
|
|
591
|
-
if (next.length < 20) {
|
|
592
|
-
next += this._input.substr(0, 20-next.length);
|
|
593
|
-
}
|
|
594
|
-
return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\n/g, "");
|
|
595
|
-
},
|
|
596
|
-
|
|
597
|
-
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
598
|
-
showPosition:function () {
|
|
599
|
-
var pre = this.pastInput();
|
|
600
|
-
var c = new Array(pre.length + 1).join("-");
|
|
601
|
-
return pre + this.upcomingInput() + "\n" + c + "^";
|
|
602
|
-
},
|
|
603
|
-
|
|
604
|
-
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
605
|
-
test_match:function(match, indexed_rule) {
|
|
606
|
-
var token,
|
|
607
|
-
lines,
|
|
608
|
-
backup;
|
|
609
|
-
|
|
610
|
-
if (this.options.backtrack_lexer) {
|
|
611
|
-
// save context
|
|
612
|
-
backup = {
|
|
613
|
-
yylineno: this.yylineno,
|
|
614
|
-
yylloc: {
|
|
615
|
-
first_line: this.yylloc.first_line,
|
|
616
|
-
last_line: this.last_line,
|
|
617
|
-
first_column: this.yylloc.first_column,
|
|
618
|
-
last_column: this.yylloc.last_column
|
|
619
|
-
},
|
|
620
|
-
yytext: this.yytext,
|
|
621
|
-
match: this.match,
|
|
622
|
-
matches: this.matches,
|
|
623
|
-
matched: this.matched,
|
|
624
|
-
yyleng: this.yyleng,
|
|
625
|
-
offset: this.offset,
|
|
626
|
-
_more: this._more,
|
|
627
|
-
_input: this._input,
|
|
628
|
-
yy: this.yy,
|
|
629
|
-
conditionStack: this.conditionStack.slice(0),
|
|
630
|
-
done: this.done
|
|
631
|
-
};
|
|
632
|
-
if (this.options.ranges) {
|
|
633
|
-
backup.yylloc.range = this.yylloc.range.slice(0);
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
lines = match[0].match(/(?:\r\n?|\n).*/g);
|
|
638
|
-
if (lines) {
|
|
639
|
-
this.yylineno += lines.length;
|
|
640
|
-
}
|
|
641
|
-
this.yylloc = {
|
|
642
|
-
first_line: this.yylloc.last_line,
|
|
643
|
-
last_line: this.yylineno + 1,
|
|
644
|
-
first_column: this.yylloc.last_column,
|
|
645
|
-
last_column: lines ?
|
|
646
|
-
lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length :
|
|
647
|
-
this.yylloc.last_column + match[0].length
|
|
648
|
-
};
|
|
649
|
-
this.yytext += match[0];
|
|
650
|
-
this.match += match[0];
|
|
651
|
-
this.matches = match;
|
|
652
|
-
this.yyleng = this.yytext.length;
|
|
653
|
-
if (this.options.ranges) {
|
|
654
|
-
this.yylloc.range = [this.offset, this.offset += this.yyleng];
|
|
655
|
-
}
|
|
656
|
-
this._more = false;
|
|
657
|
-
this._backtrack = false;
|
|
658
|
-
this._input = this._input.slice(match[0].length);
|
|
659
|
-
this.matched += match[0];
|
|
660
|
-
token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
|
|
661
|
-
if (this.done && this._input) {
|
|
662
|
-
this.done = false;
|
|
663
|
-
}
|
|
664
|
-
if (token) {
|
|
665
|
-
return token;
|
|
666
|
-
} else if (this._backtrack) {
|
|
667
|
-
// recover context
|
|
668
|
-
for (var k in backup) {
|
|
669
|
-
this[k] = backup[k];
|
|
670
|
-
}
|
|
671
|
-
return false; // rule action called reject() implying the next rule should be tested instead.
|
|
672
|
-
}
|
|
673
|
-
return false;
|
|
674
|
-
},
|
|
675
|
-
|
|
676
|
-
// return next match in input
|
|
677
|
-
next:function () {
|
|
678
|
-
if (this.done) {
|
|
679
|
-
return this.EOF;
|
|
680
|
-
}
|
|
681
|
-
if (!this._input) {
|
|
682
|
-
this.done = true;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
var token,
|
|
686
|
-
match,
|
|
687
|
-
tempMatch,
|
|
688
|
-
index;
|
|
689
|
-
if (!this._more) {
|
|
690
|
-
this.yytext = '';
|
|
691
|
-
this.match = '';
|
|
692
|
-
}
|
|
693
|
-
var rules = this._currentRules();
|
|
694
|
-
for (var i = 0; i < rules.length; i++) {
|
|
695
|
-
tempMatch = this._input.match(this.rules[rules[i]]);
|
|
696
|
-
if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
|
|
697
|
-
match = tempMatch;
|
|
698
|
-
index = i;
|
|
699
|
-
if (this.options.backtrack_lexer) {
|
|
700
|
-
token = this.test_match(tempMatch, rules[i]);
|
|
701
|
-
if (token !== false) {
|
|
702
|
-
return token;
|
|
703
|
-
} else if (this._backtrack) {
|
|
704
|
-
match = false;
|
|
705
|
-
continue; // rule action called reject() implying a rule MISmatch.
|
|
706
|
-
} else {
|
|
707
|
-
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
|
|
708
|
-
return false;
|
|
709
|
-
}
|
|
710
|
-
} else if (!this.options.flex) {
|
|
711
|
-
break;
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
if (match) {
|
|
716
|
-
token = this.test_match(match, rules[index]);
|
|
717
|
-
if (token !== false) {
|
|
718
|
-
return token;
|
|
719
|
-
}
|
|
720
|
-
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
|
|
721
|
-
return false;
|
|
722
|
-
}
|
|
723
|
-
if (this._input === "") {
|
|
724
|
-
return this.EOF;
|
|
725
|
-
} else {
|
|
726
|
-
return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\n' + this.showPosition(), {
|
|
727
|
-
text: "",
|
|
728
|
-
token: null,
|
|
729
|
-
line: this.yylineno
|
|
730
|
-
});
|
|
731
|
-
}
|
|
732
|
-
},
|
|
733
|
-
|
|
734
|
-
// return next match that has a token
|
|
735
|
-
lex:function lex () {
|
|
736
|
-
var r = this.next();
|
|
737
|
-
if (r) {
|
|
738
|
-
return r;
|
|
739
|
-
} else {
|
|
740
|
-
return this.lex();
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
|
|
744
|
-
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
745
|
-
begin:function begin (condition) {
|
|
746
|
-
this.conditionStack.push(condition);
|
|
747
|
-
},
|
|
748
|
-
|
|
749
|
-
// pop the previously active lexer condition state off the condition stack
|
|
750
|
-
popState:function popState () {
|
|
751
|
-
var n = this.conditionStack.length - 1;
|
|
752
|
-
if (n > 0) {
|
|
753
|
-
return this.conditionStack.pop();
|
|
754
|
-
} else {
|
|
755
|
-
return this.conditionStack[0];
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
|
|
759
|
-
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
760
|
-
_currentRules:function _currentRules () {
|
|
761
|
-
if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
|
|
762
|
-
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
|
|
763
|
-
} else {
|
|
764
|
-
return this.conditions["INITIAL"].rules;
|
|
765
|
-
}
|
|
766
|
-
},
|
|
767
|
-
|
|
768
|
-
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
769
|
-
topState:function topState (n) {
|
|
770
|
-
n = this.conditionStack.length - 1 - Math.abs(n || 0);
|
|
771
|
-
if (n >= 0) {
|
|
772
|
-
return this.conditionStack[n];
|
|
773
|
-
} else {
|
|
774
|
-
return "INITIAL";
|
|
775
|
-
}
|
|
776
|
-
},
|
|
777
|
-
|
|
778
|
-
// alias for begin(condition)
|
|
779
|
-
pushState:function pushState (condition) {
|
|
780
|
-
this.begin(condition);
|
|
781
|
-
},
|
|
782
|
-
|
|
783
|
-
// return the number of states currently on the stack
|
|
784
|
-
stateStackSize:function stateStackSize() {
|
|
785
|
-
return this.conditionStack.length;
|
|
786
|
-
},
|
|
787
|
-
options: {"case-insensitive":true},
|
|
788
|
-
performAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
|
|
789
|
-
var YYSTATE=YY_START;
|
|
790
|
-
switch($avoiding_name_collisions) {
|
|
791
|
-
case 0: this.begin('INITIAL'); return 46;
|
|
792
|
-
break;
|
|
793
|
-
case 1: this.begin('INITIAL'); return 52;
|
|
794
|
-
break;
|
|
795
|
-
case 2:return 54;
|
|
796
|
-
break;
|
|
797
|
-
case 3:return 53;
|
|
798
|
-
break;
|
|
799
|
-
case 4:return 'INVALID';
|
|
800
|
-
break;
|
|
801
|
-
case 5:return 40
|
|
802
|
-
break;
|
|
803
|
-
case 6:return 44
|
|
804
|
-
break;
|
|
805
|
-
case 7:return 8
|
|
806
|
-
break;
|
|
807
|
-
case 8:return 42
|
|
808
|
-
break;
|
|
809
|
-
case 9:return 41
|
|
810
|
-
break;
|
|
811
|
-
case 10:return 43
|
|
812
|
-
break;
|
|
813
|
-
case 11:return 43
|
|
814
|
-
break;
|
|
815
|
-
case 12:/* skip whitespace */
|
|
816
|
-
break;
|
|
817
|
-
case 13:return 37
|
|
818
|
-
break;
|
|
819
|
-
case 14:return 35
|
|
820
|
-
break;
|
|
821
|
-
case 15:return 27
|
|
822
|
-
break;
|
|
823
|
-
case 16:return 33
|
|
824
|
-
break;
|
|
825
|
-
case 17:return 34
|
|
826
|
-
break;
|
|
827
|
-
case 18:return 10
|
|
828
|
-
break;
|
|
829
|
-
case 19:return 11
|
|
830
|
-
break;
|
|
831
|
-
case 20:return 13
|
|
832
|
-
break;
|
|
833
|
-
case 21:return 12
|
|
834
|
-
break;
|
|
835
|
-
case 22:return 17
|
|
836
|
-
break;
|
|
837
|
-
case 23:return 19
|
|
838
|
-
break;
|
|
839
|
-
case 24:return 21
|
|
840
|
-
break;
|
|
841
|
-
case 25:return 18
|
|
842
|
-
break;
|
|
843
|
-
case 26:return 14
|
|
844
|
-
break;
|
|
845
|
-
case 27:return 21
|
|
846
|
-
break;
|
|
847
|
-
case 28:return 24
|
|
848
|
-
break;
|
|
849
|
-
case 29:return 25
|
|
850
|
-
break;
|
|
851
|
-
case 30:return 22
|
|
852
|
-
break;
|
|
853
|
-
case 31:return 23
|
|
854
|
-
break;
|
|
855
|
-
case 32:return 29
|
|
856
|
-
break;
|
|
857
|
-
case 33:return 28
|
|
858
|
-
break;
|
|
859
|
-
case 34:return 30
|
|
860
|
-
break;
|
|
861
|
-
case 35:return 20
|
|
862
|
-
break;
|
|
863
|
-
case 36:return 20
|
|
864
|
-
break;
|
|
865
|
-
case 37:return 26
|
|
866
|
-
break;
|
|
867
|
-
case 38:return 28
|
|
868
|
-
break;
|
|
869
|
-
case 39:return 29
|
|
870
|
-
break;
|
|
871
|
-
case 40:return 16
|
|
872
|
-
break;
|
|
873
|
-
case 41:return 15
|
|
874
|
-
break;
|
|
875
|
-
case 42: this.begin('fieldname'); return 55;
|
|
876
|
-
break;
|
|
877
|
-
case 43:return 47;
|
|
878
|
-
break;
|
|
879
|
-
case 44:return 31
|
|
880
|
-
break;
|
|
881
|
-
case 45:return 32
|
|
882
|
-
break;
|
|
883
|
-
case 46:return 48
|
|
884
|
-
break;
|
|
885
|
-
case 47:return 38
|
|
886
|
-
break;
|
|
887
|
-
case 48:return 56
|
|
888
|
-
break;
|
|
889
|
-
case 49:return 39
|
|
890
|
-
break;
|
|
891
|
-
case 50:return 'INVALID'
|
|
892
|
-
break;
|
|
893
|
-
case 51:return 5
|
|
894
|
-
break;
|
|
895
|
-
}
|
|
896
|
-
},
|
|
897
|
-
rules: [/^(?:\]\s*\[)/i,/^(?:\])/i,/^(?:\\.)/i,/^(?:.)/i,/^(?:$)/i,/^(?:'(?:[^\']|(?:('')))*')/i,/^(?:\{[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}\})/i,/^(?:##\w+#(?:[^\#]|(?:\.))*#)/i,/^(?:#(?:[^\\\#]|(?:\\.))*#)/i,/^(?:[0-9]+(\.[0-9]+([mfMF]{1})?|[bsiluBSILU]{1})?|\.([0-9]+[mfMF]?))/i,/^(?:True\b)/i,/^(?:False\b)/i,/^(?:\s+)/i,/^(?:Between\b)/i,/^(?:In\b)/i,/^(?:Not\b)/i,/^(?:Is\b)/i,/^(?:Null\b)/i,/^(?:\*)/i,/^(?:\/)/i,/^(?:-)/i,/^(?:\+)/i,/^(?:\^)/i,/^(?:~)/i,/^(?:!=)/i,/^(?:!)/i,/^(?:%)/i,/^(?:<>)/i,/^(?:>=)/i,/^(?:<=)/i,/^(?:>)/i,/^(?:<)/i,/^(?:\|\|)/i,/^(?:&&)/i,/^(?:\?\?)/i,/^(?:==)/i,/^(?:=)/i,/^(?:Like\b)/i,/^(?:And\b)/i,/^(?:Or\b)/i,/^(?:&)/i,/^(?:\|)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\()/i,/^(?:\))/i,/^(?:\.)/i,/^(?:,)/i,/^(?:\?)/i,/^(?:[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*)/i,/^(?:.)/i,/^(?:$)/i],
|
|
898
|
-
conditions: {"fieldname":{"rules":[0,1,2,3,4],"inclusive":false},"INITIAL":{"rules":[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"inclusive":true}}
|
|
899
|
-
});
|
|
900
|
-
return lexer;
|
|
901
|
-
})();
|
|
902
|
-
parser.lexer = lexer;
|
|
903
|
-
function Parser () {
|
|
904
|
-
this.yy = {};
|
|
905
|
-
}
|
|
906
|
-
Parser.prototype = parser;parser.Parser = Parser;
|
|
907
|
-
return new Parser;
|
|
908
|
-
})();
|
|
909
|
-
export const criteriaparser = _criteriaparser;
|
|
910
|
-
export function parse(test) { return _criteriaparser.parse(test) };
|
|
1
|
+
|
|
2
|
+
import { criteriaCreator } from '../utils/criteriaOperatorPreprocessor';
|
|
3
|
+
import { BinaryOperatorType } from '../operators/options/binary';
|
|
4
|
+
import { UnaryOperatorType } from '../operators/options/unary';
|
|
5
|
+
import { GroupOperator } from '../operators/group';
|
|
6
|
+
import { GroupOperatorType } from '../operators/options/group';
|
|
7
|
+
import { FunctionOperatorType } from '../operators/options/function';
|
|
8
|
+
import { JoinOperand } from '../operators/join';
|
|
9
|
+
/* parser generated by jison 0.4.18 */
|
|
10
|
+
/*
|
|
11
|
+
Returns a Parser object of the following structure:
|
|
12
|
+
|
|
13
|
+
Parser: {
|
|
14
|
+
yy: {}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
Parser.prototype: {
|
|
18
|
+
yy: {},
|
|
19
|
+
trace: function(),
|
|
20
|
+
symbols_: {associative list: name ==> number},
|
|
21
|
+
terminals_: {associative list: number ==> name},
|
|
22
|
+
productions_: [...],
|
|
23
|
+
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),
|
|
24
|
+
table: [...],
|
|
25
|
+
defaultActions: {...},
|
|
26
|
+
parseError: function(str, hash),
|
|
27
|
+
parse: function(input),
|
|
28
|
+
|
|
29
|
+
lexer: {
|
|
30
|
+
EOF: 1,
|
|
31
|
+
parseError: function(str, hash),
|
|
32
|
+
setInput: function(input),
|
|
33
|
+
input: function(),
|
|
34
|
+
unput: function(str),
|
|
35
|
+
more: function(),
|
|
36
|
+
less: function(n),
|
|
37
|
+
pastInput: function(),
|
|
38
|
+
upcomingInput: function(),
|
|
39
|
+
showPosition: function(),
|
|
40
|
+
test_match: function(regex_match_array, rule_index),
|
|
41
|
+
next: function(),
|
|
42
|
+
lex: function(),
|
|
43
|
+
begin: function(condition),
|
|
44
|
+
popState: function(),
|
|
45
|
+
_currentRules: function(),
|
|
46
|
+
topState: function(),
|
|
47
|
+
pushState: function(condition),
|
|
48
|
+
|
|
49
|
+
options: {
|
|
50
|
+
ranges: boolean (optional: true ==> token location info will include a .range[] member)
|
|
51
|
+
flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)
|
|
52
|
+
backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),
|
|
56
|
+
rules: [...],
|
|
57
|
+
conditions: {associative list: name ==> set},
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
token location info (@$, _$, etc.): {
|
|
63
|
+
first_line: n,
|
|
64
|
+
last_line: n,
|
|
65
|
+
first_column: n,
|
|
66
|
+
last_column: n,
|
|
67
|
+
range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
the parseError function receives a 'hash' object with these members for lexer and parser errors: {
|
|
72
|
+
text: (matched text)
|
|
73
|
+
token: (the produced terminal token, if any)
|
|
74
|
+
line: (yylineno)
|
|
75
|
+
}
|
|
76
|
+
while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {
|
|
77
|
+
loc: (yylloc)
|
|
78
|
+
expected: (string describing the set of expected tokens)
|
|
79
|
+
recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)
|
|
80
|
+
}
|
|
81
|
+
*/
|
|
82
|
+
var _criteriaparser = (function(){
|
|
83
|
+
var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,5],$V1=[1,8],$V2=[1,7],$V3=[1,24],$V4=[1,9],$V5=[1,10],$V6=[1,11],$V7=[1,12],$V8=[1,19],$V9=[1,13],$Va=[1,14],$Vb=[1,15],$Vc=[1,16],$Vd=[1,17],$Ve=[1,18],$Vf=[1,21],$Vg=[1,23],$Vh=[1,22],$Vi=[1,26],$Vj=[1,27],$Vk=[1,28],$Vl=[1,29],$Vm=[1,30],$Vn=[1,31],$Vo=[1,32],$Vp=[1,33],$Vq=[1,34],$Vr=[1,35],$Vs=[1,36],$Vt=[1,37],$Vu=[1,38],$Vv=[1,39],$Vw=[1,40],$Vx=[1,41],$Vy=[1,42],$Vz=[1,43],$VA=[1,44],$VB=[1,45],$VC=[1,46],$VD=[1,47],$VE=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],$VF=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,46,47,48,52,53,54],$VG=[1,55],$VH=[5,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],$VI=[5,28,29,30,32,38,47],$VJ=[1,95],$VK=[1,96],$VL=[5,12,13,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],$VM=[5,20,21,26,27,28,29,30,32,33,38,47],$VN=[5,20,21,22,23,24,25,26,27,28,29,30,32,33,38,47],$VO=[32,38],$VP=[1,107];
|
|
84
|
+
var parser = {trace: function trace () { },
|
|
85
|
+
yy: {},
|
|
86
|
+
symbols_: {"error":2,"expressions":3,"exp":4,"EOF":5,"const":6,"propertyWithAgg":7,"SOMETYPE":8,"parameter":9,"*":10,"/":11,"+":12,"-":13,"%":14,"|":15,"&":16,"^":17,"!":18,"~":19,"OP_EQ":20,"OP_NE":21,"OP_GT":22,"OP_LT":23,"OP_GE":24,"OP_LE":25,"OP_LIKE":26,"NOT":27,"AND":28,"OR":29,"OP_ISNULL":30,"(":31,")":32,"IS":33,"NULL":34,"OP_IN":35,"arguments":36,"OP_BETWEEN":37,",":38,"NAME_SOFT":39,"STRING":40,"NUMBER":41,"OBJECT":42,"BOOLEAN":43,"GUID":44,"property":45,"[":46,"]":47,".":48,"agg":49,"Count":50,"Exists":51,"FIELD_END":52,"CH":53,"ESC_CH":54,"FIELD_START":55,"?":56,"commaseparated":57,"$accept":0,"$end":1},
|
|
87
|
+
terminals_: {2:"error",5:"EOF",8:"SOMETYPE",10:"*",11:"/",12:"+",13:"-",14:"%",15:"|",16:"&",17:"^",18:"!",19:"~",20:"OP_EQ",21:"OP_NE",22:"OP_GT",23:"OP_LT",24:"OP_GE",25:"OP_LE",26:"OP_LIKE",27:"NOT",28:"AND",29:"OR",30:"OP_ISNULL",31:"(",32:")",33:"IS",34:"NULL",35:"OP_IN",37:"OP_BETWEEN",38:",",39:"NAME_SOFT",40:"STRING",41:"NUMBER",42:"OBJECT",43:"BOOLEAN",44:"GUID",46:"[",47:"]",48:".",50:"Count",51:"Exists",52:"FIELD_END",53:"CH",54:"ESC_CH",55:"FIELD_START",56:"?"},
|
|
88
|
+
productions_: [0,[3,2],[4,1],[4,1],[4,1],[4,1],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,3],[4,7],[4,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[7,6],[7,5],[7,3],[7,4],[7,3],[7,1],[7,4],[49,1],[49,1],[49,2],[45,2],[45,2],[45,2],[45,3],[45,3],[45,1],[45,1],[45,1],[9,2],[9,1],[36,2],[36,3],[57,1],[57,3]],
|
|
89
|
+
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {
|
|
90
|
+
/* this == yyval */
|
|
91
|
+
|
|
92
|
+
var $0 = $$.length - 1;
|
|
93
|
+
switch (yystate) {
|
|
94
|
+
case 1:
|
|
95
|
+
return $$[$0-1];
|
|
96
|
+
break;
|
|
97
|
+
case 2:
|
|
98
|
+
this.$ = criteriaCreator.process("const", { value: $$[$0] });
|
|
99
|
+
break;
|
|
100
|
+
case 3: case 5: case 36: case 37: case 38: case 39: case 40:
|
|
101
|
+
this.$ = $$[$0];
|
|
102
|
+
break;
|
|
103
|
+
case 4:
|
|
104
|
+
this.$ = criteriaCreator.process("value", { value: $$[$0], isSomeType: true })
|
|
105
|
+
break;
|
|
106
|
+
case 6:
|
|
107
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Multiply });
|
|
108
|
+
break;
|
|
109
|
+
case 7:
|
|
110
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Divide });
|
|
111
|
+
break;
|
|
112
|
+
case 8:
|
|
113
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Plus });
|
|
114
|
+
break;
|
|
115
|
+
case 9:
|
|
116
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Minus });
|
|
117
|
+
break;
|
|
118
|
+
case 10:
|
|
119
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Modulo });
|
|
120
|
+
break;
|
|
121
|
+
case 11:
|
|
122
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseOr });
|
|
123
|
+
break;
|
|
124
|
+
case 12:
|
|
125
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseAnd });
|
|
126
|
+
break;
|
|
127
|
+
case 13:
|
|
128
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseXor });
|
|
129
|
+
break;
|
|
130
|
+
case 14:
|
|
131
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Minus, operator: $$[$0] });
|
|
132
|
+
break;
|
|
133
|
+
case 15:
|
|
134
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Plus, operator: $$[$0] });
|
|
135
|
+
break;
|
|
136
|
+
case 16: case 26:
|
|
137
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Not, operator: $$[$0] });
|
|
138
|
+
break;
|
|
139
|
+
case 17:
|
|
140
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.BitwiseNot, operator: $$[$0] });
|
|
141
|
+
break;
|
|
142
|
+
case 18:
|
|
143
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Equal });
|
|
144
|
+
break;
|
|
145
|
+
case 19:
|
|
146
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.NotEqual });
|
|
147
|
+
break;
|
|
148
|
+
case 20:
|
|
149
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Greater });
|
|
150
|
+
break;
|
|
151
|
+
case 21:
|
|
152
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Less });
|
|
153
|
+
break;
|
|
154
|
+
case 22:
|
|
155
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.GreaterOrEqual });
|
|
156
|
+
break;
|
|
157
|
+
case 23:
|
|
158
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.LessOrEqual });
|
|
159
|
+
break;
|
|
160
|
+
case 24:
|
|
161
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Like });
|
|
162
|
+
break;
|
|
163
|
+
case 25:
|
|
164
|
+
|
|
165
|
+
this.$ = criteriaCreator.process("unary", {
|
|
166
|
+
operatorType: UnaryOperatorType.Not,
|
|
167
|
+
operator: criteriaCreator.process("binary", { left: $$[$0-3], right: $$[$0], operatorType: BinaryOperatorType.Like })
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
break;
|
|
171
|
+
case 27:
|
|
172
|
+
this.$ = GroupOperator.combine(GroupOperatorType.And, [$$[$0-2], $$[$0]]);
|
|
173
|
+
break;
|
|
174
|
+
case 28:
|
|
175
|
+
this.$ = GroupOperator.combine(GroupOperatorType.Or, [$$[$0-2], $$[$0]]);
|
|
176
|
+
break;
|
|
177
|
+
case 29:
|
|
178
|
+
this.$ = criteriaCreator.process("function", { operatorType: FunctionOperatorType.IsNull, operands: [$$[$0-2], $$[$0]] });
|
|
179
|
+
break;
|
|
180
|
+
case 30: case 52: case 63:
|
|
181
|
+
this.$ = $$[$0-1];
|
|
182
|
+
break;
|
|
183
|
+
case 31:
|
|
184
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.IsNull, operator: $$[$0-2] });
|
|
185
|
+
break;
|
|
186
|
+
case 32:
|
|
187
|
+
|
|
188
|
+
this.$ = criteriaCreator.process("unary", {
|
|
189
|
+
operatorType: UnaryOperatorType.Not,
|
|
190
|
+
operator: criteriaCreator.process("unary", { operatorType: UnaryOperatorType.IsNull, operator: $$[$0-3] })
|
|
191
|
+
});
|
|
192
|
+
|
|
193
|
+
break;
|
|
194
|
+
case 33:
|
|
195
|
+
this.$ = criteriaCreator.process("in", { criteriaOperator: $$[$0-2], operands: $$[$0] });
|
|
196
|
+
break;
|
|
197
|
+
case 34:
|
|
198
|
+
this.$ = criteriaCreator.process("between", { property: $$[$0-6], begin: $$[$0-3], end: $$[$0-1] });
|
|
199
|
+
break;
|
|
200
|
+
case 35:
|
|
201
|
+
this.$ = criteriaCreator.process("function", { operatorType: FunctionOperatorType[$$[$0-1]] || $$[$0-1], operands: $$[$0] });
|
|
202
|
+
break;
|
|
203
|
+
case 41:
|
|
204
|
+
this.$ = null;
|
|
205
|
+
break;
|
|
206
|
+
case 42:
|
|
207
|
+
|
|
208
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
209
|
+
criteriaCreator.process("property", { propertyName: $$[$0-5].name, startColumn: $$[$0-5].col, circumflex: $$[$0-5].circumflex, startLine: $$[$0-5].line, originalPropertyLength: _$[$0-5].last_column - _$[$0-5].first_column + 1 }),
|
|
210
|
+
$$[$0-3], $$[$0].type, $$[$0].expr
|
|
211
|
+
);
|
|
212
|
+
|
|
213
|
+
break;
|
|
214
|
+
case 43:
|
|
215
|
+
|
|
216
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
217
|
+
criteriaCreator.process("property", { propertyName: $$[$0-4].name, startColumn: $$[$0-4].col, circumflex: $$[$0-4].circumflex, startLine: $$[$0-4].line, originalPropertyLength: _$[$0-4].last_column - _$[$0-4].first_column + 1 }),
|
|
218
|
+
null, $$[$0].type, $$[$0].expr
|
|
219
|
+
);
|
|
220
|
+
|
|
221
|
+
break;
|
|
222
|
+
case 44:
|
|
223
|
+
|
|
224
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
225
|
+
criteriaCreator.process("property", { propertyName: $$[$0-2].name, startColumn: $$[$0-2].col, circumflex: $$[$0-2].circumflex, startLine: $$[$0-2].line, originalPropertyLength: _$[$0-2].last_column - _$[$0-2].first_column }),
|
|
226
|
+
null, $$[$0].type, $$[$0].expr
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
break;
|
|
230
|
+
case 45:
|
|
231
|
+
|
|
232
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
233
|
+
criteriaCreator.process("property", { propertyName: $$[$0-3].name, startColumn: $$[$0-3].col, circumflex: $$[$0-3].circumflex, startLine: $$[$0-3].line, originalPropertyLength: _$[$0-3].last_column - _$[$0-3].first_column + 1 }),
|
|
234
|
+
$$[$0-1], 'Exists', null
|
|
235
|
+
);
|
|
236
|
+
|
|
237
|
+
break;
|
|
238
|
+
case 46:
|
|
239
|
+
|
|
240
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
241
|
+
criteriaCreator.process("property", { propertyName: $$[$0-2].name, startColumn: $$[$0-2].col, circumflex: $$[$0-2].circumflex, startLine: $$[$0-2].line, originalPropertyLength: _$[$0-2].last_column - _$[$0-2].first_column + 1 }),
|
|
242
|
+
null, 'Exists', null);
|
|
243
|
+
|
|
244
|
+
break;
|
|
245
|
+
case 47:
|
|
246
|
+
|
|
247
|
+
this.$ = criteriaCreator.process("property", { propertyName: $$[$0].name, startColumn: $$[$0].col, circumflex: $$[$0].circumflex, startLine: $$[$0].line, originalPropertyLength: _$[$0].last_column - _$[$0].first_column });
|
|
248
|
+
|
|
249
|
+
break;
|
|
250
|
+
case 48:
|
|
251
|
+
|
|
252
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
253
|
+
criteriaCreator.process("property", { }),
|
|
254
|
+
null, $$[$0].type, $$[$0].expr
|
|
255
|
+
);
|
|
256
|
+
|
|
257
|
+
break;
|
|
258
|
+
case 49:
|
|
259
|
+
this.$ = { type: 'Count' };
|
|
260
|
+
break;
|
|
261
|
+
case 50:
|
|
262
|
+
this.$ = { type: 'Exists' };
|
|
263
|
+
break;
|
|
264
|
+
case 51:
|
|
265
|
+
this.$ = { type: $$[$0-1], expr: $$[$0] };
|
|
266
|
+
break;
|
|
267
|
+
case 53:
|
|
268
|
+
this.$ = { name: $$[$0-1].name + $$[$0], line: $$[$0-1].line, circumflex: $$[$0-1].circumflex, col: $$[$0-1].col };
|
|
269
|
+
break;
|
|
270
|
+
case 54:
|
|
271
|
+
this.$ = { name: $$[$0-1].name + $$[$0].substr(1), line: $$[$0-1].line, circumflex: $$[$0-1].circumflex, col: $$[$0-1].col };
|
|
272
|
+
break;
|
|
273
|
+
case 55:
|
|
274
|
+
|
|
275
|
+
if($$[$0-2].circumflex && $$[$0-2].started) {
|
|
276
|
+
this.$ = { name: '', line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col + 2 };
|
|
277
|
+
} else
|
|
278
|
+
this.$ = { name: $$[$0-2].name + '.', line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col };
|
|
279
|
+
|
|
280
|
+
break;
|
|
281
|
+
case 56:
|
|
282
|
+
|
|
283
|
+
if($$[$0-2].circumflex && $$[$0-2].started){
|
|
284
|
+
this.$ = { name: $$[$0], line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col + 1 };
|
|
285
|
+
} else
|
|
286
|
+
this.$ = { name: $$[$0-2].name + '.' + $$[$0], line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col };
|
|
287
|
+
|
|
288
|
+
break;
|
|
289
|
+
case 57:
|
|
290
|
+
this.$ = { name: "", line: _$[$0].first_line - 1, col: _$[$0].first_column + 1 };
|
|
291
|
+
break;
|
|
292
|
+
case 58:
|
|
293
|
+
this.$ = { name: $$[$0], line: _$[$0].first_line - 1, col: _$[$0].first_column };
|
|
294
|
+
break;
|
|
295
|
+
case 59:
|
|
296
|
+
this.$ = { circumflex: true, started: true, name: "", line: _$[$0].first_line - 1, col: _$[$0].first_column + 1 };
|
|
297
|
+
break;
|
|
298
|
+
case 60:
|
|
299
|
+
this.$ = criteriaCreator.process("parameter", { parameterName: $$[$0] });
|
|
300
|
+
break;
|
|
301
|
+
case 61:
|
|
302
|
+
this.$ = criteriaCreator.process("value", { });
|
|
303
|
+
break;
|
|
304
|
+
case 62:
|
|
305
|
+
this.$ = [];
|
|
306
|
+
break;
|
|
307
|
+
case 64:
|
|
308
|
+
this.$ = [$$[$0]];
|
|
309
|
+
break;
|
|
310
|
+
case 65:
|
|
311
|
+
this.$ = $$[$0-2].concat($$[$0]);
|
|
312
|
+
break;
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
table: [{3:1,4:2,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{1:[3]},{5:[1,25],10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD},o($VE,[2,2]),o($VE,[2,3]),o($VE,[2,4]),o($VE,[2,5]),{4:48,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:49,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:50,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:51,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:52,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:53,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VF,[2,58],{36:54,31:$VG}),o($VE,[2,36]),o($VE,[2,37]),o($VE,[2,38]),o($VE,[2,39]),o($VE,[2,40]),o($VE,[2,41]),o($VE,[2,47],{46:[1,56],48:[1,57],52:[1,58],53:[1,59],54:[1,60]}),{47:[1,61]},o($VE,[2,61],{39:[1,62]}),o($VF,[2,57]),o($VF,[2,59]),{1:[2,1]},{4:63,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:64,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:65,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:66,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:67,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:68,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:69,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:70,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:71,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:72,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:73,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:74,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:75,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:76,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:77,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{26:[1,78]},{4:79,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:80,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{4:81,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},{27:[1,83],34:[1,82]},{31:$VG,36:84},{31:[1,85]},o($VE,[2,14]),o($VE,[2,15]),o($VE,[2,16]),o($VH,[2,17],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm}),o($VI,[2,26],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,33:$VB,35:$VC,37:$VD}),{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,32:[1,86],33:$VB,35:$VC,37:$VD},o($VE,[2,35]),{4:89,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,32:[1,87],34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh,57:88},{4:90,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,47:[1,91],55:$Vg,56:$Vh},{39:[1,94],49:92,50:$VJ,51:$VK,55:[1,93]},o($VF,[2,52]),o($VF,[2,53]),o($VF,[2,54]),{48:[1,97]},o($VE,[2,60]),o($VE,[2,6]),o($VE,[2,7]),o($VL,[2,8],{10:$Vi,11:$Vj,14:$Vm}),o($VL,[2,9],{10:$Vi,11:$Vj,14:$Vm}),o($VE,[2,10]),o([5,15,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],[2,11],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,16:$Vo,17:$Vp}),o($VH,[2,12],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm}),o([5,15,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],[2,13],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,16:$Vo}),o($VM,[2,18],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,22:$Vs,23:$Vt,24:$Vu,25:$Vv,35:$VC,37:$VD}),o($VM,[2,19],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,22:$Vs,23:$Vt,24:$Vu,25:$Vv,35:$VC,37:$VD}),o($VN,[2,20],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,35:$VC,37:$VD}),o($VN,[2,21],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,35:$VC,37:$VD}),o($VN,[2,22],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,35:$VC,37:$VD}),o($VN,[2,23],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,35:$VC,37:$VD}),o($VM,[2,24],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,22:$Vs,23:$Vt,24:$Vu,25:$Vv,35:$VC,37:$VD}),{4:98,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VI,[2,27],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,33:$VB,35:$VC,37:$VD}),o([5,29,30,32,38,47],[2,28],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,33:$VB,35:$VC,37:$VD}),o([5,32,38,47],[2,29],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD}),o($VE,[2,31]),{34:[1,99]},o($VE,[2,33]),{4:100,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VE,[2,30]),o($VE,[2,62]),{32:[1,101],38:[1,102]},o($VO,[2,64],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD}),{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD,47:[1,103]},o($VE,[2,46],{48:[1,104]}),o($VE,[2,44]),o($VF,[2,55]),o($VF,[2,56],{36:105,31:$VG}),o($VE,[2,49]),o($VE,[2,50]),{39:$VP,49:106,50:$VJ,51:$VK},o($VM,[2,25],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,22:$Vs,23:$Vt,24:$Vu,25:$Vv,35:$VC,37:$VD}),o($VE,[2,32]),{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD,38:[1,108]},o($VE,[2,63]),{4:109,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VE,[2,45],{48:[1,110]}),{39:$VP,49:111,50:$VJ,51:$VK},o($VE,[2,51]),o($VE,[2,48]),{31:$VG,36:105},{4:112,6:3,7:4,8:$V0,9:6,12:$V1,13:$V2,17:$V3,18:$V4,19:$V5,27:$V6,31:$V7,34:$V8,39:$V9,40:$Va,41:$Vb,42:$Vc,43:$Vd,44:$Ve,45:20,46:$Vf,55:$Vg,56:$Vh},o($VO,[2,65],{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,33:$VB,35:$VC,37:$VD}),{39:$VP,49:113,50:$VJ,51:$VK},o($VE,[2,43]),{10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,17:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,29:$Vz,30:$VA,32:[1,114],33:$VB,35:$VC,37:$VD},o($VE,[2,42]),o($VE,[2,34])],
|
|
316
|
+
defaultActions: {25:[2,1]},
|
|
317
|
+
parseError: function parseError (str, hash) {
|
|
318
|
+
if (hash.recoverable) {
|
|
319
|
+
this.trace(str);
|
|
320
|
+
} else {
|
|
321
|
+
var error = new Error(str);
|
|
322
|
+
error.hash = hash;
|
|
323
|
+
throw error;
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
parse: function parse(input) {
|
|
327
|
+
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
|
|
328
|
+
var args = lstack.slice.call(arguments, 1);
|
|
329
|
+
var lexer = Object.create(this.lexer);
|
|
330
|
+
var sharedState = { yy: {} };
|
|
331
|
+
for (var k in this.yy) {
|
|
332
|
+
if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
|
|
333
|
+
sharedState.yy[k] = this.yy[k];
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
lexer.setInput(input, sharedState.yy);
|
|
337
|
+
sharedState.yy.lexer = lexer;
|
|
338
|
+
sharedState.yy.parser = this;
|
|
339
|
+
if (typeof lexer.yylloc == 'undefined') {
|
|
340
|
+
lexer.yylloc = {};
|
|
341
|
+
}
|
|
342
|
+
var yyloc = lexer.yylloc;
|
|
343
|
+
lstack.push(yyloc);
|
|
344
|
+
var ranges = lexer.options && lexer.options.ranges;
|
|
345
|
+
if (typeof sharedState.yy.parseError === 'function') {
|
|
346
|
+
this.parseError = sharedState.yy.parseError;
|
|
347
|
+
} else {
|
|
348
|
+
this.parseError = Object.getPrototypeOf(this).parseError;
|
|
349
|
+
}
|
|
350
|
+
function popStack(n) {
|
|
351
|
+
stack.length = stack.length - 2 * n;
|
|
352
|
+
vstack.length = vstack.length - n;
|
|
353
|
+
lstack.length = lstack.length - n;
|
|
354
|
+
}
|
|
355
|
+
_token_stack:
|
|
356
|
+
var lex = function () {
|
|
357
|
+
var token;
|
|
358
|
+
token = lexer.lex() || EOF;
|
|
359
|
+
if (typeof token !== 'number') {
|
|
360
|
+
token = self.symbols_[token] || token;
|
|
361
|
+
}
|
|
362
|
+
return token;
|
|
363
|
+
};
|
|
364
|
+
var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
|
|
365
|
+
while (true) {
|
|
366
|
+
state = stack[stack.length - 1];
|
|
367
|
+
if (this.defaultActions[state]) {
|
|
368
|
+
action = this.defaultActions[state];
|
|
369
|
+
} else {
|
|
370
|
+
if (symbol === null || typeof symbol == 'undefined') {
|
|
371
|
+
symbol = lex();
|
|
372
|
+
}
|
|
373
|
+
action = table[state] && table[state][symbol];
|
|
374
|
+
}
|
|
375
|
+
if (typeof action === 'undefined' || !action.length || !action[0]) {
|
|
376
|
+
var errStr = '';
|
|
377
|
+
expected = [];
|
|
378
|
+
for (p in table[state]) {
|
|
379
|
+
if (this.terminals_[p] && p > TERROR) {
|
|
380
|
+
expected.push('\'' + this.terminals_[p] + '\'');
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
if (lexer.showPosition) {
|
|
384
|
+
errStr = 'Parse error on line ' + (yylineno + 1) + ':\n' + lexer.showPosition() + '\nExpecting ' + expected.join(', ') + ', got \'' + (this.terminals_[symbol] || symbol) + '\'';
|
|
385
|
+
} else {
|
|
386
|
+
errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\'' + (this.terminals_[symbol] || symbol) + '\'');
|
|
387
|
+
}
|
|
388
|
+
this.parseError(errStr, {
|
|
389
|
+
text: lexer.match,
|
|
390
|
+
token: this.terminals_[symbol] || symbol,
|
|
391
|
+
line: lexer.yylineno,
|
|
392
|
+
loc: yyloc,
|
|
393
|
+
expected: expected
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
if (action[0] instanceof Array && action.length > 1) {
|
|
397
|
+
throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);
|
|
398
|
+
}
|
|
399
|
+
switch (action[0]) {
|
|
400
|
+
case 1:
|
|
401
|
+
stack.push(symbol);
|
|
402
|
+
vstack.push(lexer.yytext);
|
|
403
|
+
lstack.push(lexer.yylloc);
|
|
404
|
+
stack.push(action[1]);
|
|
405
|
+
symbol = null;
|
|
406
|
+
if (!preErrorSymbol) {
|
|
407
|
+
yyleng = lexer.yyleng;
|
|
408
|
+
yytext = lexer.yytext;
|
|
409
|
+
yylineno = lexer.yylineno;
|
|
410
|
+
yyloc = lexer.yylloc;
|
|
411
|
+
if (recovering > 0) {
|
|
412
|
+
recovering--;
|
|
413
|
+
}
|
|
414
|
+
} else {
|
|
415
|
+
symbol = preErrorSymbol;
|
|
416
|
+
preErrorSymbol = null;
|
|
417
|
+
}
|
|
418
|
+
break;
|
|
419
|
+
case 2:
|
|
420
|
+
len = this.productions_[action[1]][1];
|
|
421
|
+
yyval.$ = vstack[vstack.length - len];
|
|
422
|
+
yyval._$ = {
|
|
423
|
+
first_line: lstack[lstack.length - (len || 1)].first_line,
|
|
424
|
+
last_line: lstack[lstack.length - 1].last_line,
|
|
425
|
+
first_column: lstack[lstack.length - (len || 1)].first_column,
|
|
426
|
+
last_column: lstack[lstack.length - 1].last_column
|
|
427
|
+
};
|
|
428
|
+
if (ranges) {
|
|
429
|
+
yyval._$.range = [
|
|
430
|
+
lstack[lstack.length - (len || 1)].range[0],
|
|
431
|
+
lstack[lstack.length - 1].range[1]
|
|
432
|
+
];
|
|
433
|
+
}
|
|
434
|
+
r = this.performAction.apply(yyval, [
|
|
435
|
+
yytext,
|
|
436
|
+
yyleng,
|
|
437
|
+
yylineno,
|
|
438
|
+
sharedState.yy,
|
|
439
|
+
action[1],
|
|
440
|
+
vstack,
|
|
441
|
+
lstack
|
|
442
|
+
].concat(args));
|
|
443
|
+
if (typeof r !== 'undefined') {
|
|
444
|
+
return r;
|
|
445
|
+
}
|
|
446
|
+
if (len) {
|
|
447
|
+
stack = stack.slice(0, -1 * len * 2);
|
|
448
|
+
vstack = vstack.slice(0, -1 * len);
|
|
449
|
+
lstack = lstack.slice(0, -1 * len);
|
|
450
|
+
}
|
|
451
|
+
stack.push(this.productions_[action[1]][0]);
|
|
452
|
+
vstack.push(yyval.$);
|
|
453
|
+
lstack.push(yyval._$);
|
|
454
|
+
newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
|
|
455
|
+
stack.push(newState);
|
|
456
|
+
break;
|
|
457
|
+
case 3:
|
|
458
|
+
return true;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
return true;
|
|
462
|
+
}};
|
|
463
|
+
/* generated by jison-lex 0.3.4 */
|
|
464
|
+
var lexer = (function(){
|
|
465
|
+
var lexer = ({
|
|
466
|
+
|
|
467
|
+
EOF:1,
|
|
468
|
+
|
|
469
|
+
parseError:function parseError(str, hash) {
|
|
470
|
+
if (this.yy.parser) {
|
|
471
|
+
this.yy.parser.parseError(str, hash);
|
|
472
|
+
} else {
|
|
473
|
+
throw new Error(str);
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
|
|
477
|
+
// resets the lexer, sets new input
|
|
478
|
+
setInput:function (input, yy) {
|
|
479
|
+
this.yy = yy || this.yy || {};
|
|
480
|
+
this._input = input;
|
|
481
|
+
this._more = this._backtrack = this.done = false;
|
|
482
|
+
this.yylineno = this.yyleng = 0;
|
|
483
|
+
this.yytext = this.matched = this.match = '';
|
|
484
|
+
this.conditionStack = ['INITIAL'];
|
|
485
|
+
this.yylloc = {
|
|
486
|
+
first_line: 1,
|
|
487
|
+
first_column: 0,
|
|
488
|
+
last_line: 1,
|
|
489
|
+
last_column: 0
|
|
490
|
+
};
|
|
491
|
+
if (this.options.ranges) {
|
|
492
|
+
this.yylloc.range = [0,0];
|
|
493
|
+
}
|
|
494
|
+
this.offset = 0;
|
|
495
|
+
return this;
|
|
496
|
+
},
|
|
497
|
+
|
|
498
|
+
// consumes and returns one char from the input
|
|
499
|
+
input:function () {
|
|
500
|
+
var ch = this._input[0];
|
|
501
|
+
this.yytext += ch;
|
|
502
|
+
this.yyleng++;
|
|
503
|
+
this.offset++;
|
|
504
|
+
this.match += ch;
|
|
505
|
+
this.matched += ch;
|
|
506
|
+
var lines = ch.match(/(?:\r\n?|\n).*/g);
|
|
507
|
+
if (lines) {
|
|
508
|
+
this.yylineno++;
|
|
509
|
+
this.yylloc.last_line++;
|
|
510
|
+
} else {
|
|
511
|
+
this.yylloc.last_column++;
|
|
512
|
+
}
|
|
513
|
+
if (this.options.ranges) {
|
|
514
|
+
this.yylloc.range[1]++;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
this._input = this._input.slice(1);
|
|
518
|
+
return ch;
|
|
519
|
+
},
|
|
520
|
+
|
|
521
|
+
// unshifts one char (or a string) into the input
|
|
522
|
+
unput:function (ch) {
|
|
523
|
+
var len = ch.length;
|
|
524
|
+
var lines = ch.split(/(?:\r\n?|\n)/g);
|
|
525
|
+
|
|
526
|
+
this._input = ch + this._input;
|
|
527
|
+
this.yytext = this.yytext.substr(0, this.yytext.length - len);
|
|
528
|
+
//this.yyleng -= len;
|
|
529
|
+
this.offset -= len;
|
|
530
|
+
var oldLines = this.match.split(/(?:\r\n?|\n)/g);
|
|
531
|
+
this.match = this.match.substr(0, this.match.length - 1);
|
|
532
|
+
this.matched = this.matched.substr(0, this.matched.length - 1);
|
|
533
|
+
|
|
534
|
+
if (lines.length - 1) {
|
|
535
|
+
this.yylineno -= lines.length - 1;
|
|
536
|
+
}
|
|
537
|
+
var r = this.yylloc.range;
|
|
538
|
+
|
|
539
|
+
this.yylloc = {
|
|
540
|
+
first_line: this.yylloc.first_line,
|
|
541
|
+
last_line: this.yylineno + 1,
|
|
542
|
+
first_column: this.yylloc.first_column,
|
|
543
|
+
last_column: lines ?
|
|
544
|
+
(lines.length === oldLines.length ? this.yylloc.first_column : 0)
|
|
545
|
+
+ oldLines[oldLines.length - lines.length].length - lines[0].length :
|
|
546
|
+
this.yylloc.first_column - len
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
if (this.options.ranges) {
|
|
550
|
+
this.yylloc.range = [r[0], r[0] + this.yyleng - len];
|
|
551
|
+
}
|
|
552
|
+
this.yyleng = this.yytext.length;
|
|
553
|
+
return this;
|
|
554
|
+
},
|
|
555
|
+
|
|
556
|
+
// When called from action, caches matched text and appends it on next action
|
|
557
|
+
more:function () {
|
|
558
|
+
this._more = true;
|
|
559
|
+
return this;
|
|
560
|
+
},
|
|
561
|
+
|
|
562
|
+
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
563
|
+
reject:function () {
|
|
564
|
+
if (this.options.backtrack_lexer) {
|
|
565
|
+
this._backtrack = true;
|
|
566
|
+
} else {
|
|
567
|
+
return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n' + this.showPosition(), {
|
|
568
|
+
text: "",
|
|
569
|
+
token: null,
|
|
570
|
+
line: this.yylineno
|
|
571
|
+
});
|
|
572
|
+
|
|
573
|
+
}
|
|
574
|
+
return this;
|
|
575
|
+
},
|
|
576
|
+
|
|
577
|
+
// retain first n characters of the match
|
|
578
|
+
less:function (n) {
|
|
579
|
+
this.unput(this.match.slice(n));
|
|
580
|
+
},
|
|
581
|
+
|
|
582
|
+
// displays already matched input, i.e. for error messages
|
|
583
|
+
pastInput:function () {
|
|
584
|
+
var past = this.matched.substr(0, this.matched.length - this.match.length);
|
|
585
|
+
return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");
|
|
586
|
+
},
|
|
587
|
+
|
|
588
|
+
// displays upcoming input, i.e. for error messages
|
|
589
|
+
upcomingInput:function () {
|
|
590
|
+
var next = this.match;
|
|
591
|
+
if (next.length < 20) {
|
|
592
|
+
next += this._input.substr(0, 20-next.length);
|
|
593
|
+
}
|
|
594
|
+
return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\n/g, "");
|
|
595
|
+
},
|
|
596
|
+
|
|
597
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
598
|
+
showPosition:function () {
|
|
599
|
+
var pre = this.pastInput();
|
|
600
|
+
var c = new Array(pre.length + 1).join("-");
|
|
601
|
+
return pre + this.upcomingInput() + "\n" + c + "^";
|
|
602
|
+
},
|
|
603
|
+
|
|
604
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
605
|
+
test_match:function(match, indexed_rule) {
|
|
606
|
+
var token,
|
|
607
|
+
lines,
|
|
608
|
+
backup;
|
|
609
|
+
|
|
610
|
+
if (this.options.backtrack_lexer) {
|
|
611
|
+
// save context
|
|
612
|
+
backup = {
|
|
613
|
+
yylineno: this.yylineno,
|
|
614
|
+
yylloc: {
|
|
615
|
+
first_line: this.yylloc.first_line,
|
|
616
|
+
last_line: this.last_line,
|
|
617
|
+
first_column: this.yylloc.first_column,
|
|
618
|
+
last_column: this.yylloc.last_column
|
|
619
|
+
},
|
|
620
|
+
yytext: this.yytext,
|
|
621
|
+
match: this.match,
|
|
622
|
+
matches: this.matches,
|
|
623
|
+
matched: this.matched,
|
|
624
|
+
yyleng: this.yyleng,
|
|
625
|
+
offset: this.offset,
|
|
626
|
+
_more: this._more,
|
|
627
|
+
_input: this._input,
|
|
628
|
+
yy: this.yy,
|
|
629
|
+
conditionStack: this.conditionStack.slice(0),
|
|
630
|
+
done: this.done
|
|
631
|
+
};
|
|
632
|
+
if (this.options.ranges) {
|
|
633
|
+
backup.yylloc.range = this.yylloc.range.slice(0);
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
lines = match[0].match(/(?:\r\n?|\n).*/g);
|
|
638
|
+
if (lines) {
|
|
639
|
+
this.yylineno += lines.length;
|
|
640
|
+
}
|
|
641
|
+
this.yylloc = {
|
|
642
|
+
first_line: this.yylloc.last_line,
|
|
643
|
+
last_line: this.yylineno + 1,
|
|
644
|
+
first_column: this.yylloc.last_column,
|
|
645
|
+
last_column: lines ?
|
|
646
|
+
lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length :
|
|
647
|
+
this.yylloc.last_column + match[0].length
|
|
648
|
+
};
|
|
649
|
+
this.yytext += match[0];
|
|
650
|
+
this.match += match[0];
|
|
651
|
+
this.matches = match;
|
|
652
|
+
this.yyleng = this.yytext.length;
|
|
653
|
+
if (this.options.ranges) {
|
|
654
|
+
this.yylloc.range = [this.offset, this.offset += this.yyleng];
|
|
655
|
+
}
|
|
656
|
+
this._more = false;
|
|
657
|
+
this._backtrack = false;
|
|
658
|
+
this._input = this._input.slice(match[0].length);
|
|
659
|
+
this.matched += match[0];
|
|
660
|
+
token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
|
|
661
|
+
if (this.done && this._input) {
|
|
662
|
+
this.done = false;
|
|
663
|
+
}
|
|
664
|
+
if (token) {
|
|
665
|
+
return token;
|
|
666
|
+
} else if (this._backtrack) {
|
|
667
|
+
// recover context
|
|
668
|
+
for (var k in backup) {
|
|
669
|
+
this[k] = backup[k];
|
|
670
|
+
}
|
|
671
|
+
return false; // rule action called reject() implying the next rule should be tested instead.
|
|
672
|
+
}
|
|
673
|
+
return false;
|
|
674
|
+
},
|
|
675
|
+
|
|
676
|
+
// return next match in input
|
|
677
|
+
next:function () {
|
|
678
|
+
if (this.done) {
|
|
679
|
+
return this.EOF;
|
|
680
|
+
}
|
|
681
|
+
if (!this._input) {
|
|
682
|
+
this.done = true;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
var token,
|
|
686
|
+
match,
|
|
687
|
+
tempMatch,
|
|
688
|
+
index;
|
|
689
|
+
if (!this._more) {
|
|
690
|
+
this.yytext = '';
|
|
691
|
+
this.match = '';
|
|
692
|
+
}
|
|
693
|
+
var rules = this._currentRules();
|
|
694
|
+
for (var i = 0; i < rules.length; i++) {
|
|
695
|
+
tempMatch = this._input.match(this.rules[rules[i]]);
|
|
696
|
+
if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
|
|
697
|
+
match = tempMatch;
|
|
698
|
+
index = i;
|
|
699
|
+
if (this.options.backtrack_lexer) {
|
|
700
|
+
token = this.test_match(tempMatch, rules[i]);
|
|
701
|
+
if (token !== false) {
|
|
702
|
+
return token;
|
|
703
|
+
} else if (this._backtrack) {
|
|
704
|
+
match = false;
|
|
705
|
+
continue; // rule action called reject() implying a rule MISmatch.
|
|
706
|
+
} else {
|
|
707
|
+
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
|
|
708
|
+
return false;
|
|
709
|
+
}
|
|
710
|
+
} else if (!this.options.flex) {
|
|
711
|
+
break;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
if (match) {
|
|
716
|
+
token = this.test_match(match, rules[index]);
|
|
717
|
+
if (token !== false) {
|
|
718
|
+
return token;
|
|
719
|
+
}
|
|
720
|
+
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
|
|
721
|
+
return false;
|
|
722
|
+
}
|
|
723
|
+
if (this._input === "") {
|
|
724
|
+
return this.EOF;
|
|
725
|
+
} else {
|
|
726
|
+
return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\n' + this.showPosition(), {
|
|
727
|
+
text: "",
|
|
728
|
+
token: null,
|
|
729
|
+
line: this.yylineno
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
|
|
734
|
+
// return next match that has a token
|
|
735
|
+
lex:function lex () {
|
|
736
|
+
var r = this.next();
|
|
737
|
+
if (r) {
|
|
738
|
+
return r;
|
|
739
|
+
} else {
|
|
740
|
+
return this.lex();
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
|
|
744
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
745
|
+
begin:function begin (condition) {
|
|
746
|
+
this.conditionStack.push(condition);
|
|
747
|
+
},
|
|
748
|
+
|
|
749
|
+
// pop the previously active lexer condition state off the condition stack
|
|
750
|
+
popState:function popState () {
|
|
751
|
+
var n = this.conditionStack.length - 1;
|
|
752
|
+
if (n > 0) {
|
|
753
|
+
return this.conditionStack.pop();
|
|
754
|
+
} else {
|
|
755
|
+
return this.conditionStack[0];
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
|
|
759
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
760
|
+
_currentRules:function _currentRules () {
|
|
761
|
+
if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
|
|
762
|
+
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
|
|
763
|
+
} else {
|
|
764
|
+
return this.conditions["INITIAL"].rules;
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
|
|
768
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
769
|
+
topState:function topState (n) {
|
|
770
|
+
n = this.conditionStack.length - 1 - Math.abs(n || 0);
|
|
771
|
+
if (n >= 0) {
|
|
772
|
+
return this.conditionStack[n];
|
|
773
|
+
} else {
|
|
774
|
+
return "INITIAL";
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
|
|
778
|
+
// alias for begin(condition)
|
|
779
|
+
pushState:function pushState (condition) {
|
|
780
|
+
this.begin(condition);
|
|
781
|
+
},
|
|
782
|
+
|
|
783
|
+
// return the number of states currently on the stack
|
|
784
|
+
stateStackSize:function stateStackSize() {
|
|
785
|
+
return this.conditionStack.length;
|
|
786
|
+
},
|
|
787
|
+
options: {"case-insensitive":true},
|
|
788
|
+
performAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
|
|
789
|
+
var YYSTATE=YY_START;
|
|
790
|
+
switch($avoiding_name_collisions) {
|
|
791
|
+
case 0: this.begin('INITIAL'); return 46;
|
|
792
|
+
break;
|
|
793
|
+
case 1: this.begin('INITIAL'); return 52;
|
|
794
|
+
break;
|
|
795
|
+
case 2:return 54;
|
|
796
|
+
break;
|
|
797
|
+
case 3:return 53;
|
|
798
|
+
break;
|
|
799
|
+
case 4:return 'INVALID';
|
|
800
|
+
break;
|
|
801
|
+
case 5:return 40
|
|
802
|
+
break;
|
|
803
|
+
case 6:return 44
|
|
804
|
+
break;
|
|
805
|
+
case 7:return 8
|
|
806
|
+
break;
|
|
807
|
+
case 8:return 42
|
|
808
|
+
break;
|
|
809
|
+
case 9:return 41
|
|
810
|
+
break;
|
|
811
|
+
case 10:return 43
|
|
812
|
+
break;
|
|
813
|
+
case 11:return 43
|
|
814
|
+
break;
|
|
815
|
+
case 12:/* skip whitespace */
|
|
816
|
+
break;
|
|
817
|
+
case 13:return 37
|
|
818
|
+
break;
|
|
819
|
+
case 14:return 35
|
|
820
|
+
break;
|
|
821
|
+
case 15:return 27
|
|
822
|
+
break;
|
|
823
|
+
case 16:return 33
|
|
824
|
+
break;
|
|
825
|
+
case 17:return 34
|
|
826
|
+
break;
|
|
827
|
+
case 18:return 10
|
|
828
|
+
break;
|
|
829
|
+
case 19:return 11
|
|
830
|
+
break;
|
|
831
|
+
case 20:return 13
|
|
832
|
+
break;
|
|
833
|
+
case 21:return 12
|
|
834
|
+
break;
|
|
835
|
+
case 22:return 17
|
|
836
|
+
break;
|
|
837
|
+
case 23:return 19
|
|
838
|
+
break;
|
|
839
|
+
case 24:return 21
|
|
840
|
+
break;
|
|
841
|
+
case 25:return 18
|
|
842
|
+
break;
|
|
843
|
+
case 26:return 14
|
|
844
|
+
break;
|
|
845
|
+
case 27:return 21
|
|
846
|
+
break;
|
|
847
|
+
case 28:return 24
|
|
848
|
+
break;
|
|
849
|
+
case 29:return 25
|
|
850
|
+
break;
|
|
851
|
+
case 30:return 22
|
|
852
|
+
break;
|
|
853
|
+
case 31:return 23
|
|
854
|
+
break;
|
|
855
|
+
case 32:return 29
|
|
856
|
+
break;
|
|
857
|
+
case 33:return 28
|
|
858
|
+
break;
|
|
859
|
+
case 34:return 30
|
|
860
|
+
break;
|
|
861
|
+
case 35:return 20
|
|
862
|
+
break;
|
|
863
|
+
case 36:return 20
|
|
864
|
+
break;
|
|
865
|
+
case 37:return 26
|
|
866
|
+
break;
|
|
867
|
+
case 38:return 28
|
|
868
|
+
break;
|
|
869
|
+
case 39:return 29
|
|
870
|
+
break;
|
|
871
|
+
case 40:return 16
|
|
872
|
+
break;
|
|
873
|
+
case 41:return 15
|
|
874
|
+
break;
|
|
875
|
+
case 42: this.begin('fieldname'); return 55;
|
|
876
|
+
break;
|
|
877
|
+
case 43:return 47;
|
|
878
|
+
break;
|
|
879
|
+
case 44:return 31
|
|
880
|
+
break;
|
|
881
|
+
case 45:return 32
|
|
882
|
+
break;
|
|
883
|
+
case 46:return 48
|
|
884
|
+
break;
|
|
885
|
+
case 47:return 38
|
|
886
|
+
break;
|
|
887
|
+
case 48:return 56
|
|
888
|
+
break;
|
|
889
|
+
case 49:return 39
|
|
890
|
+
break;
|
|
891
|
+
case 50:return 'INVALID'
|
|
892
|
+
break;
|
|
893
|
+
case 51:return 5
|
|
894
|
+
break;
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
rules: [/^(?:\]\s*\[)/i,/^(?:\])/i,/^(?:\\.)/i,/^(?:.)/i,/^(?:$)/i,/^(?:'(?:[^\']|(?:('')))*')/i,/^(?:\{[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}\})/i,/^(?:##\w+#(?:[^\#]|(?:\.))*#)/i,/^(?:#(?:[^\\\#]|(?:\\.))*#)/i,/^(?:[0-9]+(\.[0-9]+([mfMF]{1})?|[bsiluBSILU]{1})?|\.([0-9]+[mfMF]?))/i,/^(?:True\b)/i,/^(?:False\b)/i,/^(?:\s+)/i,/^(?:Between\b)/i,/^(?:In\b)/i,/^(?:Not\b)/i,/^(?:Is\b)/i,/^(?:Null\b)/i,/^(?:\*)/i,/^(?:\/)/i,/^(?:-)/i,/^(?:\+)/i,/^(?:\^)/i,/^(?:~)/i,/^(?:!=)/i,/^(?:!)/i,/^(?:%)/i,/^(?:<>)/i,/^(?:>=)/i,/^(?:<=)/i,/^(?:>)/i,/^(?:<)/i,/^(?:\|\|)/i,/^(?:&&)/i,/^(?:\?\?)/i,/^(?:==)/i,/^(?:=)/i,/^(?:Like\b)/i,/^(?:And\b)/i,/^(?:Or\b)/i,/^(?:&)/i,/^(?:\|)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\()/i,/^(?:\))/i,/^(?:\.)/i,/^(?:,)/i,/^(?:\?)/i,/^(?:[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*)/i,/^(?:.)/i,/^(?:$)/i],
|
|
898
|
+
conditions: {"fieldname":{"rules":[0,1,2,3,4],"inclusive":false},"INITIAL":{"rules":[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"inclusive":true}}
|
|
899
|
+
});
|
|
900
|
+
return lexer;
|
|
901
|
+
})();
|
|
902
|
+
parser.lexer = lexer;
|
|
903
|
+
function Parser () {
|
|
904
|
+
this.yy = {};
|
|
905
|
+
}
|
|
906
|
+
Parser.prototype = parser;parser.Parser = Parser;
|
|
907
|
+
return new Parser;
|
|
908
|
+
})();
|
|
909
|
+
export const criteriaparser = _criteriaparser;
|
|
910
|
+
export function parse(test) { return _criteriaparser.parse(test) };
|