@devexpress/analytics-core 22.1.6 → 22.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 +7 -7
- package/accessibility/_accordionKeyboardHelper.js +38 -61
- package/accessibility/_controlElementBase.d.ts +7 -7
- package/accessibility/_controlElementBase.js +28 -51
- package/accessibility/_controlElementWithParentHighlight.d.ts +7 -7
- package/accessibility/_controlElementWithParentHighlight.js +24 -48
- package/accessibility/_internal.d.ts +7 -7
- package/accessibility/_internal.js +11 -15
- package/accessibility/_keyboardHelperBase.d.ts +7 -7
- package/accessibility/_keyboardHelperBase.js +144 -173
- package/accessibility/_keyboardHelperWithArrowButtonBase.d.ts +7 -7
- package/accessibility/_keyboardHelperWithArrowButtonBase.js +21 -44
- package/accessibility/_listKeyboardHelper.d.ts +7 -7
- package/accessibility/_listKeyboardHelper.js +21 -43
- package/accessibility/_rightPanelKeyboardHelper.d.ts +7 -7
- package/accessibility/_rightPanelKeyboardHelper.js +32 -55
- package/accessibility/_toolbarKeyboardHelper.d.ts +7 -7
- package/accessibility/_toolbarKeyboardHelper.js +57 -86
- package/accessibility/_treeListKeyboardHelper.d.ts +7 -7
- package/accessibility/_treeListKeyboardHelper.js +39 -61
- package/analytics-criteria-utils.d.ts +7 -7
- package/analytics-criteria-utils.js +23 -35
- package/analytics-criteria.d.ts +7 -7
- package/analytics-criteria.js +59 -71
- package/analytics-data-internal.d.ts +7 -7
- package/analytics-data-internal.js +17 -29
- package/analytics-data-metadata.d.ts +7 -7
- package/analytics-data-metadata.js +19 -31
- package/analytics-data-utils.d.ts +7 -7
- package/analytics-data-utils.js +9 -21
- package/analytics-data.d.ts +7 -7
- package/analytics-data.js +77 -89
- package/analytics-diagram.d.ts +7 -7
- package/analytics-diagram.js +53 -65
- package/analytics-elements-metadata.d.ts +7 -7
- package/analytics-elements-metadata.js +9 -21
- package/analytics-elements.d.ts +7 -7
- package/analytics-elements.js +23 -35
- package/analytics-internal.d.ts +81 -79
- package/analytics-internal.js +173 -183
- package/analytics-localization.d.ts +7 -7
- package/analytics-localization.js +9 -21
- package/analytics-tools.d.ts +7 -7
- package/analytics-tools.js +9 -21
- package/analytics-utils.d.ts +33 -29
- package/analytics-utils.js +41 -49
- package/analytics-version.d.ts +7 -7
- package/analytics-version.js +8 -11
- package/analytics-widgets-ace.d.ts +7 -7
- package/analytics-widgets-ace.js +13 -25
- package/analytics-widgets-filtering.d.ts +7 -7
- package/analytics-widgets-filtering.js +31 -43
- package/analytics-widgets-internal.d.ts +59 -58
- package/analytics-widgets-internal.js +93 -104
- package/analytics-widgets-metadata.d.ts +7 -7
- package/analytics-widgets-metadata.js +9 -21
- package/analytics-widgets-treeList.d.ts +7 -7
- package/analytics-widgets-treeList.js +9 -21
- package/analytics-widgets.d.ts +7 -7
- package/analytics-widgets.js +49 -61
- package/analytics-wizard-internal.d.ts +7 -7
- package/analytics-wizard-internal.js +69 -81
- package/analytics-wizard.d.ts +11 -7
- package/analytics-wizard.js +103 -111
- package/bundle/_add-analytics-to-bundle.d.ts +7 -7
- package/bundle/_add-analytics-to-bundle.js +24 -28
- package/bundle/_add-devextreme-to-bundle.d.ts +7 -7
- package/bundle/_add-devextreme-to-bundle.js +19 -23
- package/bundle/_add-querybuilder-to-bundle.d.ts +7 -7
- package/bundle/_add-querybuilder-to-bundle.js +23 -27
- package/bundle/_add-to-context.d.ts +7 -7
- package/bundle/_add-to-context.js +10 -25
- package/bundle/_validator.d.ts +7 -7
- package/bundle/_validator.js +11 -16
- package/bundle/analytic-core-bundle.d.ts +8 -8
- package/bundle/analytic-core-bundle.js +14 -15
- package/bundle/query-builder-bundle.d.ts +9 -9
- package/bundle/query-builder-bundle.js +12 -13
- package/core/_actionProvider.d.ts +7 -7
- package/core/_actionProvider.js +17 -24
- package/core/_bindings.d.ts +7 -9
- package/core/_bindings.js +78 -88
- package/core/_legacy.d.ts +7 -7
- package/core/_legacy.js +8 -9
- package/core/_metadata.d.ts +7 -7
- package/core/_metadata.js +14 -17
- package/core/binding/_jsDesignerBindingCommon.d.ts +20 -9
- package/core/binding/_jsDesignerBindingCommon.js +79 -67
- package/core/binding/_jsDesignerBindingCommonOptions.d.ts +7 -7
- package/core/binding/_jsDesignerBindingCommonOptions.js +8 -9
- package/core/binding/_requestHelper.d.ts +7 -7
- package/core/binding/_requestHelper.js +11 -18
- package/core/dragDrop/_dragDropHandler.d.ts +7 -9
- package/core/dragDrop/_dragDropHandler.js +49 -73
- package/core/dragDrop/_dragHelperContent.d.ts +7 -7
- package/core/dragDrop/_dragHelperContent.js +37 -69
- package/core/dragDrop/_selectionDragDropHandler.d.ts +7 -9
- package/core/dragDrop/_selectionDragDropHandler.js +51 -75
- package/core/dragDrop/_toolboxDragDropHandler.d.ts +7 -7
- package/core/dragDrop/_toolboxDragDropHandler.js +28 -50
- package/core/dragDrop/_wizardDragDropHandler.d.ts +8 -9
- package/core/dragDrop/_wizardDragDropHandler.js +31 -53
- package/core/elements/baseSurface.d.ts +7 -7
- package/core/elements/baseSurface.js +119 -149
- package/core/elements/elementViewModel.d.ts +7 -7
- package/core/elements/elementViewModel.js +87 -113
- package/core/elements/margins.d.ts +7 -7
- package/core/elements/margins.js +25 -31
- package/core/elements/paddingModel.d.ts +7 -7
- package/core/elements/paddingModel.js +52 -83
- package/core/elements/paddingModelMetaData.d.ts +7 -7
- package/core/elements/paddingModelMetaData.js +12 -15
- package/core/elements/point.d.ts +7 -7
- package/core/elements/point.js +20 -26
- package/core/elements/rectangle.d.ts +7 -7
- package/core/elements/rectangle.js +11 -20
- package/core/elements/serializableModel.d.ts +7 -7
- package/core/elements/serializableModel.js +20 -42
- package/core/elements/size.d.ts +7 -7
- package/core/elements/size.js +21 -27
- package/core/internal/_ajaxSetup.d.ts +7 -7
- package/core/internal/_ajaxSetup.js +15 -20
- package/core/internal/_controlsHelper.d.ts +7 -7
- package/core/internal/_controlsHelper.js +79 -103
- package/core/internal/_cssCalculator.d.ts +7 -7
- package/core/internal/_cssCalculator.js +85 -95
- package/core/internal/_editorTypeMapper.d.ts +7 -7
- package/core/internal/_editorTypeMapper.js +31 -36
- package/core/internal/_getNameHelpers.d.ts +8 -8
- package/core/internal/_getNameHelpers.js +20 -31
- package/core/internal/_globalize.d.ts +7 -7
- package/core/internal/_globalize.js +11 -15
- package/core/internal/_hoverInfo.d.ts +7 -7
- package/core/internal/_hoverInfo.js +22 -35
- package/core/internal/_inlineTextEdit.d.ts +7 -7
- package/core/internal/_inlineTextEdit.js +40 -63
- package/core/internal/_objectStructureControllers.d.ts +7 -7
- package/core/internal/_objectStructureControllers.js +25 -47
- package/core/internal/_objectStructureProviders.d.ts +7 -7
- package/core/internal/_objectStructureProviders.js +65 -95
- package/core/internal/_papperKindMapper.d.ts +7 -7
- package/core/internal/_papperKindMapper.js +8 -11
- package/core/internal/_processError.d.ts +7 -7
- package/core/internal/_processError.js +21 -26
- package/core/internal/_resizable.d.ts +44 -19
- package/core/internal/_resizable.js +174 -172
- package/core/internal/_resizableBinding.d.ts +17 -0
- package/core/internal/_resizableBinding.js +212 -0
- package/core/internal/_scrollProcessor.d.ts +7 -7
- package/core/internal/_scrollProcessor.js +34 -58
- package/core/internal/_stores.d.ts +8 -7
- package/core/internal/_stores.js +46 -75
- package/core/internal/_surfaceHelpers.d.ts +7 -7
- package/core/internal/_surfaceHelpers.js +16 -26
- package/core/internal/_utils.d.ts +9 -7
- package/core/internal/_utils.js +16 -20
- package/core/internal/_validation.d.ts +7 -7
- package/core/internal/_validation.js +15 -20
- package/core/internal/ajaxSetup.d.ts +7 -7
- package/core/internal/ajaxSetup.js +9 -12
- package/core/internal/dx-versions.d.ts +7 -7
- package/core/internal/dx-versions.js +12 -15
- package/core/internal/selectable.d.ts +48 -0
- package/core/internal/selectable.js +160 -0
- package/core/selection/_combinedObj.d.ts +7 -7
- package/core/selection/_combinedObj.js +61 -70
- package/core/selection/_selection.d.ts +7 -7
- package/core/selection/_selection.js +68 -96
- package/core/selection/_selectionHelpers.d.ts +7 -7
- package/core/selection/_selectionHelpers.js +11 -15
- package/core/snapLines/_snapLineSurface.d.ts +7 -7
- package/core/snapLines/_snapLineSurface.js +18 -23
- package/core/snapLines/_snapLinesCollector.d.ts +7 -7
- package/core/snapLines/_snapLinesCollector.js +29 -35
- package/core/snapLines/_snapLinesHelper.d.ts +7 -7
- package/core/snapLines/_snapLinesHelper.js +28 -37
- package/core/tools/_actionList.d.ts +7 -7
- package/core/tools/_actionList.js +87 -115
- package/core/tools/_copyPaste.d.ts +7 -7
- package/core/tools/_copyPaste.js +43 -52
- package/core/tools/_keyboardHelper.d.ts +7 -7
- package/core/tools/_keyboardHelper.js +55 -91
- package/core/tools/_tabInfoWithPropertyGrid.d.ts +7 -7
- package/core/tools/_tabInfoWithPropertyGrid.js +20 -42
- package/core/tools/actionId.d.ts +7 -7
- package/core/tools/actionId.js +8 -11
- package/core/tools/tabPanel.d.ts +7 -7
- package/core/tools/tabPanel.js +117 -145
- package/core/tools/toolbox.d.ts +7 -7
- package/core/tools/toolbox.js +29 -54
- package/core/utils/_arrayutils.d.ts +7 -7
- package/core/utils/_arrayutils.js +27 -37
- package/core/utils/_debug.d.ts +7 -7
- package/core/utils/_debug.js +10 -14
- package/core/utils/_designerCreator.d.ts +7 -7
- package/core/utils/_designerCreator.js +274 -392
- package/core/utils/_designerInitializer.d.ts +7 -7
- package/core/utils/_designerInitializer.js +63 -80
- package/core/utils/_fieldListProvider.d.ts +7 -7
- package/core/utils/_fieldListProvider.js +32 -39
- package/core/utils/_infoMessageHelpers.d.ts +7 -7
- package/core/utils/_infoMessageHelpers.js +26 -39
- package/core/utils/_units.d.ts +7 -7
- package/core/utils/_units.js +16 -27
- package/core/utils/_utils.d.ts +15 -10
- package/core/utils/_utils.js +96 -133
- package/core/utils/_visitors.d.ts +7 -7
- package/core/utils/_visitors.js +12 -21
- package/core/utils/controlsFactory.d.ts +7 -7
- package/core/utils/controlsFactory.js +38 -43
- package/core/utils/parsers.d.ts +7 -7
- package/core/utils/parsers.js +19 -31
- package/core/widgets/_buttonInlineEditor.d.ts +10 -11
- package/core/widgets/_buttonInlineEditor.js +26 -51
- package/core/widgets/_dataMemberEditor.d.ts +7 -7
- package/core/widgets/_dataMemberEditor.js +22 -27
- package/core/widgets/_fieldlistpicker.d.ts +10 -11
- package/core/widgets/_fieldlistpicker.js +80 -109
- package/core/widgets/_popupEditorBase.d.ts +7 -7
- package/core/widgets/_popupEditorBase.js +33 -63
- package/core/widgets/_requiredNullableEditor.d.ts +7 -7
- package/core/widgets/_requiredNullableEditor.js +24 -51
- package/core/widgets/bordereditor/_binding.d.ts +7 -7
- package/core/widgets/bordereditor/_binding.js +16 -18
- package/core/widgets/bordereditor/_bordereditor.d.ts +7 -7
- package/core/widgets/bordereditor/_bordereditor.js +34 -56
- package/core/widgets/colorPickerEditor.d.ts +7 -7
- package/core/widgets/colorPickerEditor.js +18 -40
- package/core/widgets/dataMemberEditor.d.ts +7 -7
- package/core/widgets/dataMemberEditor.js +15 -37
- package/core/widgets/fieldListEditor.d.ts +7 -7
- package/core/widgets/fieldListEditor.js +19 -41
- package/core/widgets/propertygrid/_controlProperties.d.ts +7 -7
- package/core/widgets/propertygrid/_controlProperties.js +80 -105
- package/core/widgets/propertygrid/_group.d.ts +7 -7
- package/core/widgets/propertygrid/_group.js +45 -69
- package/core/widgets/registerDesignerEditors.d.ts +7 -7
- package/core/widgets/registerDesignerEditors.js +33 -37
- package/core/widgets/textAlignmentEditor/_binding.d.ts +7 -7
- package/core/widgets/textAlignmentEditor/_binding.js +16 -18
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.d.ts +7 -7
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.js +38 -60
- package/diagram/_legacy.d.ts +7 -7
- package/diagram/_legacy.js +8 -9
- package/diagram/bindings.d.ts +7 -9
- package/diagram/bindings.js +20 -24
- package/diagram/controlRegistrator.d.ts +7 -7
- package/diagram/controlRegistrator.js +64 -68
- package/diagram/controlsFactory.d.ts +7 -7
- package/diagram/controlsFactory.js +9 -12
- package/diagram/dragDrop/connectingPointDragHandler.d.ts +7 -7
- package/diagram/dragDrop/connectingPointDragHandler.js +33 -59
- package/diagram/dragDrop/connectionPointDragHandler.d.ts +7 -7
- package/diagram/dragDrop/connectionPointDragHandler.js +28 -50
- package/diagram/elements/connectingPointModel.d.ts +7 -7
- package/diagram/elements/connectingPointModel.js +37 -59
- package/diagram/elements/connectingPointSurface.d.ts +7 -7
- package/diagram/elements/connectingPointSurface.js +24 -46
- package/diagram/elements/connectors/connectionPointModel.d.ts +7 -7
- package/diagram/elements/connectors/connectionPointModel.js +28 -50
- package/diagram/elements/connectors/connectionPointSurface.d.ts +7 -7
- package/diagram/elements/connectors/connectionPointSurface.js +29 -51
- package/diagram/elements/connectors/connectorModel.d.ts +7 -7
- package/diagram/elements/connectors/connectorModel.js +58 -80
- package/diagram/elements/connectors/connectorSurface.d.ts +7 -7
- package/diagram/elements/connectors/connectorSurface.js +20 -42
- package/diagram/elements/connectors/routedConnectorModel.d.ts +7 -7
- package/diagram/elements/connectors/routedConnectorModel.js +122 -144
- package/diagram/elements/connectors/routedConnectorSurface.d.ts +7 -7
- package/diagram/elements/connectors/routedConnectorSurface.js +51 -77
- package/diagram/elements/diagramElementBaseSurface.d.ts +7 -7
- package/diagram/elements/diagramElementBaseSurface.js +36 -58
- package/diagram/elements/diagramElementBaseViewModel.d.ts +7 -7
- package/diagram/elements/diagramElementBaseViewModel.js +18 -39
- package/diagram/elements/diagramElementSurface.d.ts +7 -7
- package/diagram/elements/diagramElementSurface.js +14 -36
- package/diagram/elements/diagramElementViewModel.d.ts +7 -7
- package/diagram/elements/diagramElementViewModel.js +18 -40
- package/diagram/elements/diagramModel.d.ts +7 -7
- package/diagram/elements/diagramModel.js +29 -52
- package/diagram/elements/diagramSurface.d.ts +7 -7
- package/diagram/elements/diagramSurface.js +47 -74
- package/diagram/initializer.d.ts +7 -7
- package/diagram/initializer.js +36 -40
- package/diagram/metadata.d.ts +7 -7
- package/diagram/metadata.js +17 -20
- package/diagram/utils.d.ts +7 -7
- package/diagram/utils.js +13 -17
- package/dist/css/dx-analytics.carmine.compact.css +7 -7
- package/dist/css/dx-analytics.carmine.css +7 -7
- package/dist/css/dx-analytics.common.css +23 -28
- package/dist/css/dx-analytics.contrast.compact.css +7 -7
- package/dist/css/dx-analytics.contrast.css +7 -7
- package/dist/css/dx-analytics.dark.compact.css +7 -7
- package/dist/css/dx-analytics.dark.css +7 -7
- package/dist/css/dx-analytics.darkmoon.compact.css +7 -7
- package/dist/css/dx-analytics.darkmoon.css +7 -7
- package/dist/css/dx-analytics.darkviolet.compact.css +7 -7
- package/dist/css/dx-analytics.darkviolet.css +7 -7
- package/dist/css/dx-analytics.greenmist.compact.css +7 -7
- package/dist/css/dx-analytics.greenmist.css +7 -7
- package/dist/css/dx-analytics.light.compact.css +7 -7
- package/dist/css/dx-analytics.light.css +7 -7
- package/dist/css/dx-analytics.material.blue.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.blue.dark.css +38 -34
- package/dist/css/dx-analytics.material.blue.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.blue.light.css +38 -34
- package/dist/css/dx-analytics.material.lime.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.lime.dark.css +38 -34
- package/dist/css/dx-analytics.material.lime.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.lime.light.css +38 -34
- package/dist/css/dx-analytics.material.orange.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.orange.dark.css +38 -34
- package/dist/css/dx-analytics.material.orange.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.orange.light.css +38 -34
- package/dist/css/dx-analytics.material.purple.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.purple.dark.css +38 -34
- package/dist/css/dx-analytics.material.purple.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.purple.light.css +38 -34
- package/dist/css/dx-analytics.material.teal.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.teal.dark.css +38 -34
- package/dist/css/dx-analytics.material.teal.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.teal.light.css +38 -34
- package/dist/css/dx-analytics.softblue.compact.css +7 -7
- package/dist/css/dx-analytics.softblue.css +7 -7
- package/dist/css/dx-querybuilder.css +70 -7
- package/dist/js/dx-analytics-core.d.ts +2006 -1856
- package/dist/js/dx-analytics-core.js +17525 -20475
- package/dist/js/dx-analytics-core.min.js +8 -8
- package/dist/js/dx-querybuilder.js +14039 -18110
- package/dist/js/dx-querybuilder.min.js +8 -8
- package/dx-analytics-core-bindings.d.ts +8 -0
- package/dx-analytics-core-bindings.js +461 -0
- package/dx-analytics-core-imports.d.ts +25 -25
- package/dx-analytics-core-imports.js +39 -41
- package/dx-analytics-core-svg-bindings.d.ts +8 -0
- package/dx-analytics-core-svg-bindings.js +118 -0
- package/dx-analytics-core-svg-templates.d.ts +7 -7
- package/dx-analytics-core-svg-templates.js +18 -17
- package/dx-analytics-core-templates.d.ts +7 -7
- package/dx-analytics-core-templates.js +20 -21
- package/dx-analytics-core.d.ts +7 -7
- package/dx-analytics-core.js +27 -29
- package/dx-query-builder-bindings.d.ts +8 -0
- package/dx-query-builder-bindings.js +368 -0
- package/dx-query-builder-templates.d.ts +7 -7
- package/dx-query-builder-templates.js +14 -15
- package/dx-querybuilder-imports.d.ts +9 -8
- package/dx-querybuilder-imports.js +12 -13
- package/dx-querybuilder.d.ts +7 -7
- package/dx-querybuilder.js +20 -22
- package/index.d.ts +7 -7
- package/index.js +9 -11
- package/less/colors/carmine-colors.less +35 -35
- package/less/colors/contrast-colors.less +35 -35
- package/less/colors/dark-colors.less +34 -34
- package/less/colors/darkmoon-colors.less +34 -34
- package/less/colors/darkviolet-colors.less +34 -34
- package/less/colors/greenmist-colors.less +34 -34
- package/less/colors/light-colors.less +34 -34
- package/less/colors/material.dark-colors.less +8 -8
- package/less/colors/material.light-colors.less +5 -5
- package/less/colors/softblue-colors.less +34 -34
- package/less/common.less +102 -102
- package/less/dx-carmine-style.less +2 -2
- package/less/dx-contrast-style.less +95 -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 -3
- package/less/dx-material.blue.light-style.less +4 -3
- package/less/dx-material.dark.fix-varialbles.less +22 -22
- package/less/dx-material.fix-style.less +1109 -1099
- package/less/dx-material.light.fix-varialbles.less +4 -4
- package/less/dx-material.lime.dark-style.less +5 -4
- package/less/dx-material.lime.light-style.less +5 -4
- package/less/dx-material.orange.dark-style.less +5 -4
- package/less/dx-material.orange.light-style.less +5 -4
- package/less/dx-material.purple.dark-style.less +5 -4
- package/less/dx-material.purple.light-style.less +5 -4
- package/less/dx-material.teal.dark-style.less +5 -4
- package/less/dx-material.teal.light-style.less +5 -4
- package/less/dx-softblue-style.less +2 -2
- package/less/dx-variable-style.less +408 -408
- package/package.json +2 -2
- package/property-grid/_legacy.d.ts +7 -7
- package/property-grid/_legacy.js +8 -9
- package/property-grid/_propertiesAccessibilityProvider.d.ts +7 -7
- package/property-grid/_propertiesAccessibilityProvider.js +17 -24
- package/property-grid/bindings.d.ts +7 -7
- package/property-grid/bindings.js +50 -52
- package/property-grid/internal/_addon.d.ts +7 -7
- package/property-grid/internal/_addon.js +46 -74
- package/property-grid/internal/_codeResolver.d.ts +7 -7
- package/property-grid/internal/_codeResolver.js +33 -41
- package/property-grid/internal/_popupService.d.ts +7 -7
- package/property-grid/internal/_popupService.js +11 -16
- package/property-grid/localization/_localization.d.ts +7 -7
- package/property-grid/localization/_localization.js +34 -56
- package/property-grid/localization/_localizationStringIds.d.ts +7 -7
- package/property-grid/localization/_localizationStringIds.js +8 -11
- package/property-grid/localization/localization.d.ts +7 -7
- package/property-grid/localization/localization.js +9 -13
- package/property-grid/localization/localization_utils.d.ts +8 -8
- package/property-grid/localization/localization_utils.js +18 -25
- package/property-grid/propertygrid.d.ts +7 -7
- package/property-grid/propertygrid.js +117 -155
- package/property-grid/widgets/bindingsCacheUtils.d.ts +9 -0
- package/property-grid/widgets/bindingsCacheUtils.js +14 -0
- package/property-grid/widgets/collectioneditor/_bindings.d.ts +7 -7
- package/property-grid/widgets/collectioneditor/_bindings.js +18 -20
- package/property-grid/widgets/collectioneditor/_editor.d.ts +7 -7
- package/property-grid/widgets/collectioneditor/_editor.js +94 -123
- package/property-grid/widgets/editor.d.ts +7 -7
- package/property-grid/widgets/editor.js +121 -156
- package/property-grid/widgets/editorValidator.d.ts +7 -7
- package/property-grid/widgets/editorValidator.js +67 -101
- package/property-grid/widgets/editorsInfo.d.ts +7 -7
- package/property-grid/widgets/editorsInfo.js +22 -28
- package/property-grid/widgets/ellipsiseditor/_editor.d.ts +16 -11
- package/property-grid/widgets/ellipsiseditor/_editor.js +53 -79
- package/property-grid/widgets/fileimageeditor/_editor.d.ts +8 -8
- package/property-grid/widgets/fileimageeditor/_editor.js +40 -64
- package/property-grid/widgets/fonteditor/_fonts.d.ts +7 -7
- package/property-grid/widgets/fonteditor/_fonts.js +9 -12
- package/property-grid/widgets/fonteditor/_model.d.ts +7 -13
- package/property-grid/widgets/fonteditor/_model.js +39 -77
- package/property-grid/widgets/fonteditor/editor.d.ts +7 -7
- package/property-grid/widgets/fonteditor/editor.js +19 -40
- package/property-grid/widgets/fonteditor/metadata.d.ts +7 -8
- package/property-grid/widgets/fonteditor/metadata.js +17 -26
- package/property-grid/widgets/guideditor.d.ts +7 -7
- package/property-grid/widgets/guideditor.js +13 -37
- package/property-grid/widgets/internal/_bindingsCache.d.ts +9 -0
- package/property-grid/widgets/internal/_bindingsCache.js +61 -0
- package/property-grid/widgets/internal/_extendedSvgTemplates.d.ts +7 -7
- package/property-grid/widgets/internal/_extendedSvgTemplates.js +11 -15
- package/property-grid/widgets/internal/_internal.d.ts +7 -7
- package/property-grid/widgets/internal/_internal.js +19 -24
- package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +7 -7
- package/property-grid/widgets/internal/_svgTemplateEngine.js +35 -51
- package/property-grid/widgets/internal/_utils.d.ts +11 -11
- package/property-grid/widgets/internal/_utils.js +33 -52
- package/property-grid/widgets/registerBaseEdtior.d.ts +7 -7
- package/property-grid/widgets/registerBaseEdtior.js +15 -19
- package/property-grid/widgets/templateUtils.d.ts +7 -7
- package/property-grid/widgets/templateUtils.js +12 -17
- package/query-builder/_accordionTabInfo.d.ts +7 -7
- package/query-builder/_accordionTabInfo.js +53 -80
- package/query-builder/_bindings.d.ts +7 -9
- package/query-builder/_bindings.js +42 -38
- package/query-builder/_initializer.d.ts +10 -10
- package/query-builder/_initializer.js +151 -160
- package/query-builder/_legacy.d.ts +7 -7
- package/query-builder/_legacy.js +8 -9
- package/query-builder/_queryBuilderModel.d.ts +7 -7
- package/query-builder/_queryBuilderModel.js +8 -9
- package/query-builder/binding/eventGenerator.d.ts +11 -9
- package/query-builder/binding/eventGenerator.js +42 -44
- package/query-builder/binding/jsQueryBuilder.d.ts +7 -7
- package/query-builder/binding/jsQueryBuilder.js +42 -51
- package/query-builder/binding/jsQueryBuilderBinding.d.ts +12 -10
- package/query-builder/binding/jsQueryBuilderBinding.js +70 -86
- package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +7 -7
- package/query-builder/binding/jsQueryBuilderBindingOptions.js +8 -9
- package/query-builder/dataSource/_dbSchema.d.ts +7 -7
- package/query-builder/dataSource/_dbSchema.js +9 -13
- package/query-builder/dataSource/_dbSchemaProvider.d.ts +7 -7
- package/query-builder/dataSource/_dbSchemaProvider.js +22 -27
- package/query-builder/dataSource/_utils.d.ts +7 -7
- package/query-builder/dataSource/_utils.js +12 -17
- package/query-builder/dataSource/dataSourceParameter.d.ts +7 -7
- package/query-builder/dataSource/dataSourceParameter.js +118 -153
- package/query-builder/dataSource/dataSourceParameterMeta.d.ts +7 -7
- package/query-builder/dataSource/dataSourceParameterMeta.js +29 -34
- package/query-builder/dataSource/dbColumn.d.ts +7 -7
- package/query-builder/dataSource/dbColumn.js +16 -21
- package/query-builder/dataSource/dbForeignKey.d.ts +7 -7
- package/query-builder/dataSource/dbForeignKey.js +10 -15
- package/query-builder/dataSource/dbSchema.d.ts +7 -7
- package/query-builder/dataSource/dbSchema.js +18 -23
- package/query-builder/dataSource/dbSchemaProvider.d.ts +7 -7
- package/query-builder/dataSource/dbSchemaProvider.js +60 -84
- package/query-builder/dataSource/dbStoredProcedure.d.ts +7 -7
- package/query-builder/dataSource/dbStoredProcedure.js +17 -24
- package/query-builder/dataSource/dbTable.d.ts +7 -7
- package/query-builder/dataSource/dbTable.js +15 -20
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.d.ts +7 -7
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.js +28 -50
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.js +40 -66
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.js +27 -49
- package/query-builder/dataSource/federation/federatedQueries/subNode.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/subNode.js +48 -53
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.js +39 -67
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.js +28 -50
- package/query-builder/dataSource/federation/federatedQueriesContainer.d.ts +10 -9
- package/query-builder/dataSource/federation/federatedQueriesContainer.js +70 -89
- package/query-builder/dataSource/federation/federatedQueryExpression.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueryExpression.js +23 -28
- package/query-builder/dataSource/federation/federationDataSource.d.ts +8 -7
- package/query-builder/dataSource/federation/federationDataSource.js +59 -78
- package/query-builder/dataSource/federation/federationDataSourceMeta.d.ts +7 -7
- package/query-builder/dataSource/federation/federationDataSourceMeta.js +9 -12
- package/query-builder/dataSource/federation/federationMasterDetailRelation.d.ts +7 -7
- package/query-builder/dataSource/federation/federationMasterDetailRelation.js +22 -44
- package/query-builder/dataSource/federation/federationSerializableModel.d.ts +7 -7
- package/query-builder/dataSource/federation/federationSerializableModel.js +43 -71
- package/query-builder/dataSource/federation/federationSource.d.ts +7 -7
- package/query-builder/dataSource/federation/federationSource.js +26 -48
- package/query-builder/dataSource/json/_jsonSchemaProvider.d.ts +7 -7
- package/query-builder/dataSource/json/_jsonSchemaProvider.js +20 -26
- package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +7 -7
- package/query-builder/dataSource/json/jsonAuthenticationInfo.js +18 -23
- package/query-builder/dataSource/json/jsonDataSource.d.ts +7 -7
- package/query-builder/dataSource/json/jsonDataSource.js +41 -66
- package/query-builder/dataSource/json/jsonParameter.d.ts +7 -7
- package/query-builder/dataSource/json/jsonParameter.js +45 -67
- package/query-builder/dataSource/json/jsonSchemaNode.d.ts +7 -7
- package/query-builder/dataSource/json/jsonSchemaNode.js +66 -99
- package/query-builder/dataSource/json/jsonSchemaProvider.d.ts +7 -7
- package/query-builder/dataSource/json/jsonSchemaProvider.js +35 -59
- package/query-builder/dataSource/json/jsonSource.d.ts +7 -7
- package/query-builder/dataSource/json/jsonSource.js +47 -71
- package/query-builder/dataSource/object/objectDataSource.d.ts +7 -7
- package/query-builder/dataSource/object/objectDataSource.js +18 -40
- package/query-builder/dataSource/object/objectSchema.d.ts +7 -7
- package/query-builder/dataSource/object/objectSchema.js +54 -97
- package/query-builder/dataSource/resultSet.d.ts +7 -7
- package/query-builder/dataSource/resultSet.js +22 -27
- package/query-builder/dataSource/resultTable.d.ts +7 -7
- package/query-builder/dataSource/resultTable.js +14 -19
- package/query-builder/dataSource/sql/connectionOptions.d.ts +7 -7
- package/query-builder/dataSource/sql/connectionOptions.js +18 -23
- package/query-builder/dataSource/sql/customSqlQuery.d.ts +7 -7
- package/query-builder/dataSource/sql/customSqlQuery.js +26 -31
- package/query-builder/dataSource/sql/customSqlQueryMeta.d.ts +7 -7
- package/query-builder/dataSource/sql/customSqlQueryMeta.js +8 -11
- package/query-builder/dataSource/sql/masterDetailRelation.d.ts +7 -7
- package/query-builder/dataSource/sql/masterDetailRelation.js +31 -53
- package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +7 -7
- package/query-builder/dataSource/sql/masterDetailRelationMeta.js +8 -11
- package/query-builder/dataSource/sql/sqlDataConnection.d.ts +7 -7
- package/query-builder/dataSource/sql/sqlDataConnection.js +21 -26
- package/query-builder/dataSource/sql/sqlDataSource.d.ts +7 -7
- package/query-builder/dataSource/sql/sqlDataSource.js +52 -77
- package/query-builder/dataSource/sql/storedProcQuery.d.ts +7 -7
- package/query-builder/dataSource/sql/storedProcQuery.js +29 -34
- package/query-builder/dataSource/sql/storedProcQueryMeta.d.ts +7 -7
- package/query-builder/dataSource/sql/storedProcQueryMeta.js +8 -11
- package/query-builder/dataSource/sql/tableQuery.d.ts +7 -7
- package/query-builder/dataSource/sql/tableQuery.js +27 -32
- package/query-builder/dataSource/sql/tableQueryMeta.d.ts +7 -7
- package/query-builder/dataSource/sql/tableQueryMeta.js +8 -11
- package/query-builder/dataSource/utils.d.ts +7 -7
- package/query-builder/dataSource/utils.js +11 -14
- package/query-builder/dragDrop/_columnDragHandler.d.ts +7 -7
- package/query-builder/dragDrop/_columnDragHandler.js +49 -71
- package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +7 -7
- package/query-builder/dragDrop/_dbObjectDragDropHandler.js +43 -65
- package/query-builder/elements/_federationColumnModel.d.ts +7 -7
- package/query-builder/elements/_federationColumnModel.js +25 -49
- package/query-builder/elements/_federationQueryModel.d.ts +7 -7
- package/query-builder/elements/_federationQueryModel.js +102 -140
- package/query-builder/elements/allColumnsModel.d.ts +7 -7
- package/query-builder/elements/allColumnsModel.js +35 -57
- package/query-builder/elements/allColumnsModelMeta.d.ts +7 -7
- package/query-builder/elements/allColumnsModelMeta.js +9 -12
- package/query-builder/elements/allColumnsSurface.d.ts +7 -7
- package/query-builder/elements/allColumnsSurface.js +24 -46
- package/query-builder/elements/columnExpression.d.ts +7 -7
- package/query-builder/elements/columnExpression.js +35 -41
- package/query-builder/elements/columnExpressionMeta.d.ts +7 -7
- package/query-builder/elements/columnExpressionMeta.js +11 -14
- package/query-builder/elements/columnModel.d.ts +7 -7
- package/query-builder/elements/columnModel.js +84 -111
- package/query-builder/elements/columnModelMeta.d.ts +7 -7
- package/query-builder/elements/columnModelMeta.js +21 -24
- package/query-builder/elements/columnSurface.d.ts +7 -7
- package/query-builder/elements/columnSurface.js +38 -60
- package/query-builder/elements/joinConditionModel.d.ts +7 -7
- package/query-builder/elements/joinConditionModel.js +31 -53
- package/query-builder/elements/joinConditionModelMeta.d.ts +7 -7
- package/query-builder/elements/joinConditionModelMeta.js +15 -18
- package/query-builder/elements/joinConditionSurface.d.ts +7 -7
- package/query-builder/elements/joinConditionSurface.js +17 -39
- package/query-builder/elements/parameterModel.d.ts +7 -7
- package/query-builder/elements/parameterModel.js +15 -39
- package/query-builder/elements/parameterModelMeta.d.ts +7 -7
- package/query-builder/elements/parameterModelMeta.js +8 -11
- package/query-builder/elements/queryElementModel.d.ts +7 -7
- package/query-builder/elements/queryElementModel.js +16 -37
- package/query-builder/elements/queryElementSurface.d.ts +7 -7
- package/query-builder/elements/queryElementSurface.js +32 -54
- package/query-builder/elements/queryModel.d.ts +7 -7
- package/query-builder/elements/queryModel.js +210 -244
- package/query-builder/elements/queryModelMeta.d.ts +7 -7
- package/query-builder/elements/queryModelMeta.js +17 -20
- package/query-builder/elements/querySurface.d.ts +7 -7
- package/query-builder/elements/querySurface.js +51 -74
- package/query-builder/elements/relationModel.d.ts +7 -7
- package/query-builder/elements/relationModel.js +33 -55
- package/query-builder/elements/relationModelMeta.d.ts +7 -7
- package/query-builder/elements/relationModelMeta.js +8 -11
- package/query-builder/elements/relationSurface.d.ts +7 -7
- package/query-builder/elements/relationSurface.js +19 -41
- package/query-builder/elements/tableModel.d.ts +7 -7
- package/query-builder/elements/tableModel.js +80 -106
- package/query-builder/elements/tableModelMeta.d.ts +7 -7
- package/query-builder/elements/tableModelMeta.js +10 -13
- package/query-builder/elements/tableSurface.d.ts +7 -7
- package/query-builder/elements/tableSurface.js +36 -58
- package/query-builder/initializer.d.ts +7 -7
- package/query-builder/initializer.js +10 -13
- package/query-builder/metadata.d.ts +7 -7
- package/query-builder/metadata.js +18 -21
- package/query-builder/utils/_callbacks.d.ts +9 -9
- package/query-builder/utils/_callbacks.js +8 -9
- package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +7 -7
- package/query-builder/utils/_columnExpressionCollectionHelper.js +55 -64
- package/query-builder/utils/_controlsFactory.d.ts +7 -7
- package/query-builder/utils/_controlsFactory.js +62 -66
- package/query-builder/utils/_dataConnection.d.ts +7 -7
- package/query-builder/utils/_dataConnection.js +12 -16
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.d.ts +7 -7
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.js +25 -53
- package/query-builder/utils/_queryBuilderTreeListController.d.ts +7 -7
- package/query-builder/utils/_queryBuilderTreeListController.js +17 -39
- package/query-builder/utils/_requestwrapper.d.ts +7 -7
- package/query-builder/utils/_requestwrapper.js +17 -23
- package/query-builder/utils/controlsFactory.d.ts +7 -7
- package/query-builder/utils/controlsFactory.js +9 -12
- package/query-builder/utils/requestwrapper.d.ts +7 -7
- package/query-builder/utils/requestwrapper.js +48 -56
- package/query-builder/widgets/_federatedQueriesHelper.d.ts +7 -7
- package/query-builder/widgets/_federatedQueriesHelper.js +62 -88
- package/query-builder/widgets/_manageFederatedQueriesEditor.d.ts +7 -7
- package/query-builder/widgets/_manageFederatedQueriesEditor.js +62 -86
- package/query-builder/widgets/_rightPanelSwitcher.d.ts +7 -7
- package/query-builder/widgets/_rightPanelSwitcher.js +29 -56
- package/query-builder/widgets/_undoEditor.d.ts +7 -7
- package/query-builder/widgets/_undoEditor.js +19 -41
- package/query-builder/widgets/ace/_ace-mode-sql.d.ts +7 -7
- package/query-builder/widgets/ace/_ace-mode-sql.js +18 -20
- package/query-builder/widgets/ace/_options.d.ts +7 -7
- package/query-builder/widgets/ace/_options.js +15 -22
- package/query-builder/widgets/editorTemplates.d.ts +7 -7
- package/query-builder/widgets/editorTemplates.js +9 -12
- package/query-builder/widgets/expressionFunctions.d.ts +7 -7
- package/query-builder/widgets/expressionFunctions.js +9 -12
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +36 -60
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +44 -70
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +17 -38
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +42 -65
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +30 -52
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +53 -59
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +16 -23
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +46 -68
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +24 -31
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +20 -26
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +25 -31
- package/query-builder/widgets/registerEditorTemplates.d.ts +7 -7
- package/query-builder/widgets/registerEditorTemplates.js +12 -16
- package/query-builder/wizard/chooseAvailableDataSourcePage.d.ts +20 -0
- package/query-builder/wizard/chooseAvailableDataSourcePage.js +55 -0
- package/query-builder/wizard/chooseAvailablePage.d.ts +11 -9
- package/query-builder/wizard/chooseAvailablePage.js +56 -75
- package/query-builder/wizard/dataSourceWizard.d.ts +11 -8
- package/query-builder/wizard/dataSourceWizard.js +99 -161
- package/query-builder/wizard/dataSourceWizardState.d.ts +16 -15
- package/query-builder/wizard/dataSourceWizardState.js +41 -62
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.d.ts +13 -10
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.js +71 -94
- package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +7 -7
- package/query-builder/wizard/fullscreen/fullscreenWizard.js +40 -63
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +7 -7
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +40 -62
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.d.ts +7 -7
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.js +19 -41
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +7 -7
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +93 -122
- package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.d.ts +22 -0
- package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.js +71 -0
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.d.ts +9 -9
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.js +48 -71
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.d.ts +8 -8
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +51 -74
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +7 -7
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +63 -88
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.d.ts +8 -8
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +60 -83
- package/query-builder/wizard/internal/_configureParametersUtils.d.ts +7 -7
- package/query-builder/wizard/internal/_configureParametersUtils.js +70 -115
- package/query-builder/wizard/internal/_constants.d.ts +7 -7
- package/query-builder/wizard/internal/_constants.js +9 -12
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +7 -7
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +85 -108
- package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +7 -7
- package/query-builder/wizard/internal/_dbSchemaTreeListController.js +19 -41
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +7 -7
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +47 -71
- package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +7 -7
- package/query-builder/wizard/internal/_jsonSourceSettings.js +234 -294
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +7 -7
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +18 -39
- package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +20 -20
- package/query-builder/wizard/internal/_queryBuilderPopup.js +69 -99
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.d.ts +7 -7
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +18 -23
- package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +7 -7
- package/query-builder/wizard/internal/_selectStatementQueryControl.js +60 -87
- package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +7 -7
- package/query-builder/wizard/internal/_storedProceduresQueryControl.js +64 -95
- package/query-builder/wizard/internal/_treeListNode.d.ts +7 -7
- package/query-builder/wizard/internal/_treeListNode.js +165 -227
- package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +7 -7
- package/query-builder/wizard/internal/_treeNodeItemsProvider.js +81 -112
- package/query-builder/wizard/internal/_utils.d.ts +18 -16
- package/query-builder/wizard/internal/_utils.js +49 -81
- package/query-builder/wizard/internal/_wizardAction.d.ts +7 -7
- package/query-builder/wizard/internal/_wizardAction.js +11 -16
- package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +7 -7
- package/query-builder/wizard/internal/_wizardPageProcessor.js +99 -133
- package/query-builder/wizard/internal/_wizardPageSectionFactory.d.ts +7 -7
- package/query-builder/wizard/internal/_wizardPageSectionFactory.js +13 -37
- package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +7 -7
- package/query-builder/wizard/internal/_wizardPageSectionIterator.js +56 -67
- package/query-builder/wizard/internal/_wrappedWizardPageSection.d.ts +7 -7
- package/query-builder/wizard/internal/_wrappedWizardPageSection.js +16 -38
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.js +29 -52
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.js +16 -21
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.js +64 -87
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.js +170 -196
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.js +18 -23
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.js +85 -111
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.js +23 -29
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.js +53 -78
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.js +72 -97
- package/query-builder/wizard/internal/initializer.d.ts +7 -7
- package/query-builder/wizard/internal/initializer.js +8 -9
- package/query-builder/wizard/internal/jsonSourceSettings.d.ts +7 -7
- package/query-builder/wizard/internal/jsonSourceSettings.js +8 -11
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +7 -7
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +22 -44
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +12 -12
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +111 -152
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +7 -7
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +34 -62
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.d.ts +7 -7
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.js +43 -70
- package/query-builder/wizard/internal/wizardPageSectionMetadata.d.ts +7 -7
- package/query-builder/wizard/internal/wizardPageSectionMetadata.js +8 -9
- package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +7 -7
- package/query-builder/wizard/multiQueryDataSourceWizard.js +113 -145
- package/query-builder/wizard/pageFactory.d.ts +7 -7
- package/query-builder/wizard/pageFactory.js +20 -25
- package/query-builder/wizard/pageId.d.ts +9 -7
- package/query-builder/wizard/pageId.js +26 -27
- package/query-builder/wizard/pageIterator.d.ts +7 -9
- package/query-builder/wizard/pageIterator.js +49 -76
- package/query-builder/wizard/pages/IWizardPage.d.ts +7 -7
- package/query-builder/wizard/pages/IWizardPage.js +8 -9
- package/query-builder/wizard/pages/__wrappedWizardPage.d.ts +7 -7
- package/query-builder/wizard/pages/__wrappedWizardPage.js +39 -65
- package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +9 -9
- package/query-builder/wizard/pages/chooseDataSourceTypePage.js +54 -79
- package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +10 -9
- package/query-builder/wizard/pages/chooseSqlConnectionPage.js +58 -66
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.d.ts +7 -7
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.js +40 -63
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.d.ts +8 -7
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.js +90 -101
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +9 -9
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +34 -67
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +7 -7
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +105 -134
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +7 -7
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +78 -103
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +12 -11
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +40 -65
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +7 -7
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +36 -59
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.d.ts +7 -7
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.js +65 -91
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +9 -9
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +185 -217
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +7 -7
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +94 -122
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +7 -7
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +47 -79
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +7 -7
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +47 -76
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +7 -7
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +34 -57
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.d.ts +7 -7
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.js +30 -40
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +7 -7
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +59 -85
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +7 -7
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +95 -118
- package/query-builder/wizard/pages/wizardPageBase.d.ts +7 -7
- package/query-builder/wizard/pages/wizardPageBase.js +29 -51
- package/query-builder/wizard/pages/wizardPageMetadata.d.ts +7 -7
- package/query-builder/wizard/pages/wizardPageMetadata.js +8 -9
- package/query-builder/wizard/popupWizard.d.ts +14 -14
- package/query-builder/wizard/popupWizard.js +56 -78
- package/query-builder/wizard/stateManager.d.ts +7 -7
- package/query-builder/wizard/stateManager.js +25 -31
- package/query-builder/wizard/wizard.d.ts +7 -7
- package/query-builder/wizard/wizard.js +109 -141
- package/query-builder/wizard/wizardEventManager.d.ts +7 -7
- package/query-builder/wizard/wizardEventManager.js +8 -9
- package/queryBuilder-elements-metadata.d.ts +7 -7
- package/queryBuilder-elements-metadata.js +23 -35
- package/queryBuilder-elements.d.ts +7 -7
- package/queryBuilder-elements.js +39 -51
- package/queryBuilder-internal.d.ts +27 -26
- package/queryBuilder-internal.js +40 -51
- package/queryBuilder-metadata.d.ts +7 -7
- package/queryBuilder-metadata.js +9 -21
- package/queryBuilder-utils.d.ts +7 -7
- package/queryBuilder-utils.js +15 -27
- package/queryBuilder-widgets-internal.d.ts +7 -7
- package/queryBuilder-widgets-internal.js +45 -57
- package/queryBuilder-widgets.d.ts +7 -7
- package/queryBuilder-widgets.js +9 -21
- package/querybuilder.d.ts +7 -7
- package/querybuilder.js +15 -27
- package/serializer/_internal.d.ts +7 -7
- package/serializer/_internal.js +20 -32
- package/serializer/_legacy.d.ts +7 -7
- package/serializer/_legacy.js +8 -9
- package/serializer/_utils.d.ts +8 -7
- package/serializer/_utils.js +17 -29
- package/serializer/eventManager.d.ts +7 -7
- package/serializer/eventManager.js +23 -45
- package/serializer/serializationInfo.d.ts +7 -7
- package/serializer/serializationInfo.js +8 -9
- package/serializer/serializer.d.ts +7 -7
- package/serializer/serializer.js +78 -96
- package/serializer/utils.d.ts +7 -7
- package/serializer/utils.js +33 -42
- package/undo-engine/_legacy.d.ts +7 -7
- package/undo-engine/_legacy.js +8 -9
- package/undo-engine/_utils.d.ts +7 -7
- package/undo-engine/_utils.js +13 -21
- package/undo-engine/undoengine.d.ts +7 -7
- package/undo-engine/undoengine.js +154 -195
- package/utils/20.2/convert.js +81 -81
- package/utils/converter.js +6 -6
- package/widgets/_legacy.d.ts +7 -7
- package/widgets/_legacy.js +8 -9
- package/widgets/_searchHighlighting.d.ts +7 -7
- package/widgets/_searchHighlighting.js +46 -70
- package/widgets/_utils.d.ts +9 -9
- package/widgets/_utils.js +57 -69
- package/widgets/ace/_ace-available.d.ts +7 -7
- package/widgets/ace/_ace-available.js +11 -14
- package/widgets/ace/_ace-mode-criteria.d.ts +7 -7
- package/widgets/ace/_ace-mode-criteria.js +8 -12
- package/widgets/ace/_ace-mode-doc-comment.d.ts +7 -7
- package/widgets/ace/_ace-mode-doc-comment.js +8 -12
- package/widgets/ace/_binding.d.ts +7 -7
- package/widgets/ace/_binding.js +48 -52
- package/widgets/bindings.d.ts +7 -7
- package/widgets/bindings.js +14 -16
- package/widgets/common/_codeCompletor.d.ts +7 -7
- package/widgets/common/_codeCompletor.js +138 -175
- package/widgets/common/_displayNameProvider.d.ts +7 -7
- package/widgets/common/_displayNameProvider.js +32 -38
- package/widgets/common/displayNameProvider.d.ts +7 -7
- package/widgets/common/displayNameProvider.js +8 -9
- package/widgets/common/pathRequest.d.ts +7 -7
- package/widgets/common/pathRequest.js +10 -16
- package/widgets/criteria/operators/aggregate.d.ts +7 -7
- package/widgets/criteria/operators/aggregate.js +65 -99
- package/widgets/criteria/operators/between.d.ts +7 -7
- package/widgets/criteria/operators/between.js +47 -85
- package/widgets/criteria/operators/binary.d.ts +7 -7
- package/widgets/criteria/operators/binary.js +43 -81
- package/widgets/criteria/operators/constant.d.ts +7 -7
- package/widgets/criteria/operators/constant.js +17 -39
- package/widgets/criteria/operators/criteriaOperator.d.ts +7 -7
- package/widgets/criteria/operators/criteriaOperator.js +37 -61
- package/widgets/criteria/operators/function.d.ts +7 -7
- package/widgets/criteria/operators/function.js +45 -83
- package/widgets/criteria/operators/group.d.ts +7 -7
- package/widgets/criteria/operators/group.js +57 -88
- package/widgets/criteria/operators/in.d.ts +7 -7
- package/widgets/criteria/operators/in.js +42 -80
- package/widgets/criteria/operators/join.d.ts +7 -7
- package/widgets/criteria/operators/join.js +24 -46
- package/widgets/criteria/operators/options/aggregate.d.ts +7 -7
- package/widgets/criteria/operators/options/aggregate.js +8 -9
- package/widgets/criteria/operators/options/between.d.ts +7 -7
- package/widgets/criteria/operators/options/between.js +8 -9
- package/widgets/criteria/operators/options/binary.d.ts +7 -7
- package/widgets/criteria/operators/options/binary.js +9 -12
- package/widgets/criteria/operators/options/function.d.ts +7 -7
- package/widgets/criteria/operators/options/function.js +9 -12
- package/widgets/criteria/operators/options/group.d.ts +7 -7
- package/widgets/criteria/operators/options/group.js +9 -12
- package/widgets/criteria/operators/options/in.d.ts +7 -7
- package/widgets/criteria/operators/options/in.js +8 -9
- package/widgets/criteria/operators/options/join.d.ts +7 -7
- package/widgets/criteria/operators/options/join.js +8 -9
- package/widgets/criteria/operators/options/parameter.d.ts +7 -7
- package/widgets/criteria/operators/options/parameter.js +8 -9
- package/widgets/criteria/operators/options/property.d.ts +7 -7
- package/widgets/criteria/operators/options/property.js +8 -9
- package/widgets/criteria/operators/options/unary.d.ts +7 -7
- package/widgets/criteria/operators/options/unary.js +9 -12
- package/widgets/criteria/operators/options/value.d.ts +7 -7
- package/widgets/criteria/operators/options/value.js +8 -9
- package/widgets/criteria/operators/parameter.d.ts +7 -7
- package/widgets/criteria/operators/parameter.js +21 -47
- package/widgets/criteria/operators/property.d.ts +7 -7
- package/widgets/criteria/operators/property.js +25 -56
- package/widgets/criteria/operators/unary.d.ts +7 -7
- package/widgets/criteria/operators/unary.js +35 -69
- package/widgets/criteria/operators/value.d.ts +7 -7
- package/widgets/criteria/operators/value.js +29 -55
- package/widgets/criteria/parser/criteriaparser.d.ts +12 -12
- package/widgets/criteria/parser/criteriaparser.js +911 -911
- package/widgets/criteria/utils/criteriaChangeOperator.d.ts +7 -7
- package/widgets/criteria/utils/criteriaChangeOperator.js +8 -9
- package/widgets/criteria/utils/criteriaEnumeration.d.ts +7 -7
- package/widgets/criteria/utils/criteriaEnumeration.js +11 -16
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.d.ts +7 -7
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.js +26 -33
- package/widgets/criteria/utils/criteriaOperatorStateMachine.d.ts +7 -7
- package/widgets/criteria/utils/criteriaOperatorStateMachine.js +39 -49
- package/widgets/criteria/utils/criteriaOperatorVisitor.d.ts +7 -7
- package/widgets/criteria/utils/criteriaOperatorVisitor.js +8 -9
- package/widgets/criteria/utils/criteriaProcessType.d.ts +7 -7
- package/widgets/criteria/utils/criteriaProcessType.js +8 -9
- package/widgets/criteria/utils/operatorTokens.d.ts +7 -7
- package/widgets/criteria/utils/operatorTokens.js +8 -11
- package/widgets/criteria/utils/propertyLocation.d.ts +7 -7
- package/widgets/criteria/utils/propertyLocation.js +8 -9
- package/widgets/expressioneditor/_expressioneditor.d.ts +7 -7
- package/widgets/expressioneditor/_expressioneditor.js +27 -32
- package/widgets/expressioneditor/bindings.d.ts +7 -7
- package/widgets/expressioneditor/bindings.js +17 -19
- package/widgets/expressioneditor/expressioneditor.d.ts +7 -7
- package/widgets/expressioneditor/expressioneditor.js +157 -183
- package/widgets/expressioneditor/tools/_functions.d.ts +7 -7
- package/widgets/expressioneditor/tools/_functions.js +18 -39
- package/widgets/expressioneditor/tools/_operatorNames.d.ts +7 -7
- package/widgets/expressioneditor/tools/_operatorNames.js +8 -11
- package/widgets/expressioneditor/tools/_tools.d.ts +7 -7
- package/widgets/expressioneditor/tools/_tools.js +103 -127
- package/widgets/expressioneditor/tools/_treeListControllers.d.ts +7 -7
- package/widgets/expressioneditor/tools/_treeListControllers.js +44 -72
- package/widgets/filtereditor/filtereditor.d.ts +8 -8
- package/widgets/filtereditor/filtereditor.js +227 -272
- package/widgets/filtereditor/filtereditoroptions.d.ts +7 -7
- package/widgets/filtereditor/filtereditoroptions.js +22 -28
- package/widgets/filtereditor/helpers/_addon.d.ts +7 -7
- package/widgets/filtereditor/helpers/_addon.js +45 -68
- package/widgets/filtereditor/helpers/_codeCompletor.d.ts +7 -7
- package/widgets/filtereditor/helpers/_codeCompletor.js +34 -56
- package/widgets/filtereditor/helpers/_helper.d.ts +7 -7
- package/widgets/filtereditor/helpers/_helper.js +10 -14
- package/widgets/filtereditor/helpers/_serializer.d.ts +7 -7
- package/widgets/filtereditor/helpers/_serializer.js +91 -101
- package/widgets/filtereditor/helpers/_treelistController.d.ts +7 -7
- package/widgets/filtereditor/helpers/_treelistController.js +21 -43
- package/widgets/filtereditor/helpers/_validator.d.ts +7 -7
- package/widgets/filtereditor/helpers/_validator.js +48 -55
- package/widgets/filtereditor/helpers/helper.d.ts +7 -7
- package/widgets/filtereditor/helpers/helper.js +160 -175
- package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/aggregateOperandSurface.js +47 -77
- package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/betweenOperandSurface.js +29 -59
- package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/binaryOperandSurface.js +27 -57
- package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/criteriaOperatorSurface.js +63 -106
- package/widgets/filtereditor/operators/functionOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/functionOperandSurface.js +47 -82
- package/widgets/filtereditor/operators/groupOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/groupOperandSurface.js +42 -68
- package/widgets/filtereditor/operators/inOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/inOperandSurface.js +34 -64
- package/widgets/filtereditor/operators/operandParameterSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/operandParameterSurface.js +33 -63
- package/widgets/filtereditor/operators/operandPropertySurface.d.ts +7 -7
- package/widgets/filtereditor/operators/operandPropertySurface.js +67 -99
- package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +7 -7
- package/widgets/filtereditor/operators/operandSurfaceBase.js +49 -75
- package/widgets/filtereditor/operators/operandValueSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/operandValueSurface.js +110 -151
- package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/unaryOperandSurface.js +42 -72
- package/widgets/formatstring/_patterns.d.ts +7 -7
- package/widgets/formatstring/_patterns.js +8 -11
- package/widgets/formatstring/binding.d.ts +7 -7
- package/widgets/formatstring/binding.js +17 -19
- package/widgets/formatstring/formatstringeditor.d.ts +8 -9
- package/widgets/formatstring/formatstringeditor.js +129 -163
- package/widgets/internal/_popupComponentBase.d.ts +7 -7
- package/widgets/internal/_popupComponentBase.js +24 -46
- package/widgets/internal/_popupwithautoheight.d.ts +9 -11
- package/widgets/internal/_popupwithautoheight.js +14 -41
- package/widgets/internal/_resizeHelper.d.ts +9 -7
- package/widgets/internal/_resizeHelper.js +41 -38
- package/widgets/internal/_valueEditorHelper.d.ts +7 -7
- package/widgets/internal/_valueEditorHelper.js +103 -114
- package/widgets/treelist/_binding.d.ts +7 -7
- package/widgets/treelist/_binding.js +32 -34
- package/widgets/treelist/_reorderTreeListDragDropHelper.d.ts +7 -7
- package/widgets/treelist/_reorderTreeListDragDropHelper.js +54 -78
- package/widgets/treelist/_treeListSearchViewModel.d.ts +7 -7
- package/widgets/treelist/_treeListSearchViewModel.js +62 -89
- package/widgets/treelist/_treelistController.d.ts +7 -7
- package/widgets/treelist/_treelistController.js +22 -27
- package/widgets/treelist/_treelistItem.d.ts +20 -10
- package/widgets/treelist/_treelistItem.js +285 -376
- package/widgets/treelist/options.d.ts +7 -7
- package/widgets/treelist/options.js +9 -12
- package/widgets/utils.d.ts +7 -7
- package/widgets/utils.js +8 -9
- package/utils/analytics-core-namespaces.js +0 -1
- package/utils/theme-builder.js +0 -48
- package/widgets/internal/_dxtInherit.d.ts +0 -22
- package/widgets/internal/_dxtInherit.js +0 -92
|
@@ -1,911 +1,911 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DevExpress Analytics (widgets\criteria\parser\criteriaparser.js)
|
|
3
|
-
* Version: 22.
|
|
4
|
-
* Build date:
|
|
5
|
-
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
-
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
-
*/
|
|
8
|
-
"use strict";
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var criteriaCreator = require('../utils/criteriaOperatorPreprocessor').criteriaCreator;
|
|
11
|
-
var BinaryOperatorType = require('../operators/options/binary').BinaryOperatorType;
|
|
12
|
-
var UnaryOperatorType = require('../operators/options/unary').UnaryOperatorType;
|
|
13
|
-
var GroupOperator = require('../operators/group').GroupOperator;
|
|
14
|
-
var GroupOperatorType = require('../operators/options/group').GroupOperatorType;
|
|
15
|
-
var FunctionOperatorType = require('../operators/options/function').FunctionOperatorType;
|
|
16
|
-
var JoinOperand = require('../operators/join').JoinOperand;
|
|
17
|
-
/* parser generated by jison 0.4.18 */
|
|
18
|
-
/*
|
|
19
|
-
Returns a Parser object of the following structure:
|
|
20
|
-
|
|
21
|
-
Parser: {
|
|
22
|
-
yy: {}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
Parser.prototype: {
|
|
26
|
-
yy: {},
|
|
27
|
-
trace: function(),
|
|
28
|
-
symbols_: {associative list: name ==> number},
|
|
29
|
-
terminals_: {associative list: number ==> name},
|
|
30
|
-
productions_: [...],
|
|
31
|
-
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),
|
|
32
|
-
table: [...],
|
|
33
|
-
defaultActions: {...},
|
|
34
|
-
parseError: function(str, hash),
|
|
35
|
-
parse: function(input),
|
|
36
|
-
|
|
37
|
-
lexer: {
|
|
38
|
-
EOF: 1,
|
|
39
|
-
parseError: function(str, hash),
|
|
40
|
-
setInput: function(input),
|
|
41
|
-
input: function(),
|
|
42
|
-
unput: function(str),
|
|
43
|
-
more: function(),
|
|
44
|
-
less: function(n),
|
|
45
|
-
pastInput: function(),
|
|
46
|
-
upcomingInput: function(),
|
|
47
|
-
showPosition: function(),
|
|
48
|
-
test_match: function(regex_match_array, rule_index),
|
|
49
|
-
next: function(),
|
|
50
|
-
lex: function(),
|
|
51
|
-
begin: function(condition),
|
|
52
|
-
popState: function(),
|
|
53
|
-
_currentRules: function(),
|
|
54
|
-
topState: function(),
|
|
55
|
-
pushState: function(condition),
|
|
56
|
-
|
|
57
|
-
options: {
|
|
58
|
-
ranges: boolean (optional: true ==> token location info will include a .range[] member)
|
|
59
|
-
flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)
|
|
60
|
-
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)
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),
|
|
64
|
-
rules: [...],
|
|
65
|
-
conditions: {associative list: name ==> set},
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
token location info (@$, _$, etc.): {
|
|
71
|
-
first_line: n,
|
|
72
|
-
last_line: n,
|
|
73
|
-
first_column: n,
|
|
74
|
-
last_column: n,
|
|
75
|
-
range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
the parseError function receives a 'hash' object with these members for lexer and parser errors: {
|
|
80
|
-
text: (matched text)
|
|
81
|
-
token: (the produced terminal token, if any)
|
|
82
|
-
line: (yylineno)
|
|
83
|
-
}
|
|
84
|
-
while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {
|
|
85
|
-
loc: (yylloc)
|
|
86
|
-
expected: (string describing the set of expected tokens)
|
|
87
|
-
recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)
|
|
88
|
-
}
|
|
89
|
-
*/
|
|
90
|
-
var criteriaparser = (function(){
|
|
91
|
-
var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,7],$V1=[1,6],$V2=[1,23],$V3=[1,8],$V4=[1,9],$V5=[1,10],$V6=[1,11],$V7=[1,18],$V8=[1,12],$V9=[1,13],$Va=[1,14],$Vb=[1,15],$Vc=[1,16],$Vd=[1,17],$Ve=[1,20],$Vf=[1,22],$Vg=[1,21],$Vh=[1,25],$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=[5,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],$VD=[5,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,44,45,46,50,51,52],$VE=[1,53],$VF=[5,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],$VG=[5,27,28,30,36,45],$VH=[1,92],$VI=[1,93],$VJ=[5,11,12,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],$VK=[5,19,20,25,26,27,28,30,31,36,45],$VL=[5,19,20,21,22,23,24,25,26,27,28,30,31,36,45],$VM=[30,36],$VN=[1,102],$VO=[1,104];
|
|
92
|
-
var parser = {trace: function trace () { },
|
|
93
|
-
yy: {},
|
|
94
|
-
symbols_: {"error":2,"expressions":3,"exp":4,"EOF":5,"const":6,"propertyWithAgg":7,"parameter":8,"*":9,"/":10,"+":11,"-":12,"%":13,"|":14,"&":15,"^":16,"!":17,"~":18,"OP_EQ":19,"OP_NE":20,"OP_GT":21,"OP_LT":22,"OP_GE":23,"OP_LE":24,"OP_LIKE":25,"NOT":26,"AND":27,"OR":28,"(":29,")":30,"IS":31,"NULL":32,"OP_IN":33,"arguments":34,"OP_BETWEEN":35,",":36,"NAME_SOFT":37,"STRING":38,"NUMBER":39,"OBJECT":40,"BOOLEAN":41,"GUID":42,"property":43,"[":44,"]":45,".":46,"agg":47,"Count":48,"Exists":49,"FIELD_END":50,"CH":51,"ESC_CH":52,"FIELD_START":53,"?":54,"commaseparated":55,"$accept":0,"$end":1},
|
|
95
|
-
terminals_: {2:"error",5:"EOF",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:"(",30:")",31:"IS",32:"NULL",33:"OP_IN",35:"OP_BETWEEN",36:",",37:"NAME_SOFT",38:"STRING",39:"NUMBER",40:"OBJECT",41:"BOOLEAN",42:"GUID",44:"[",45:"]",46:".",48:"Count",49:"Exists",50:"FIELD_END",51:"CH",52:"ESC_CH",53:"FIELD_START",54:"?"},
|
|
96
|
-
productions_: [0,[3,2],[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,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],[47,3],[47,1],[47,1],[47,4],[43,2],[43,2],[43,2],[43,3],[43,3],[43,1],[43,1],[43,1],[8,2],[8,1],[34,2],[34,3],[55,1],[55,3]],
|
|
97
|
-
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {
|
|
98
|
-
/* this == yyval */
|
|
99
|
-
|
|
100
|
-
var $0 = $$.length - 1;
|
|
101
|
-
switch (yystate) {
|
|
102
|
-
case 1:
|
|
103
|
-
return $$[$0-1];
|
|
104
|
-
break;
|
|
105
|
-
case 2:
|
|
106
|
-
this.$ = criteriaCreator.process("const", { value: $$[$0] });
|
|
107
|
-
break;
|
|
108
|
-
case 3: case 4: case 34: case 35: case 36: case 37: case 38:
|
|
109
|
-
this.$ = $$[$0];
|
|
110
|
-
break;
|
|
111
|
-
case 5:
|
|
112
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Multiply });
|
|
113
|
-
break;
|
|
114
|
-
case 6:
|
|
115
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Divide });
|
|
116
|
-
break;
|
|
117
|
-
case 7:
|
|
118
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Plus });
|
|
119
|
-
break;
|
|
120
|
-
case 8:
|
|
121
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Minus });
|
|
122
|
-
break;
|
|
123
|
-
case 9:
|
|
124
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Modulo });
|
|
125
|
-
break;
|
|
126
|
-
case 10:
|
|
127
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseOr });
|
|
128
|
-
break;
|
|
129
|
-
case 11:
|
|
130
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseAnd });
|
|
131
|
-
break;
|
|
132
|
-
case 12:
|
|
133
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseXor });
|
|
134
|
-
break;
|
|
135
|
-
case 13:
|
|
136
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Minus, operator: $$[$0] });
|
|
137
|
-
break;
|
|
138
|
-
case 14:
|
|
139
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Plus, operator: $$[$0] });
|
|
140
|
-
break;
|
|
141
|
-
case 15: case 25:
|
|
142
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Not, operator: $$[$0] });
|
|
143
|
-
break;
|
|
144
|
-
case 16:
|
|
145
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.BitwiseNot, operator: $$[$0] });
|
|
146
|
-
break;
|
|
147
|
-
case 17:
|
|
148
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Equal });
|
|
149
|
-
break;
|
|
150
|
-
case 18:
|
|
151
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.NotEqual });
|
|
152
|
-
break;
|
|
153
|
-
case 19:
|
|
154
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Greater });
|
|
155
|
-
break;
|
|
156
|
-
case 20:
|
|
157
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Less });
|
|
158
|
-
break;
|
|
159
|
-
case 21:
|
|
160
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.GreaterOrEqual });
|
|
161
|
-
break;
|
|
162
|
-
case 22:
|
|
163
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.LessOrEqual });
|
|
164
|
-
break;
|
|
165
|
-
case 23:
|
|
166
|
-
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Like });
|
|
167
|
-
break;
|
|
168
|
-
case 24:
|
|
169
|
-
|
|
170
|
-
this.$ = criteriaCreator.process("unary", {
|
|
171
|
-
operatorType: UnaryOperatorType.Not,
|
|
172
|
-
operator: criteriaCreator.process("binary", { left: $$[$0-3], right: $$[$0], operatorType: BinaryOperatorType.Like })
|
|
173
|
-
});
|
|
174
|
-
|
|
175
|
-
break;
|
|
176
|
-
case 26:
|
|
177
|
-
this.$ = GroupOperator.combine(GroupOperatorType.And, [$$[$0-2], $$[$0]]);
|
|
178
|
-
break;
|
|
179
|
-
case 27:
|
|
180
|
-
this.$ = GroupOperator.combine(GroupOperatorType.Or, [$$[$0-2], $$[$0]]);
|
|
181
|
-
break;
|
|
182
|
-
case 28: case 51: case 62:
|
|
183
|
-
this.$ = $$[$0-1];
|
|
184
|
-
break;
|
|
185
|
-
case 29:
|
|
186
|
-
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.IsNull, operator: $$[$0-2] });
|
|
187
|
-
break;
|
|
188
|
-
case 30:
|
|
189
|
-
|
|
190
|
-
this.$ = criteriaCreator.process("unary", {
|
|
191
|
-
operatorType: UnaryOperatorType.Not,
|
|
192
|
-
operator: criteriaCreator.process("unary", { operatorType: UnaryOperatorType.IsNull, operator: $$[$0-3] })
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
break;
|
|
196
|
-
case 31:
|
|
197
|
-
this.$ = criteriaCreator.process("in", { criteriaOperator: $$[$0-2], operands: $$[$0] });
|
|
198
|
-
break;
|
|
199
|
-
case 32:
|
|
200
|
-
this.$ = criteriaCreator.process("between", { property: $$[$0-6], begin: $$[$0-3], end: $$[$0-1] });
|
|
201
|
-
break;
|
|
202
|
-
case 33:
|
|
203
|
-
this.$ = criteriaCreator.process("function", { operatorType: FunctionOperatorType[$$[$0-1]] || $$[$0-1], operands: $$[$0] });
|
|
204
|
-
break;
|
|
205
|
-
case 39:
|
|
206
|
-
this.$ = null;
|
|
207
|
-
break;
|
|
208
|
-
case 40:
|
|
209
|
-
|
|
210
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
211
|
-
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 }),
|
|
212
|
-
$$[$0-3], $$[$0].type, $$[$0].expr
|
|
213
|
-
);
|
|
214
|
-
|
|
215
|
-
break;
|
|
216
|
-
case 41:
|
|
217
|
-
|
|
218
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
219
|
-
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 }),
|
|
220
|
-
null, $$[$0].type, $$[$0].expr
|
|
221
|
-
);
|
|
222
|
-
|
|
223
|
-
break;
|
|
224
|
-
case 42:
|
|
225
|
-
|
|
226
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
227
|
-
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 }),
|
|
228
|
-
null, $$[$0].type, $$[$0].expr
|
|
229
|
-
);
|
|
230
|
-
|
|
231
|
-
break;
|
|
232
|
-
case 43:
|
|
233
|
-
|
|
234
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
235
|
-
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 }),
|
|
236
|
-
$$[$0-1], 'Exists', null
|
|
237
|
-
);
|
|
238
|
-
|
|
239
|
-
break;
|
|
240
|
-
case 44:
|
|
241
|
-
|
|
242
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
243
|
-
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 }),
|
|
244
|
-
null, 'Exists', null);
|
|
245
|
-
|
|
246
|
-
break;
|
|
247
|
-
case 45:
|
|
248
|
-
|
|
249
|
-
this.$ = criteriaCreator.process("property", { propertyName: $$[$0].name, startColumn: $$[$0].col, circumflex: $$[$0].circumflex, startLine: $$[$0].line, originalPropertyLength: _$[$0].last_column - _$[$0].first_column });
|
|
250
|
-
|
|
251
|
-
break;
|
|
252
|
-
case 46:
|
|
253
|
-
|
|
254
|
-
this.$ = JoinOperand.joinOrAggregate(
|
|
255
|
-
criteriaCreator.process("property", { }),
|
|
256
|
-
null, $$[$0].type, $$[$0].expr
|
|
257
|
-
);
|
|
258
|
-
|
|
259
|
-
break;
|
|
260
|
-
case 47:
|
|
261
|
-
this.$ = { type: $$[$0-2] };
|
|
262
|
-
break;
|
|
263
|
-
case 48:
|
|
264
|
-
this.$ = { type: 'Count' };
|
|
265
|
-
break;
|
|
266
|
-
case 49:
|
|
267
|
-
this.$ = { type: 'Exists' };
|
|
268
|
-
break;
|
|
269
|
-
case 50:
|
|
270
|
-
this.$ = { type: $$[$0-3], expr: $$[$0-1] };
|
|
271
|
-
break;
|
|
272
|
-
case 52:
|
|
273
|
-
this.$ = { name: $$[$0-1].name + $$[$0], line: $$[$0-1].line, circumflex: $$[$0-1].circumflex, col: $$[$0-1].col };
|
|
274
|
-
break;
|
|
275
|
-
case 53:
|
|
276
|
-
this.$ = { name: $$[$0-1].name + $$[$0].substr(1), line: $$[$0-1].line, circumflex: $$[$0-1].circumflex, col: $$[$0-1].col };
|
|
277
|
-
break;
|
|
278
|
-
case 54:
|
|
279
|
-
|
|
280
|
-
if($$[$0-2].circumflex && $$[$0-2].started) {
|
|
281
|
-
this.$ = { name: '', line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col + 2 };
|
|
282
|
-
} else
|
|
283
|
-
this.$ = { name: $$[$0-2].name + '.', line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col };
|
|
284
|
-
|
|
285
|
-
break;
|
|
286
|
-
case 55:
|
|
287
|
-
|
|
288
|
-
if($$[$0-2].circumflex && $$[$0-2].started){
|
|
289
|
-
this.$ = { name: $$[$0], line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col + 1 };
|
|
290
|
-
} else
|
|
291
|
-
this.$ = { name: $$[$0-2].name + '.' + $$[$0], line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col };
|
|
292
|
-
|
|
293
|
-
break;
|
|
294
|
-
case 56:
|
|
295
|
-
this.$ = { name: "", line: _$[$0].first_line - 1, col: _$[$0].first_column + 1 };
|
|
296
|
-
break;
|
|
297
|
-
case 57:
|
|
298
|
-
this.$ = { name: $$[$0], line: _$[$0].first_line - 1, col: _$[$0].first_column };
|
|
299
|
-
break;
|
|
300
|
-
case 58:
|
|
301
|
-
this.$ = { circumflex: true, started: true, name: "", line: _$[$0].first_line - 1, col: _$[$0].first_column + 1 };
|
|
302
|
-
break;
|
|
303
|
-
case 59:
|
|
304
|
-
this.$ = criteriaCreator.process("parameter", { parameterName: $$[$0] });
|
|
305
|
-
break;
|
|
306
|
-
case 60:
|
|
307
|
-
this.$ = criteriaCreator.process("value", { });
|
|
308
|
-
break;
|
|
309
|
-
case 61:
|
|
310
|
-
this.$ = [];
|
|
311
|
-
break;
|
|
312
|
-
case 63:
|
|
313
|
-
this.$ = [$$[$0]];
|
|
314
|
-
break;
|
|
315
|
-
case 64:
|
|
316
|
-
this.$ = $$[$0-2].concat($$[$0]);
|
|
317
|
-
break;
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
|
-
table: [{3:1,4:2,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{1:[3]},{5:[1,24],9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB},o($VC,[2,2]),o($VC,[2,3]),o($VC,[2,4]),{4:46,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:47,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:48,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:49,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:50,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:51,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VD,[2,57],{34:52,29:$VE}),o($VC,[2,34]),o($VC,[2,35]),o($VC,[2,36]),o($VC,[2,37]),o($VC,[2,38]),o($VC,[2,39]),o($VC,[2,45],{44:[1,54],46:[1,55],50:[1,56],51:[1,57],52:[1,58]}),{45:[1,59]},o($VC,[2,60],{37:[1,60]}),o($VD,[2,56]),o($VD,[2,58]),{1:[2,1]},{4:61,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:62,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:63,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:64,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:65,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:66,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:67,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:68,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:69,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:70,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:71,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:72,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:73,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:74,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:75,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{25:[1,76]},{4:77,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:78,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{26:[1,80],32:[1,79]},{29:$VE,34:81},{29:[1,82]},o($VC,[2,13]),o($VC,[2,14]),o($VC,[2,15]),o($VF,[2,16],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl}),o($VG,[2,25],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,31:$Vz,33:$VA,35:$VB}),{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,30:[1,83],31:$Vz,33:$VA,35:$VB},o($VC,[2,33]),{4:86,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,30:[1,84],32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg,55:85},{4:87,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,45:[1,88],53:$Vf,54:$Vg},{37:[1,91],47:89,48:$VH,49:$VI,53:[1,90]},o($VD,[2,51]),o($VD,[2,52]),o($VD,[2,53]),{46:[1,94]},o($VC,[2,59]),o($VC,[2,5]),o($VC,[2,6]),o($VJ,[2,7],{9:$Vh,10:$Vi,13:$Vl}),o($VJ,[2,8],{9:$Vh,10:$Vi,13:$Vl}),o($VC,[2,9]),o([5,14,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],[2,10],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,15:$Vn,16:$Vo}),o($VF,[2,11],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl}),o([5,14,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],[2,12],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,15:$Vn}),o($VK,[2,17],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,21:$Vr,22:$Vs,23:$Vt,24:$Vu,33:$VA,35:$VB}),o($VK,[2,18],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,21:$Vr,22:$Vs,23:$Vt,24:$Vu,33:$VA,35:$VB}),o($VL,[2,19],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,33:$VA,35:$VB}),o($VL,[2,20],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,33:$VA,35:$VB}),o($VL,[2,21],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,33:$VA,35:$VB}),o($VL,[2,22],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,33:$VA,35:$VB}),o($VK,[2,23],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,21:$Vr,22:$Vs,23:$Vt,24:$Vu,33:$VA,35:$VB}),{4:95,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VG,[2,26],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,31:$Vz,33:$VA,35:$VB}),o([5,28,30,36,45],[2,27],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,31:$Vz,33:$VA,35:$VB}),o($VC,[2,29]),{32:[1,96]},o($VC,[2,31]),{4:97,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VC,[2,28]),o($VC,[2,61]),{30:[1,98],36:[1,99]},o($VM,[2,63],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB}),{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB,45:[1,100]},o($VC,[2,44],{46:[1,101]}),o($VC,[2,42]),o($VD,[2,54]),o($VD,[2,55],{29:$VN}),o($VC,[2,48]),o($VC,[2,49]),{37:$VO,47:103,48:$VH,49:$VI},o($VK,[2,24],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,21:$Vr,22:$Vs,23:$Vt,24:$Vu,33:$VA,35:$VB}),o($VC,[2,30]),{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB,36:[1,105]},o($VC,[2,62]),{4:106,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VC,[2,43],{46:[1,107]}),{37:$VO,47:108,48:$VH,49:$VI},{4:110,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,30:[1,109],32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VC,[2,46]),{29:$VN},{4:111,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VM,[2,64],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB}),{37:$VO,47:112,48:$VH,49:$VI},o($VC,[2,41]),o($VC,[2,47]),{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,30:[1,113],31:$Vz,33:$VA,35:$VB},{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,30:[1,114],31:$Vz,33:$VA,35:$VB},o($VC,[2,40]),o($VC,[2,50]),o($VC,[2,32])],
|
|
321
|
-
defaultActions: {24:[2,1]},
|
|
322
|
-
parseError: function parseError (str, hash) {
|
|
323
|
-
if (hash.recoverable) {
|
|
324
|
-
this.trace(str);
|
|
325
|
-
} else {
|
|
326
|
-
var error = new Error(str);
|
|
327
|
-
error.hash = hash;
|
|
328
|
-
throw error;
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
parse: function parse(input) {
|
|
332
|
-
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
|
|
333
|
-
var args = lstack.slice.call(arguments, 1);
|
|
334
|
-
var lexer = Object.create(this.lexer);
|
|
335
|
-
var sharedState = { yy: {} };
|
|
336
|
-
for (var k in this.yy) {
|
|
337
|
-
if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
|
|
338
|
-
sharedState.yy[k] = this.yy[k];
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
lexer.setInput(input, sharedState.yy);
|
|
342
|
-
sharedState.yy.lexer = lexer;
|
|
343
|
-
sharedState.yy.parser = this;
|
|
344
|
-
if (typeof lexer.yylloc == 'undefined') {
|
|
345
|
-
lexer.yylloc = {};
|
|
346
|
-
}
|
|
347
|
-
var yyloc = lexer.yylloc;
|
|
348
|
-
lstack.push(yyloc);
|
|
349
|
-
var ranges = lexer.options && lexer.options.ranges;
|
|
350
|
-
if (typeof sharedState.yy.parseError === 'function') {
|
|
351
|
-
this.parseError = sharedState.yy.parseError;
|
|
352
|
-
} else {
|
|
353
|
-
this.parseError = Object.getPrototypeOf(this).parseError;
|
|
354
|
-
}
|
|
355
|
-
function popStack(n) {
|
|
356
|
-
stack.length = stack.length - 2 * n;
|
|
357
|
-
vstack.length = vstack.length - n;
|
|
358
|
-
lstack.length = lstack.length - n;
|
|
359
|
-
}
|
|
360
|
-
_token_stack:
|
|
361
|
-
var lex = function () {
|
|
362
|
-
var token;
|
|
363
|
-
token = lexer.lex() || EOF;
|
|
364
|
-
if (typeof token !== 'number') {
|
|
365
|
-
token = self.symbols_[token] || token;
|
|
366
|
-
}
|
|
367
|
-
return token;
|
|
368
|
-
};
|
|
369
|
-
var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
|
|
370
|
-
while (true) {
|
|
371
|
-
state = stack[stack.length - 1];
|
|
372
|
-
if (this.defaultActions[state]) {
|
|
373
|
-
action = this.defaultActions[state];
|
|
374
|
-
} else {
|
|
375
|
-
if (symbol === null || typeof symbol == 'undefined') {
|
|
376
|
-
symbol = lex();
|
|
377
|
-
}
|
|
378
|
-
action = table[state] && table[state][symbol];
|
|
379
|
-
}
|
|
380
|
-
if (typeof action === 'undefined' || !action.length || !action[0]) {
|
|
381
|
-
var errStr = '';
|
|
382
|
-
expected = [];
|
|
383
|
-
for (p in table[state]) {
|
|
384
|
-
if (this.terminals_[p] && p > TERROR) {
|
|
385
|
-
expected.push('\'' + this.terminals_[p] + '\'');
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
if (lexer.showPosition) {
|
|
389
|
-
errStr = 'Parse error on line ' + (yylineno + 1) + ':\n' + lexer.showPosition() + '\nExpecting ' + expected.join(', ') + ', got \'' + (this.terminals_[symbol] || symbol) + '\'';
|
|
390
|
-
} else {
|
|
391
|
-
errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\'' + (this.terminals_[symbol] || symbol) + '\'');
|
|
392
|
-
}
|
|
393
|
-
this.parseError(errStr, {
|
|
394
|
-
text: lexer.match,
|
|
395
|
-
token: this.terminals_[symbol] || symbol,
|
|
396
|
-
line: lexer.yylineno,
|
|
397
|
-
loc: yyloc,
|
|
398
|
-
expected: expected
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
if (action[0] instanceof Array && action.length > 1) {
|
|
402
|
-
throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);
|
|
403
|
-
}
|
|
404
|
-
switch (action[0]) {
|
|
405
|
-
case 1:
|
|
406
|
-
stack.push(symbol);
|
|
407
|
-
vstack.push(lexer.yytext);
|
|
408
|
-
lstack.push(lexer.yylloc);
|
|
409
|
-
stack.push(action[1]);
|
|
410
|
-
symbol = null;
|
|
411
|
-
if (!preErrorSymbol) {
|
|
412
|
-
yyleng = lexer.yyleng;
|
|
413
|
-
yytext = lexer.yytext;
|
|
414
|
-
yylineno = lexer.yylineno;
|
|
415
|
-
yyloc = lexer.yylloc;
|
|
416
|
-
if (recovering > 0) {
|
|
417
|
-
recovering--;
|
|
418
|
-
}
|
|
419
|
-
} else {
|
|
420
|
-
symbol = preErrorSymbol;
|
|
421
|
-
preErrorSymbol = null;
|
|
422
|
-
}
|
|
423
|
-
break;
|
|
424
|
-
case 2:
|
|
425
|
-
len = this.productions_[action[1]][1];
|
|
426
|
-
yyval.$ = vstack[vstack.length - len];
|
|
427
|
-
yyval._$ = {
|
|
428
|
-
first_line: lstack[lstack.length - (len || 1)].first_line,
|
|
429
|
-
last_line: lstack[lstack.length - 1].last_line,
|
|
430
|
-
first_column: lstack[lstack.length - (len || 1)].first_column,
|
|
431
|
-
last_column: lstack[lstack.length - 1].last_column
|
|
432
|
-
};
|
|
433
|
-
if (ranges) {
|
|
434
|
-
yyval._$.range = [
|
|
435
|
-
lstack[lstack.length - (len || 1)].range[0],
|
|
436
|
-
lstack[lstack.length - 1].range[1]
|
|
437
|
-
];
|
|
438
|
-
}
|
|
439
|
-
r = this.performAction.apply(yyval, [
|
|
440
|
-
yytext,
|
|
441
|
-
yyleng,
|
|
442
|
-
yylineno,
|
|
443
|
-
sharedState.yy,
|
|
444
|
-
action[1],
|
|
445
|
-
vstack,
|
|
446
|
-
lstack
|
|
447
|
-
].concat(args));
|
|
448
|
-
if (typeof r !== 'undefined') {
|
|
449
|
-
return r;
|
|
450
|
-
}
|
|
451
|
-
if (len) {
|
|
452
|
-
stack = stack.slice(0, -1 * len * 2);
|
|
453
|
-
vstack = vstack.slice(0, -1 * len);
|
|
454
|
-
lstack = lstack.slice(0, -1 * len);
|
|
455
|
-
}
|
|
456
|
-
stack.push(this.productions_[action[1]][0]);
|
|
457
|
-
vstack.push(yyval.$);
|
|
458
|
-
lstack.push(yyval._$);
|
|
459
|
-
newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
|
|
460
|
-
stack.push(newState);
|
|
461
|
-
break;
|
|
462
|
-
case 3:
|
|
463
|
-
return true;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
return true;
|
|
467
|
-
}};
|
|
468
|
-
/* generated by jison-lex 0.3.4 */
|
|
469
|
-
var lexer = (function(){
|
|
470
|
-
var lexer = ({
|
|
471
|
-
|
|
472
|
-
EOF:1,
|
|
473
|
-
|
|
474
|
-
parseError:function parseError(str, hash) {
|
|
475
|
-
if (this.yy.parser) {
|
|
476
|
-
this.yy.parser.parseError(str, hash);
|
|
477
|
-
} else {
|
|
478
|
-
throw new Error(str);
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
|
|
482
|
-
// resets the lexer, sets new input
|
|
483
|
-
setInput:function (input, yy) {
|
|
484
|
-
this.yy = yy || this.yy || {};
|
|
485
|
-
this._input = input;
|
|
486
|
-
this._more = this._backtrack = this.done = false;
|
|
487
|
-
this.yylineno = this.yyleng = 0;
|
|
488
|
-
this.yytext = this.matched = this.match = '';
|
|
489
|
-
this.conditionStack = ['INITIAL'];
|
|
490
|
-
this.yylloc = {
|
|
491
|
-
first_line: 1,
|
|
492
|
-
first_column: 0,
|
|
493
|
-
last_line: 1,
|
|
494
|
-
last_column: 0
|
|
495
|
-
};
|
|
496
|
-
if (this.options.ranges) {
|
|
497
|
-
this.yylloc.range = [0,0];
|
|
498
|
-
}
|
|
499
|
-
this.offset = 0;
|
|
500
|
-
return this;
|
|
501
|
-
},
|
|
502
|
-
|
|
503
|
-
// consumes and returns one char from the input
|
|
504
|
-
input:function () {
|
|
505
|
-
var ch = this._input[0];
|
|
506
|
-
this.yytext += ch;
|
|
507
|
-
this.yyleng++;
|
|
508
|
-
this.offset++;
|
|
509
|
-
this.match += ch;
|
|
510
|
-
this.matched += ch;
|
|
511
|
-
var lines = ch.match(/(?:\r\n?|\n).*/g);
|
|
512
|
-
if (lines) {
|
|
513
|
-
this.yylineno++;
|
|
514
|
-
this.yylloc.last_line++;
|
|
515
|
-
} else {
|
|
516
|
-
this.yylloc.last_column++;
|
|
517
|
-
}
|
|
518
|
-
if (this.options.ranges) {
|
|
519
|
-
this.yylloc.range[1]++;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
this._input = this._input.slice(1);
|
|
523
|
-
return ch;
|
|
524
|
-
},
|
|
525
|
-
|
|
526
|
-
// unshifts one char (or a string) into the input
|
|
527
|
-
unput:function (ch) {
|
|
528
|
-
var len = ch.length;
|
|
529
|
-
var lines = ch.split(/(?:\r\n?|\n)/g);
|
|
530
|
-
|
|
531
|
-
this._input = ch + this._input;
|
|
532
|
-
this.yytext = this.yytext.substr(0, this.yytext.length - len);
|
|
533
|
-
//this.yyleng -= len;
|
|
534
|
-
this.offset -= len;
|
|
535
|
-
var oldLines = this.match.split(/(?:\r\n?|\n)/g);
|
|
536
|
-
this.match = this.match.substr(0, this.match.length - 1);
|
|
537
|
-
this.matched = this.matched.substr(0, this.matched.length - 1);
|
|
538
|
-
|
|
539
|
-
if (lines.length - 1) {
|
|
540
|
-
this.yylineno -= lines.length - 1;
|
|
541
|
-
}
|
|
542
|
-
var r = this.yylloc.range;
|
|
543
|
-
|
|
544
|
-
this.yylloc = {
|
|
545
|
-
first_line: this.yylloc.first_line,
|
|
546
|
-
last_line: this.yylineno + 1,
|
|
547
|
-
first_column: this.yylloc.first_column,
|
|
548
|
-
last_column: lines ?
|
|
549
|
-
(lines.length === oldLines.length ? this.yylloc.first_column : 0)
|
|
550
|
-
+ oldLines[oldLines.length - lines.length].length - lines[0].length :
|
|
551
|
-
this.yylloc.first_column - len
|
|
552
|
-
};
|
|
553
|
-
|
|
554
|
-
if (this.options.ranges) {
|
|
555
|
-
this.yylloc.range = [r[0], r[0] + this.yyleng - len];
|
|
556
|
-
}
|
|
557
|
-
this.yyleng = this.yytext.length;
|
|
558
|
-
return this;
|
|
559
|
-
},
|
|
560
|
-
|
|
561
|
-
// When called from action, caches matched text and appends it on next action
|
|
562
|
-
more:function () {
|
|
563
|
-
this._more = true;
|
|
564
|
-
return this;
|
|
565
|
-
},
|
|
566
|
-
|
|
567
|
-
// 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.
|
|
568
|
-
reject:function () {
|
|
569
|
-
if (this.options.backtrack_lexer) {
|
|
570
|
-
this._backtrack = true;
|
|
571
|
-
} else {
|
|
572
|
-
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(), {
|
|
573
|
-
text: "",
|
|
574
|
-
token: null,
|
|
575
|
-
line: this.yylineno
|
|
576
|
-
});
|
|
577
|
-
|
|
578
|
-
}
|
|
579
|
-
return this;
|
|
580
|
-
},
|
|
581
|
-
|
|
582
|
-
// retain first n characters of the match
|
|
583
|
-
less:function (n) {
|
|
584
|
-
this.unput(this.match.slice(n));
|
|
585
|
-
},
|
|
586
|
-
|
|
587
|
-
// displays already matched input, i.e. for error messages
|
|
588
|
-
pastInput:function () {
|
|
589
|
-
var past = this.matched.substr(0, this.matched.length - this.match.length);
|
|
590
|
-
return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");
|
|
591
|
-
},
|
|
592
|
-
|
|
593
|
-
// displays upcoming input, i.e. for error messages
|
|
594
|
-
upcomingInput:function () {
|
|
595
|
-
var next = this.match;
|
|
596
|
-
if (next.length < 20) {
|
|
597
|
-
next += this._input.substr(0, 20-next.length);
|
|
598
|
-
}
|
|
599
|
-
return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\n/g, "");
|
|
600
|
-
},
|
|
601
|
-
|
|
602
|
-
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
603
|
-
showPosition:function () {
|
|
604
|
-
var pre = this.pastInput();
|
|
605
|
-
var c = new Array(pre.length + 1).join("-");
|
|
606
|
-
return pre + this.upcomingInput() + "\n" + c + "^";
|
|
607
|
-
},
|
|
608
|
-
|
|
609
|
-
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
610
|
-
test_match:function(match, indexed_rule) {
|
|
611
|
-
var token,
|
|
612
|
-
lines,
|
|
613
|
-
backup;
|
|
614
|
-
|
|
615
|
-
if (this.options.backtrack_lexer) {
|
|
616
|
-
// save context
|
|
617
|
-
backup = {
|
|
618
|
-
yylineno: this.yylineno,
|
|
619
|
-
yylloc: {
|
|
620
|
-
first_line: this.yylloc.first_line,
|
|
621
|
-
last_line: this.last_line,
|
|
622
|
-
first_column: this.yylloc.first_column,
|
|
623
|
-
last_column: this.yylloc.last_column
|
|
624
|
-
},
|
|
625
|
-
yytext: this.yytext,
|
|
626
|
-
match: this.match,
|
|
627
|
-
matches: this.matches,
|
|
628
|
-
matched: this.matched,
|
|
629
|
-
yyleng: this.yyleng,
|
|
630
|
-
offset: this.offset,
|
|
631
|
-
_more: this._more,
|
|
632
|
-
_input: this._input,
|
|
633
|
-
yy: this.yy,
|
|
634
|
-
conditionStack: this.conditionStack.slice(0),
|
|
635
|
-
done: this.done
|
|
636
|
-
};
|
|
637
|
-
if (this.options.ranges) {
|
|
638
|
-
backup.yylloc.range = this.yylloc.range.slice(0);
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
lines = match[0].match(/(?:\r\n?|\n).*/g);
|
|
643
|
-
if (lines) {
|
|
644
|
-
this.yylineno += lines.length;
|
|
645
|
-
}
|
|
646
|
-
this.yylloc = {
|
|
647
|
-
first_line: this.yylloc.last_line,
|
|
648
|
-
last_line: this.yylineno + 1,
|
|
649
|
-
first_column: this.yylloc.last_column,
|
|
650
|
-
last_column: lines ?
|
|
651
|
-
lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length :
|
|
652
|
-
this.yylloc.last_column + match[0].length
|
|
653
|
-
};
|
|
654
|
-
this.yytext += match[0];
|
|
655
|
-
this.match += match[0];
|
|
656
|
-
this.matches = match;
|
|
657
|
-
this.yyleng = this.yytext.length;
|
|
658
|
-
if (this.options.ranges) {
|
|
659
|
-
this.yylloc.range = [this.offset, this.offset += this.yyleng];
|
|
660
|
-
}
|
|
661
|
-
this._more = false;
|
|
662
|
-
this._backtrack = false;
|
|
663
|
-
this._input = this._input.slice(match[0].length);
|
|
664
|
-
this.matched += match[0];
|
|
665
|
-
token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
|
|
666
|
-
if (this.done && this._input) {
|
|
667
|
-
this.done = false;
|
|
668
|
-
}
|
|
669
|
-
if (token) {
|
|
670
|
-
return token;
|
|
671
|
-
} else if (this._backtrack) {
|
|
672
|
-
// recover context
|
|
673
|
-
for (var k in backup) {
|
|
674
|
-
this[k] = backup[k];
|
|
675
|
-
}
|
|
676
|
-
return false; // rule action called reject() implying the next rule should be tested instead.
|
|
677
|
-
}
|
|
678
|
-
return false;
|
|
679
|
-
},
|
|
680
|
-
|
|
681
|
-
// return next match in input
|
|
682
|
-
next:function () {
|
|
683
|
-
if (this.done) {
|
|
684
|
-
return this.EOF;
|
|
685
|
-
}
|
|
686
|
-
if (!this._input) {
|
|
687
|
-
this.done = true;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
var token,
|
|
691
|
-
match,
|
|
692
|
-
tempMatch,
|
|
693
|
-
index;
|
|
694
|
-
if (!this._more) {
|
|
695
|
-
this.yytext = '';
|
|
696
|
-
this.match = '';
|
|
697
|
-
}
|
|
698
|
-
var rules = this._currentRules();
|
|
699
|
-
for (var i = 0; i < rules.length; i++) {
|
|
700
|
-
tempMatch = this._input.match(this.rules[rules[i]]);
|
|
701
|
-
if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
|
|
702
|
-
match = tempMatch;
|
|
703
|
-
index = i;
|
|
704
|
-
if (this.options.backtrack_lexer) {
|
|
705
|
-
token = this.test_match(tempMatch, rules[i]);
|
|
706
|
-
if (token !== false) {
|
|
707
|
-
return token;
|
|
708
|
-
} else if (this._backtrack) {
|
|
709
|
-
match = false;
|
|
710
|
-
continue; // rule action called reject() implying a rule MISmatch.
|
|
711
|
-
} else {
|
|
712
|
-
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
|
|
713
|
-
return false;
|
|
714
|
-
}
|
|
715
|
-
} else if (!this.options.flex) {
|
|
716
|
-
break;
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
if (match) {
|
|
721
|
-
token = this.test_match(match, rules[index]);
|
|
722
|
-
if (token !== false) {
|
|
723
|
-
return token;
|
|
724
|
-
}
|
|
725
|
-
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
|
|
726
|
-
return false;
|
|
727
|
-
}
|
|
728
|
-
if (this._input === "") {
|
|
729
|
-
return this.EOF;
|
|
730
|
-
} else {
|
|
731
|
-
return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\n' + this.showPosition(), {
|
|
732
|
-
text: "",
|
|
733
|
-
token: null,
|
|
734
|
-
line: this.yylineno
|
|
735
|
-
});
|
|
736
|
-
}
|
|
737
|
-
},
|
|
738
|
-
|
|
739
|
-
// return next match that has a token
|
|
740
|
-
lex:function lex () {
|
|
741
|
-
var r = this.next();
|
|
742
|
-
if (r) {
|
|
743
|
-
return r;
|
|
744
|
-
} else {
|
|
745
|
-
return this.lex();
|
|
746
|
-
}
|
|
747
|
-
},
|
|
748
|
-
|
|
749
|
-
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
750
|
-
begin:function begin (condition) {
|
|
751
|
-
this.conditionStack.push(condition);
|
|
752
|
-
},
|
|
753
|
-
|
|
754
|
-
// pop the previously active lexer condition state off the condition stack
|
|
755
|
-
popState:function popState () {
|
|
756
|
-
var n = this.conditionStack.length - 1;
|
|
757
|
-
if (n > 0) {
|
|
758
|
-
return this.conditionStack.pop();
|
|
759
|
-
} else {
|
|
760
|
-
return this.conditionStack[0];
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
|
|
764
|
-
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
765
|
-
_currentRules:function _currentRules () {
|
|
766
|
-
if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
|
|
767
|
-
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
|
|
768
|
-
} else {
|
|
769
|
-
return this.conditions["INITIAL"].rules;
|
|
770
|
-
}
|
|
771
|
-
},
|
|
772
|
-
|
|
773
|
-
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
774
|
-
topState:function topState (n) {
|
|
775
|
-
n = this.conditionStack.length - 1 - Math.abs(n || 0);
|
|
776
|
-
if (n >= 0) {
|
|
777
|
-
return this.conditionStack[n];
|
|
778
|
-
} else {
|
|
779
|
-
return "INITIAL";
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
|
|
783
|
-
// alias for begin(condition)
|
|
784
|
-
pushState:function pushState (condition) {
|
|
785
|
-
this.begin(condition);
|
|
786
|
-
},
|
|
787
|
-
|
|
788
|
-
// return the number of states currently on the stack
|
|
789
|
-
stateStackSize:function stateStackSize() {
|
|
790
|
-
return this.conditionStack.length;
|
|
791
|
-
},
|
|
792
|
-
options: {"case-insensitive":true},
|
|
793
|
-
performAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
|
|
794
|
-
var YYSTATE=YY_START;
|
|
795
|
-
switch($avoiding_name_collisions) {
|
|
796
|
-
case 0: this.begin('INITIAL'); return 44;
|
|
797
|
-
break;
|
|
798
|
-
case 1: this.begin('INITIAL'); return 50;
|
|
799
|
-
break;
|
|
800
|
-
case 2:return 52;
|
|
801
|
-
break;
|
|
802
|
-
case 3:return 51;
|
|
803
|
-
break;
|
|
804
|
-
case 4:return 'INVALID';
|
|
805
|
-
break;
|
|
806
|
-
case 5:return 38
|
|
807
|
-
break;
|
|
808
|
-
case 6:return 42
|
|
809
|
-
break;
|
|
810
|
-
case 7:return 40
|
|
811
|
-
break;
|
|
812
|
-
case 8:return 39
|
|
813
|
-
break;
|
|
814
|
-
case 9:return 41
|
|
815
|
-
break;
|
|
816
|
-
case 10:return 41
|
|
817
|
-
break;
|
|
818
|
-
case 11:/* skip whitespace */
|
|
819
|
-
break;
|
|
820
|
-
case 12:return 35
|
|
821
|
-
break;
|
|
822
|
-
case 13:return 33
|
|
823
|
-
break;
|
|
824
|
-
case 14:return 26
|
|
825
|
-
break;
|
|
826
|
-
case 15:return 31
|
|
827
|
-
break;
|
|
828
|
-
case 16:return 32
|
|
829
|
-
break;
|
|
830
|
-
case 17:return 9
|
|
831
|
-
break;
|
|
832
|
-
case 18:return 10
|
|
833
|
-
break;
|
|
834
|
-
case 19:return 12
|
|
835
|
-
break;
|
|
836
|
-
case 20:return 11
|
|
837
|
-
break;
|
|
838
|
-
case 21:return 16
|
|
839
|
-
break;
|
|
840
|
-
case 22:return 18
|
|
841
|
-
break;
|
|
842
|
-
case 23:return 20
|
|
843
|
-
break;
|
|
844
|
-
case 24:return 17
|
|
845
|
-
break;
|
|
846
|
-
case 25:return 13
|
|
847
|
-
break;
|
|
848
|
-
case 26:return 20
|
|
849
|
-
break;
|
|
850
|
-
case 27:return 23
|
|
851
|
-
break;
|
|
852
|
-
case 28:return 24
|
|
853
|
-
break;
|
|
854
|
-
case 29:return 21
|
|
855
|
-
break;
|
|
856
|
-
case 30:return 22
|
|
857
|
-
break;
|
|
858
|
-
case 31:return 28
|
|
859
|
-
break;
|
|
860
|
-
case 32:return 27
|
|
861
|
-
break;
|
|
862
|
-
case 33:return 19
|
|
863
|
-
break;
|
|
864
|
-
case 34:return 19
|
|
865
|
-
break;
|
|
866
|
-
case 35:return 25
|
|
867
|
-
break;
|
|
868
|
-
case 36:return 27
|
|
869
|
-
break;
|
|
870
|
-
case 37:return 28
|
|
871
|
-
break;
|
|
872
|
-
case 38:return 15
|
|
873
|
-
break;
|
|
874
|
-
case 39:return 14
|
|
875
|
-
break;
|
|
876
|
-
case 40: this.begin('fieldname'); return 53;
|
|
877
|
-
break;
|
|
878
|
-
case 41:return 45;
|
|
879
|
-
break;
|
|
880
|
-
case 42:return 29
|
|
881
|
-
break;
|
|
882
|
-
case 43:return 30
|
|
883
|
-
break;
|
|
884
|
-
case 44:return 46
|
|
885
|
-
break;
|
|
886
|
-
case 45:return 36
|
|
887
|
-
break;
|
|
888
|
-
case 46:return 54
|
|
889
|
-
break;
|
|
890
|
-
case 47:return 37
|
|
891
|
-
break;
|
|
892
|
-
case 48:return 'INVALID'
|
|
893
|
-
break;
|
|
894
|
-
case 49:return 5
|
|
895
|
-
break;
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
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,/^(?:#(?:[^\\\#]|(?:\\.))*#)/i,/^(?:[0-9]+(\.[0-9]+([mfMF]{1})?|[bsiluBSILU]{1})?)/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,/^(?: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],
|
|
899
|
-
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],"inclusive":true}}
|
|
900
|
-
});
|
|
901
|
-
return lexer;
|
|
902
|
-
})();
|
|
903
|
-
parser.lexer = lexer;
|
|
904
|
-
function Parser () {
|
|
905
|
-
this.yy = {};
|
|
906
|
-
}
|
|
907
|
-
Parser.prototype = parser;parser.Parser = Parser;
|
|
908
|
-
return new Parser;
|
|
909
|
-
})();
|
|
910
|
-
exports.criteriaparser = criteriaparser;
|
|
911
|
-
exports.parse = function(test) { return criteriaparser.parse(test) };
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\parser\criteriaparser.js)
|
|
3
|
+
* Version: 22.2.2-beta
|
|
4
|
+
* Build date: Nov 15, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var criteriaCreator = require('../utils/criteriaOperatorPreprocessor').criteriaCreator;
|
|
11
|
+
var BinaryOperatorType = require('../operators/options/binary').BinaryOperatorType;
|
|
12
|
+
var UnaryOperatorType = require('../operators/options/unary').UnaryOperatorType;
|
|
13
|
+
var GroupOperator = require('../operators/group').GroupOperator;
|
|
14
|
+
var GroupOperatorType = require('../operators/options/group').GroupOperatorType;
|
|
15
|
+
var FunctionOperatorType = require('../operators/options/function').FunctionOperatorType;
|
|
16
|
+
var JoinOperand = require('../operators/join').JoinOperand;
|
|
17
|
+
/* parser generated by jison 0.4.18 */
|
|
18
|
+
/*
|
|
19
|
+
Returns a Parser object of the following structure:
|
|
20
|
+
|
|
21
|
+
Parser: {
|
|
22
|
+
yy: {}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
Parser.prototype: {
|
|
26
|
+
yy: {},
|
|
27
|
+
trace: function(),
|
|
28
|
+
symbols_: {associative list: name ==> number},
|
|
29
|
+
terminals_: {associative list: number ==> name},
|
|
30
|
+
productions_: [...],
|
|
31
|
+
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),
|
|
32
|
+
table: [...],
|
|
33
|
+
defaultActions: {...},
|
|
34
|
+
parseError: function(str, hash),
|
|
35
|
+
parse: function(input),
|
|
36
|
+
|
|
37
|
+
lexer: {
|
|
38
|
+
EOF: 1,
|
|
39
|
+
parseError: function(str, hash),
|
|
40
|
+
setInput: function(input),
|
|
41
|
+
input: function(),
|
|
42
|
+
unput: function(str),
|
|
43
|
+
more: function(),
|
|
44
|
+
less: function(n),
|
|
45
|
+
pastInput: function(),
|
|
46
|
+
upcomingInput: function(),
|
|
47
|
+
showPosition: function(),
|
|
48
|
+
test_match: function(regex_match_array, rule_index),
|
|
49
|
+
next: function(),
|
|
50
|
+
lex: function(),
|
|
51
|
+
begin: function(condition),
|
|
52
|
+
popState: function(),
|
|
53
|
+
_currentRules: function(),
|
|
54
|
+
topState: function(),
|
|
55
|
+
pushState: function(condition),
|
|
56
|
+
|
|
57
|
+
options: {
|
|
58
|
+
ranges: boolean (optional: true ==> token location info will include a .range[] member)
|
|
59
|
+
flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)
|
|
60
|
+
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)
|
|
61
|
+
},
|
|
62
|
+
|
|
63
|
+
performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),
|
|
64
|
+
rules: [...],
|
|
65
|
+
conditions: {associative list: name ==> set},
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
token location info (@$, _$, etc.): {
|
|
71
|
+
first_line: n,
|
|
72
|
+
last_line: n,
|
|
73
|
+
first_column: n,
|
|
74
|
+
last_column: n,
|
|
75
|
+
range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
the parseError function receives a 'hash' object with these members for lexer and parser errors: {
|
|
80
|
+
text: (matched text)
|
|
81
|
+
token: (the produced terminal token, if any)
|
|
82
|
+
line: (yylineno)
|
|
83
|
+
}
|
|
84
|
+
while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {
|
|
85
|
+
loc: (yylloc)
|
|
86
|
+
expected: (string describing the set of expected tokens)
|
|
87
|
+
recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)
|
|
88
|
+
}
|
|
89
|
+
*/
|
|
90
|
+
var criteriaparser = (function(){
|
|
91
|
+
var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,7],$V1=[1,6],$V2=[1,23],$V3=[1,8],$V4=[1,9],$V5=[1,10],$V6=[1,11],$V7=[1,18],$V8=[1,12],$V9=[1,13],$Va=[1,14],$Vb=[1,15],$Vc=[1,16],$Vd=[1,17],$Ve=[1,20],$Vf=[1,22],$Vg=[1,21],$Vh=[1,25],$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=[5,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],$VD=[5,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,44,45,46,50,51,52],$VE=[1,53],$VF=[5,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],$VG=[5,27,28,30,36,45],$VH=[1,92],$VI=[1,93],$VJ=[5,11,12,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],$VK=[5,19,20,25,26,27,28,30,31,36,45],$VL=[5,19,20,21,22,23,24,25,26,27,28,30,31,36,45],$VM=[30,36],$VN=[1,102],$VO=[1,104];
|
|
92
|
+
var parser = {trace: function trace () { },
|
|
93
|
+
yy: {},
|
|
94
|
+
symbols_: {"error":2,"expressions":3,"exp":4,"EOF":5,"const":6,"propertyWithAgg":7,"parameter":8,"*":9,"/":10,"+":11,"-":12,"%":13,"|":14,"&":15,"^":16,"!":17,"~":18,"OP_EQ":19,"OP_NE":20,"OP_GT":21,"OP_LT":22,"OP_GE":23,"OP_LE":24,"OP_LIKE":25,"NOT":26,"AND":27,"OR":28,"(":29,")":30,"IS":31,"NULL":32,"OP_IN":33,"arguments":34,"OP_BETWEEN":35,",":36,"NAME_SOFT":37,"STRING":38,"NUMBER":39,"OBJECT":40,"BOOLEAN":41,"GUID":42,"property":43,"[":44,"]":45,".":46,"agg":47,"Count":48,"Exists":49,"FIELD_END":50,"CH":51,"ESC_CH":52,"FIELD_START":53,"?":54,"commaseparated":55,"$accept":0,"$end":1},
|
|
95
|
+
terminals_: {2:"error",5:"EOF",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:"(",30:")",31:"IS",32:"NULL",33:"OP_IN",35:"OP_BETWEEN",36:",",37:"NAME_SOFT",38:"STRING",39:"NUMBER",40:"OBJECT",41:"BOOLEAN",42:"GUID",44:"[",45:"]",46:".",48:"Count",49:"Exists",50:"FIELD_END",51:"CH",52:"ESC_CH",53:"FIELD_START",54:"?"},
|
|
96
|
+
productions_: [0,[3,2],[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,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],[47,3],[47,1],[47,1],[47,4],[43,2],[43,2],[43,2],[43,3],[43,3],[43,1],[43,1],[43,1],[8,2],[8,1],[34,2],[34,3],[55,1],[55,3]],
|
|
97
|
+
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {
|
|
98
|
+
/* this == yyval */
|
|
99
|
+
|
|
100
|
+
var $0 = $$.length - 1;
|
|
101
|
+
switch (yystate) {
|
|
102
|
+
case 1:
|
|
103
|
+
return $$[$0-1];
|
|
104
|
+
break;
|
|
105
|
+
case 2:
|
|
106
|
+
this.$ = criteriaCreator.process("const", { value: $$[$0] });
|
|
107
|
+
break;
|
|
108
|
+
case 3: case 4: case 34: case 35: case 36: case 37: case 38:
|
|
109
|
+
this.$ = $$[$0];
|
|
110
|
+
break;
|
|
111
|
+
case 5:
|
|
112
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Multiply });
|
|
113
|
+
break;
|
|
114
|
+
case 6:
|
|
115
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Divide });
|
|
116
|
+
break;
|
|
117
|
+
case 7:
|
|
118
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Plus });
|
|
119
|
+
break;
|
|
120
|
+
case 8:
|
|
121
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Minus });
|
|
122
|
+
break;
|
|
123
|
+
case 9:
|
|
124
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Modulo });
|
|
125
|
+
break;
|
|
126
|
+
case 10:
|
|
127
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseOr });
|
|
128
|
+
break;
|
|
129
|
+
case 11:
|
|
130
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseAnd });
|
|
131
|
+
break;
|
|
132
|
+
case 12:
|
|
133
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.BitwiseXor });
|
|
134
|
+
break;
|
|
135
|
+
case 13:
|
|
136
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Minus, operator: $$[$0] });
|
|
137
|
+
break;
|
|
138
|
+
case 14:
|
|
139
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Plus, operator: $$[$0] });
|
|
140
|
+
break;
|
|
141
|
+
case 15: case 25:
|
|
142
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.Not, operator: $$[$0] });
|
|
143
|
+
break;
|
|
144
|
+
case 16:
|
|
145
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.BitwiseNot, operator: $$[$0] });
|
|
146
|
+
break;
|
|
147
|
+
case 17:
|
|
148
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Equal });
|
|
149
|
+
break;
|
|
150
|
+
case 18:
|
|
151
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.NotEqual });
|
|
152
|
+
break;
|
|
153
|
+
case 19:
|
|
154
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Greater });
|
|
155
|
+
break;
|
|
156
|
+
case 20:
|
|
157
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Less });
|
|
158
|
+
break;
|
|
159
|
+
case 21:
|
|
160
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.GreaterOrEqual });
|
|
161
|
+
break;
|
|
162
|
+
case 22:
|
|
163
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.LessOrEqual });
|
|
164
|
+
break;
|
|
165
|
+
case 23:
|
|
166
|
+
this.$ = criteriaCreator.process("binary", { left: $$[$0-2], right: $$[$0], operatorType: BinaryOperatorType.Like });
|
|
167
|
+
break;
|
|
168
|
+
case 24:
|
|
169
|
+
|
|
170
|
+
this.$ = criteriaCreator.process("unary", {
|
|
171
|
+
operatorType: UnaryOperatorType.Not,
|
|
172
|
+
operator: criteriaCreator.process("binary", { left: $$[$0-3], right: $$[$0], operatorType: BinaryOperatorType.Like })
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
break;
|
|
176
|
+
case 26:
|
|
177
|
+
this.$ = GroupOperator.combine(GroupOperatorType.And, [$$[$0-2], $$[$0]]);
|
|
178
|
+
break;
|
|
179
|
+
case 27:
|
|
180
|
+
this.$ = GroupOperator.combine(GroupOperatorType.Or, [$$[$0-2], $$[$0]]);
|
|
181
|
+
break;
|
|
182
|
+
case 28: case 51: case 62:
|
|
183
|
+
this.$ = $$[$0-1];
|
|
184
|
+
break;
|
|
185
|
+
case 29:
|
|
186
|
+
this.$ = criteriaCreator.process("unary", { operatorType: UnaryOperatorType.IsNull, operator: $$[$0-2] });
|
|
187
|
+
break;
|
|
188
|
+
case 30:
|
|
189
|
+
|
|
190
|
+
this.$ = criteriaCreator.process("unary", {
|
|
191
|
+
operatorType: UnaryOperatorType.Not,
|
|
192
|
+
operator: criteriaCreator.process("unary", { operatorType: UnaryOperatorType.IsNull, operator: $$[$0-3] })
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
break;
|
|
196
|
+
case 31:
|
|
197
|
+
this.$ = criteriaCreator.process("in", { criteriaOperator: $$[$0-2], operands: $$[$0] });
|
|
198
|
+
break;
|
|
199
|
+
case 32:
|
|
200
|
+
this.$ = criteriaCreator.process("between", { property: $$[$0-6], begin: $$[$0-3], end: $$[$0-1] });
|
|
201
|
+
break;
|
|
202
|
+
case 33:
|
|
203
|
+
this.$ = criteriaCreator.process("function", { operatorType: FunctionOperatorType[$$[$0-1]] || $$[$0-1], operands: $$[$0] });
|
|
204
|
+
break;
|
|
205
|
+
case 39:
|
|
206
|
+
this.$ = null;
|
|
207
|
+
break;
|
|
208
|
+
case 40:
|
|
209
|
+
|
|
210
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
211
|
+
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 }),
|
|
212
|
+
$$[$0-3], $$[$0].type, $$[$0].expr
|
|
213
|
+
);
|
|
214
|
+
|
|
215
|
+
break;
|
|
216
|
+
case 41:
|
|
217
|
+
|
|
218
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
219
|
+
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 }),
|
|
220
|
+
null, $$[$0].type, $$[$0].expr
|
|
221
|
+
);
|
|
222
|
+
|
|
223
|
+
break;
|
|
224
|
+
case 42:
|
|
225
|
+
|
|
226
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
227
|
+
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 }),
|
|
228
|
+
null, $$[$0].type, $$[$0].expr
|
|
229
|
+
);
|
|
230
|
+
|
|
231
|
+
break;
|
|
232
|
+
case 43:
|
|
233
|
+
|
|
234
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
235
|
+
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 }),
|
|
236
|
+
$$[$0-1], 'Exists', null
|
|
237
|
+
);
|
|
238
|
+
|
|
239
|
+
break;
|
|
240
|
+
case 44:
|
|
241
|
+
|
|
242
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
243
|
+
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 }),
|
|
244
|
+
null, 'Exists', null);
|
|
245
|
+
|
|
246
|
+
break;
|
|
247
|
+
case 45:
|
|
248
|
+
|
|
249
|
+
this.$ = criteriaCreator.process("property", { propertyName: $$[$0].name, startColumn: $$[$0].col, circumflex: $$[$0].circumflex, startLine: $$[$0].line, originalPropertyLength: _$[$0].last_column - _$[$0].first_column });
|
|
250
|
+
|
|
251
|
+
break;
|
|
252
|
+
case 46:
|
|
253
|
+
|
|
254
|
+
this.$ = JoinOperand.joinOrAggregate(
|
|
255
|
+
criteriaCreator.process("property", { }),
|
|
256
|
+
null, $$[$0].type, $$[$0].expr
|
|
257
|
+
);
|
|
258
|
+
|
|
259
|
+
break;
|
|
260
|
+
case 47:
|
|
261
|
+
this.$ = { type: $$[$0-2] };
|
|
262
|
+
break;
|
|
263
|
+
case 48:
|
|
264
|
+
this.$ = { type: 'Count' };
|
|
265
|
+
break;
|
|
266
|
+
case 49:
|
|
267
|
+
this.$ = { type: 'Exists' };
|
|
268
|
+
break;
|
|
269
|
+
case 50:
|
|
270
|
+
this.$ = { type: $$[$0-3], expr: $$[$0-1] };
|
|
271
|
+
break;
|
|
272
|
+
case 52:
|
|
273
|
+
this.$ = { name: $$[$0-1].name + $$[$0], line: $$[$0-1].line, circumflex: $$[$0-1].circumflex, col: $$[$0-1].col };
|
|
274
|
+
break;
|
|
275
|
+
case 53:
|
|
276
|
+
this.$ = { name: $$[$0-1].name + $$[$0].substr(1), line: $$[$0-1].line, circumflex: $$[$0-1].circumflex, col: $$[$0-1].col };
|
|
277
|
+
break;
|
|
278
|
+
case 54:
|
|
279
|
+
|
|
280
|
+
if($$[$0-2].circumflex && $$[$0-2].started) {
|
|
281
|
+
this.$ = { name: '', line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col + 2 };
|
|
282
|
+
} else
|
|
283
|
+
this.$ = { name: $$[$0-2].name + '.', line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col };
|
|
284
|
+
|
|
285
|
+
break;
|
|
286
|
+
case 55:
|
|
287
|
+
|
|
288
|
+
if($$[$0-2].circumflex && $$[$0-2].started){
|
|
289
|
+
this.$ = { name: $$[$0], line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col + 1 };
|
|
290
|
+
} else
|
|
291
|
+
this.$ = { name: $$[$0-2].name + '.' + $$[$0], line: $$[$0-2].line, circumflex: $$[$0-2].circumflex, col: $$[$0-2].col };
|
|
292
|
+
|
|
293
|
+
break;
|
|
294
|
+
case 56:
|
|
295
|
+
this.$ = { name: "", line: _$[$0].first_line - 1, col: _$[$0].first_column + 1 };
|
|
296
|
+
break;
|
|
297
|
+
case 57:
|
|
298
|
+
this.$ = { name: $$[$0], line: _$[$0].first_line - 1, col: _$[$0].first_column };
|
|
299
|
+
break;
|
|
300
|
+
case 58:
|
|
301
|
+
this.$ = { circumflex: true, started: true, name: "", line: _$[$0].first_line - 1, col: _$[$0].first_column + 1 };
|
|
302
|
+
break;
|
|
303
|
+
case 59:
|
|
304
|
+
this.$ = criteriaCreator.process("parameter", { parameterName: $$[$0] });
|
|
305
|
+
break;
|
|
306
|
+
case 60:
|
|
307
|
+
this.$ = criteriaCreator.process("value", { });
|
|
308
|
+
break;
|
|
309
|
+
case 61:
|
|
310
|
+
this.$ = [];
|
|
311
|
+
break;
|
|
312
|
+
case 63:
|
|
313
|
+
this.$ = [$$[$0]];
|
|
314
|
+
break;
|
|
315
|
+
case 64:
|
|
316
|
+
this.$ = $$[$0-2].concat($$[$0]);
|
|
317
|
+
break;
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
table: [{3:1,4:2,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{1:[3]},{5:[1,24],9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB},o($VC,[2,2]),o($VC,[2,3]),o($VC,[2,4]),{4:46,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:47,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:48,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:49,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:50,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:51,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VD,[2,57],{34:52,29:$VE}),o($VC,[2,34]),o($VC,[2,35]),o($VC,[2,36]),o($VC,[2,37]),o($VC,[2,38]),o($VC,[2,39]),o($VC,[2,45],{44:[1,54],46:[1,55],50:[1,56],51:[1,57],52:[1,58]}),{45:[1,59]},o($VC,[2,60],{37:[1,60]}),o($VD,[2,56]),o($VD,[2,58]),{1:[2,1]},{4:61,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:62,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:63,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:64,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:65,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:66,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:67,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:68,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:69,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:70,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:71,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:72,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:73,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:74,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:75,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{25:[1,76]},{4:77,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{4:78,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},{26:[1,80],32:[1,79]},{29:$VE,34:81},{29:[1,82]},o($VC,[2,13]),o($VC,[2,14]),o($VC,[2,15]),o($VF,[2,16],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl}),o($VG,[2,25],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,31:$Vz,33:$VA,35:$VB}),{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,30:[1,83],31:$Vz,33:$VA,35:$VB},o($VC,[2,33]),{4:86,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,30:[1,84],32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg,55:85},{4:87,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,45:[1,88],53:$Vf,54:$Vg},{37:[1,91],47:89,48:$VH,49:$VI,53:[1,90]},o($VD,[2,51]),o($VD,[2,52]),o($VD,[2,53]),{46:[1,94]},o($VC,[2,59]),o($VC,[2,5]),o($VC,[2,6]),o($VJ,[2,7],{9:$Vh,10:$Vi,13:$Vl}),o($VJ,[2,8],{9:$Vh,10:$Vi,13:$Vl}),o($VC,[2,9]),o([5,14,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],[2,10],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,15:$Vn,16:$Vo}),o($VF,[2,11],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl}),o([5,14,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,45],[2,12],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,15:$Vn}),o($VK,[2,17],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,21:$Vr,22:$Vs,23:$Vt,24:$Vu,33:$VA,35:$VB}),o($VK,[2,18],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,21:$Vr,22:$Vs,23:$Vt,24:$Vu,33:$VA,35:$VB}),o($VL,[2,19],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,33:$VA,35:$VB}),o($VL,[2,20],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,33:$VA,35:$VB}),o($VL,[2,21],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,33:$VA,35:$VB}),o($VL,[2,22],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,33:$VA,35:$VB}),o($VK,[2,23],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,21:$Vr,22:$Vs,23:$Vt,24:$Vu,33:$VA,35:$VB}),{4:95,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VG,[2,26],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,31:$Vz,33:$VA,35:$VB}),o([5,28,30,36,45],[2,27],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,31:$Vz,33:$VA,35:$VB}),o($VC,[2,29]),{32:[1,96]},o($VC,[2,31]),{4:97,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VC,[2,28]),o($VC,[2,61]),{30:[1,98],36:[1,99]},o($VM,[2,63],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB}),{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB,45:[1,100]},o($VC,[2,44],{46:[1,101]}),o($VC,[2,42]),o($VD,[2,54]),o($VD,[2,55],{29:$VN}),o($VC,[2,48]),o($VC,[2,49]),{37:$VO,47:103,48:$VH,49:$VI},o($VK,[2,24],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,21:$Vr,22:$Vs,23:$Vt,24:$Vu,33:$VA,35:$VB}),o($VC,[2,30]),{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB,36:[1,105]},o($VC,[2,62]),{4:106,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VC,[2,43],{46:[1,107]}),{37:$VO,47:108,48:$VH,49:$VI},{4:110,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,30:[1,109],32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VC,[2,46]),{29:$VN},{4:111,6:3,7:4,8:5,11:$V0,12:$V1,16:$V2,17:$V3,18:$V4,26:$V5,29:$V6,32:$V7,37:$V8,38:$V9,39:$Va,40:$Vb,41:$Vc,42:$Vd,43:19,44:$Ve,53:$Vf,54:$Vg},o($VM,[2,64],{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,31:$Vz,33:$VA,35:$VB}),{37:$VO,47:112,48:$VH,49:$VI},o($VC,[2,41]),o($VC,[2,47]),{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,30:[1,113],31:$Vz,33:$VA,35:$VB},{9:$Vh,10:$Vi,11:$Vj,12:$Vk,13:$Vl,14:$Vm,15:$Vn,16:$Vo,19:$Vp,20:$Vq,21:$Vr,22:$Vs,23:$Vt,24:$Vu,25:$Vv,26:$Vw,27:$Vx,28:$Vy,30:[1,114],31:$Vz,33:$VA,35:$VB},o($VC,[2,40]),o($VC,[2,50]),o($VC,[2,32])],
|
|
321
|
+
defaultActions: {24:[2,1]},
|
|
322
|
+
parseError: function parseError (str, hash) {
|
|
323
|
+
if (hash.recoverable) {
|
|
324
|
+
this.trace(str);
|
|
325
|
+
} else {
|
|
326
|
+
var error = new Error(str);
|
|
327
|
+
error.hash = hash;
|
|
328
|
+
throw error;
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
parse: function parse(input) {
|
|
332
|
+
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
|
|
333
|
+
var args = lstack.slice.call(arguments, 1);
|
|
334
|
+
var lexer = Object.create(this.lexer);
|
|
335
|
+
var sharedState = { yy: {} };
|
|
336
|
+
for (var k in this.yy) {
|
|
337
|
+
if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
|
|
338
|
+
sharedState.yy[k] = this.yy[k];
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
lexer.setInput(input, sharedState.yy);
|
|
342
|
+
sharedState.yy.lexer = lexer;
|
|
343
|
+
sharedState.yy.parser = this;
|
|
344
|
+
if (typeof lexer.yylloc == 'undefined') {
|
|
345
|
+
lexer.yylloc = {};
|
|
346
|
+
}
|
|
347
|
+
var yyloc = lexer.yylloc;
|
|
348
|
+
lstack.push(yyloc);
|
|
349
|
+
var ranges = lexer.options && lexer.options.ranges;
|
|
350
|
+
if (typeof sharedState.yy.parseError === 'function') {
|
|
351
|
+
this.parseError = sharedState.yy.parseError;
|
|
352
|
+
} else {
|
|
353
|
+
this.parseError = Object.getPrototypeOf(this).parseError;
|
|
354
|
+
}
|
|
355
|
+
function popStack(n) {
|
|
356
|
+
stack.length = stack.length - 2 * n;
|
|
357
|
+
vstack.length = vstack.length - n;
|
|
358
|
+
lstack.length = lstack.length - n;
|
|
359
|
+
}
|
|
360
|
+
_token_stack:
|
|
361
|
+
var lex = function () {
|
|
362
|
+
var token;
|
|
363
|
+
token = lexer.lex() || EOF;
|
|
364
|
+
if (typeof token !== 'number') {
|
|
365
|
+
token = self.symbols_[token] || token;
|
|
366
|
+
}
|
|
367
|
+
return token;
|
|
368
|
+
};
|
|
369
|
+
var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
|
|
370
|
+
while (true) {
|
|
371
|
+
state = stack[stack.length - 1];
|
|
372
|
+
if (this.defaultActions[state]) {
|
|
373
|
+
action = this.defaultActions[state];
|
|
374
|
+
} else {
|
|
375
|
+
if (symbol === null || typeof symbol == 'undefined') {
|
|
376
|
+
symbol = lex();
|
|
377
|
+
}
|
|
378
|
+
action = table[state] && table[state][symbol];
|
|
379
|
+
}
|
|
380
|
+
if (typeof action === 'undefined' || !action.length || !action[0]) {
|
|
381
|
+
var errStr = '';
|
|
382
|
+
expected = [];
|
|
383
|
+
for (p in table[state]) {
|
|
384
|
+
if (this.terminals_[p] && p > TERROR) {
|
|
385
|
+
expected.push('\'' + this.terminals_[p] + '\'');
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
if (lexer.showPosition) {
|
|
389
|
+
errStr = 'Parse error on line ' + (yylineno + 1) + ':\n' + lexer.showPosition() + '\nExpecting ' + expected.join(', ') + ', got \'' + (this.terminals_[symbol] || symbol) + '\'';
|
|
390
|
+
} else {
|
|
391
|
+
errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\'' + (this.terminals_[symbol] || symbol) + '\'');
|
|
392
|
+
}
|
|
393
|
+
this.parseError(errStr, {
|
|
394
|
+
text: lexer.match,
|
|
395
|
+
token: this.terminals_[symbol] || symbol,
|
|
396
|
+
line: lexer.yylineno,
|
|
397
|
+
loc: yyloc,
|
|
398
|
+
expected: expected
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
if (action[0] instanceof Array && action.length > 1) {
|
|
402
|
+
throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);
|
|
403
|
+
}
|
|
404
|
+
switch (action[0]) {
|
|
405
|
+
case 1:
|
|
406
|
+
stack.push(symbol);
|
|
407
|
+
vstack.push(lexer.yytext);
|
|
408
|
+
lstack.push(lexer.yylloc);
|
|
409
|
+
stack.push(action[1]);
|
|
410
|
+
symbol = null;
|
|
411
|
+
if (!preErrorSymbol) {
|
|
412
|
+
yyleng = lexer.yyleng;
|
|
413
|
+
yytext = lexer.yytext;
|
|
414
|
+
yylineno = lexer.yylineno;
|
|
415
|
+
yyloc = lexer.yylloc;
|
|
416
|
+
if (recovering > 0) {
|
|
417
|
+
recovering--;
|
|
418
|
+
}
|
|
419
|
+
} else {
|
|
420
|
+
symbol = preErrorSymbol;
|
|
421
|
+
preErrorSymbol = null;
|
|
422
|
+
}
|
|
423
|
+
break;
|
|
424
|
+
case 2:
|
|
425
|
+
len = this.productions_[action[1]][1];
|
|
426
|
+
yyval.$ = vstack[vstack.length - len];
|
|
427
|
+
yyval._$ = {
|
|
428
|
+
first_line: lstack[lstack.length - (len || 1)].first_line,
|
|
429
|
+
last_line: lstack[lstack.length - 1].last_line,
|
|
430
|
+
first_column: lstack[lstack.length - (len || 1)].first_column,
|
|
431
|
+
last_column: lstack[lstack.length - 1].last_column
|
|
432
|
+
};
|
|
433
|
+
if (ranges) {
|
|
434
|
+
yyval._$.range = [
|
|
435
|
+
lstack[lstack.length - (len || 1)].range[0],
|
|
436
|
+
lstack[lstack.length - 1].range[1]
|
|
437
|
+
];
|
|
438
|
+
}
|
|
439
|
+
r = this.performAction.apply(yyval, [
|
|
440
|
+
yytext,
|
|
441
|
+
yyleng,
|
|
442
|
+
yylineno,
|
|
443
|
+
sharedState.yy,
|
|
444
|
+
action[1],
|
|
445
|
+
vstack,
|
|
446
|
+
lstack
|
|
447
|
+
].concat(args));
|
|
448
|
+
if (typeof r !== 'undefined') {
|
|
449
|
+
return r;
|
|
450
|
+
}
|
|
451
|
+
if (len) {
|
|
452
|
+
stack = stack.slice(0, -1 * len * 2);
|
|
453
|
+
vstack = vstack.slice(0, -1 * len);
|
|
454
|
+
lstack = lstack.slice(0, -1 * len);
|
|
455
|
+
}
|
|
456
|
+
stack.push(this.productions_[action[1]][0]);
|
|
457
|
+
vstack.push(yyval.$);
|
|
458
|
+
lstack.push(yyval._$);
|
|
459
|
+
newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
|
|
460
|
+
stack.push(newState);
|
|
461
|
+
break;
|
|
462
|
+
case 3:
|
|
463
|
+
return true;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
return true;
|
|
467
|
+
}};
|
|
468
|
+
/* generated by jison-lex 0.3.4 */
|
|
469
|
+
var lexer = (function(){
|
|
470
|
+
var lexer = ({
|
|
471
|
+
|
|
472
|
+
EOF:1,
|
|
473
|
+
|
|
474
|
+
parseError:function parseError(str, hash) {
|
|
475
|
+
if (this.yy.parser) {
|
|
476
|
+
this.yy.parser.parseError(str, hash);
|
|
477
|
+
} else {
|
|
478
|
+
throw new Error(str);
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
|
|
482
|
+
// resets the lexer, sets new input
|
|
483
|
+
setInput:function (input, yy) {
|
|
484
|
+
this.yy = yy || this.yy || {};
|
|
485
|
+
this._input = input;
|
|
486
|
+
this._more = this._backtrack = this.done = false;
|
|
487
|
+
this.yylineno = this.yyleng = 0;
|
|
488
|
+
this.yytext = this.matched = this.match = '';
|
|
489
|
+
this.conditionStack = ['INITIAL'];
|
|
490
|
+
this.yylloc = {
|
|
491
|
+
first_line: 1,
|
|
492
|
+
first_column: 0,
|
|
493
|
+
last_line: 1,
|
|
494
|
+
last_column: 0
|
|
495
|
+
};
|
|
496
|
+
if (this.options.ranges) {
|
|
497
|
+
this.yylloc.range = [0,0];
|
|
498
|
+
}
|
|
499
|
+
this.offset = 0;
|
|
500
|
+
return this;
|
|
501
|
+
},
|
|
502
|
+
|
|
503
|
+
// consumes and returns one char from the input
|
|
504
|
+
input:function () {
|
|
505
|
+
var ch = this._input[0];
|
|
506
|
+
this.yytext += ch;
|
|
507
|
+
this.yyleng++;
|
|
508
|
+
this.offset++;
|
|
509
|
+
this.match += ch;
|
|
510
|
+
this.matched += ch;
|
|
511
|
+
var lines = ch.match(/(?:\r\n?|\n).*/g);
|
|
512
|
+
if (lines) {
|
|
513
|
+
this.yylineno++;
|
|
514
|
+
this.yylloc.last_line++;
|
|
515
|
+
} else {
|
|
516
|
+
this.yylloc.last_column++;
|
|
517
|
+
}
|
|
518
|
+
if (this.options.ranges) {
|
|
519
|
+
this.yylloc.range[1]++;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
this._input = this._input.slice(1);
|
|
523
|
+
return ch;
|
|
524
|
+
},
|
|
525
|
+
|
|
526
|
+
// unshifts one char (or a string) into the input
|
|
527
|
+
unput:function (ch) {
|
|
528
|
+
var len = ch.length;
|
|
529
|
+
var lines = ch.split(/(?:\r\n?|\n)/g);
|
|
530
|
+
|
|
531
|
+
this._input = ch + this._input;
|
|
532
|
+
this.yytext = this.yytext.substr(0, this.yytext.length - len);
|
|
533
|
+
//this.yyleng -= len;
|
|
534
|
+
this.offset -= len;
|
|
535
|
+
var oldLines = this.match.split(/(?:\r\n?|\n)/g);
|
|
536
|
+
this.match = this.match.substr(0, this.match.length - 1);
|
|
537
|
+
this.matched = this.matched.substr(0, this.matched.length - 1);
|
|
538
|
+
|
|
539
|
+
if (lines.length - 1) {
|
|
540
|
+
this.yylineno -= lines.length - 1;
|
|
541
|
+
}
|
|
542
|
+
var r = this.yylloc.range;
|
|
543
|
+
|
|
544
|
+
this.yylloc = {
|
|
545
|
+
first_line: this.yylloc.first_line,
|
|
546
|
+
last_line: this.yylineno + 1,
|
|
547
|
+
first_column: this.yylloc.first_column,
|
|
548
|
+
last_column: lines ?
|
|
549
|
+
(lines.length === oldLines.length ? this.yylloc.first_column : 0)
|
|
550
|
+
+ oldLines[oldLines.length - lines.length].length - lines[0].length :
|
|
551
|
+
this.yylloc.first_column - len
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
if (this.options.ranges) {
|
|
555
|
+
this.yylloc.range = [r[0], r[0] + this.yyleng - len];
|
|
556
|
+
}
|
|
557
|
+
this.yyleng = this.yytext.length;
|
|
558
|
+
return this;
|
|
559
|
+
},
|
|
560
|
+
|
|
561
|
+
// When called from action, caches matched text and appends it on next action
|
|
562
|
+
more:function () {
|
|
563
|
+
this._more = true;
|
|
564
|
+
return this;
|
|
565
|
+
},
|
|
566
|
+
|
|
567
|
+
// 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.
|
|
568
|
+
reject:function () {
|
|
569
|
+
if (this.options.backtrack_lexer) {
|
|
570
|
+
this._backtrack = true;
|
|
571
|
+
} else {
|
|
572
|
+
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(), {
|
|
573
|
+
text: "",
|
|
574
|
+
token: null,
|
|
575
|
+
line: this.yylineno
|
|
576
|
+
});
|
|
577
|
+
|
|
578
|
+
}
|
|
579
|
+
return this;
|
|
580
|
+
},
|
|
581
|
+
|
|
582
|
+
// retain first n characters of the match
|
|
583
|
+
less:function (n) {
|
|
584
|
+
this.unput(this.match.slice(n));
|
|
585
|
+
},
|
|
586
|
+
|
|
587
|
+
// displays already matched input, i.e. for error messages
|
|
588
|
+
pastInput:function () {
|
|
589
|
+
var past = this.matched.substr(0, this.matched.length - this.match.length);
|
|
590
|
+
return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");
|
|
591
|
+
},
|
|
592
|
+
|
|
593
|
+
// displays upcoming input, i.e. for error messages
|
|
594
|
+
upcomingInput:function () {
|
|
595
|
+
var next = this.match;
|
|
596
|
+
if (next.length < 20) {
|
|
597
|
+
next += this._input.substr(0, 20-next.length);
|
|
598
|
+
}
|
|
599
|
+
return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\n/g, "");
|
|
600
|
+
},
|
|
601
|
+
|
|
602
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
603
|
+
showPosition:function () {
|
|
604
|
+
var pre = this.pastInput();
|
|
605
|
+
var c = new Array(pre.length + 1).join("-");
|
|
606
|
+
return pre + this.upcomingInput() + "\n" + c + "^";
|
|
607
|
+
},
|
|
608
|
+
|
|
609
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
610
|
+
test_match:function(match, indexed_rule) {
|
|
611
|
+
var token,
|
|
612
|
+
lines,
|
|
613
|
+
backup;
|
|
614
|
+
|
|
615
|
+
if (this.options.backtrack_lexer) {
|
|
616
|
+
// save context
|
|
617
|
+
backup = {
|
|
618
|
+
yylineno: this.yylineno,
|
|
619
|
+
yylloc: {
|
|
620
|
+
first_line: this.yylloc.first_line,
|
|
621
|
+
last_line: this.last_line,
|
|
622
|
+
first_column: this.yylloc.first_column,
|
|
623
|
+
last_column: this.yylloc.last_column
|
|
624
|
+
},
|
|
625
|
+
yytext: this.yytext,
|
|
626
|
+
match: this.match,
|
|
627
|
+
matches: this.matches,
|
|
628
|
+
matched: this.matched,
|
|
629
|
+
yyleng: this.yyleng,
|
|
630
|
+
offset: this.offset,
|
|
631
|
+
_more: this._more,
|
|
632
|
+
_input: this._input,
|
|
633
|
+
yy: this.yy,
|
|
634
|
+
conditionStack: this.conditionStack.slice(0),
|
|
635
|
+
done: this.done
|
|
636
|
+
};
|
|
637
|
+
if (this.options.ranges) {
|
|
638
|
+
backup.yylloc.range = this.yylloc.range.slice(0);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
lines = match[0].match(/(?:\r\n?|\n).*/g);
|
|
643
|
+
if (lines) {
|
|
644
|
+
this.yylineno += lines.length;
|
|
645
|
+
}
|
|
646
|
+
this.yylloc = {
|
|
647
|
+
first_line: this.yylloc.last_line,
|
|
648
|
+
last_line: this.yylineno + 1,
|
|
649
|
+
first_column: this.yylloc.last_column,
|
|
650
|
+
last_column: lines ?
|
|
651
|
+
lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length :
|
|
652
|
+
this.yylloc.last_column + match[0].length
|
|
653
|
+
};
|
|
654
|
+
this.yytext += match[0];
|
|
655
|
+
this.match += match[0];
|
|
656
|
+
this.matches = match;
|
|
657
|
+
this.yyleng = this.yytext.length;
|
|
658
|
+
if (this.options.ranges) {
|
|
659
|
+
this.yylloc.range = [this.offset, this.offset += this.yyleng];
|
|
660
|
+
}
|
|
661
|
+
this._more = false;
|
|
662
|
+
this._backtrack = false;
|
|
663
|
+
this._input = this._input.slice(match[0].length);
|
|
664
|
+
this.matched += match[0];
|
|
665
|
+
token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
|
|
666
|
+
if (this.done && this._input) {
|
|
667
|
+
this.done = false;
|
|
668
|
+
}
|
|
669
|
+
if (token) {
|
|
670
|
+
return token;
|
|
671
|
+
} else if (this._backtrack) {
|
|
672
|
+
// recover context
|
|
673
|
+
for (var k in backup) {
|
|
674
|
+
this[k] = backup[k];
|
|
675
|
+
}
|
|
676
|
+
return false; // rule action called reject() implying the next rule should be tested instead.
|
|
677
|
+
}
|
|
678
|
+
return false;
|
|
679
|
+
},
|
|
680
|
+
|
|
681
|
+
// return next match in input
|
|
682
|
+
next:function () {
|
|
683
|
+
if (this.done) {
|
|
684
|
+
return this.EOF;
|
|
685
|
+
}
|
|
686
|
+
if (!this._input) {
|
|
687
|
+
this.done = true;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
var token,
|
|
691
|
+
match,
|
|
692
|
+
tempMatch,
|
|
693
|
+
index;
|
|
694
|
+
if (!this._more) {
|
|
695
|
+
this.yytext = '';
|
|
696
|
+
this.match = '';
|
|
697
|
+
}
|
|
698
|
+
var rules = this._currentRules();
|
|
699
|
+
for (var i = 0; i < rules.length; i++) {
|
|
700
|
+
tempMatch = this._input.match(this.rules[rules[i]]);
|
|
701
|
+
if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
|
|
702
|
+
match = tempMatch;
|
|
703
|
+
index = i;
|
|
704
|
+
if (this.options.backtrack_lexer) {
|
|
705
|
+
token = this.test_match(tempMatch, rules[i]);
|
|
706
|
+
if (token !== false) {
|
|
707
|
+
return token;
|
|
708
|
+
} else if (this._backtrack) {
|
|
709
|
+
match = false;
|
|
710
|
+
continue; // rule action called reject() implying a rule MISmatch.
|
|
711
|
+
} else {
|
|
712
|
+
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
|
|
713
|
+
return false;
|
|
714
|
+
}
|
|
715
|
+
} else if (!this.options.flex) {
|
|
716
|
+
break;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
if (match) {
|
|
721
|
+
token = this.test_match(match, rules[index]);
|
|
722
|
+
if (token !== false) {
|
|
723
|
+
return token;
|
|
724
|
+
}
|
|
725
|
+
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
|
|
726
|
+
return false;
|
|
727
|
+
}
|
|
728
|
+
if (this._input === "") {
|
|
729
|
+
return this.EOF;
|
|
730
|
+
} else {
|
|
731
|
+
return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\n' + this.showPosition(), {
|
|
732
|
+
text: "",
|
|
733
|
+
token: null,
|
|
734
|
+
line: this.yylineno
|
|
735
|
+
});
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
|
|
739
|
+
// return next match that has a token
|
|
740
|
+
lex:function lex () {
|
|
741
|
+
var r = this.next();
|
|
742
|
+
if (r) {
|
|
743
|
+
return r;
|
|
744
|
+
} else {
|
|
745
|
+
return this.lex();
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
|
|
749
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
750
|
+
begin:function begin (condition) {
|
|
751
|
+
this.conditionStack.push(condition);
|
|
752
|
+
},
|
|
753
|
+
|
|
754
|
+
// pop the previously active lexer condition state off the condition stack
|
|
755
|
+
popState:function popState () {
|
|
756
|
+
var n = this.conditionStack.length - 1;
|
|
757
|
+
if (n > 0) {
|
|
758
|
+
return this.conditionStack.pop();
|
|
759
|
+
} else {
|
|
760
|
+
return this.conditionStack[0];
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
|
|
764
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
765
|
+
_currentRules:function _currentRules () {
|
|
766
|
+
if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
|
|
767
|
+
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
|
|
768
|
+
} else {
|
|
769
|
+
return this.conditions["INITIAL"].rules;
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
|
|
773
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
774
|
+
topState:function topState (n) {
|
|
775
|
+
n = this.conditionStack.length - 1 - Math.abs(n || 0);
|
|
776
|
+
if (n >= 0) {
|
|
777
|
+
return this.conditionStack[n];
|
|
778
|
+
} else {
|
|
779
|
+
return "INITIAL";
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
|
|
783
|
+
// alias for begin(condition)
|
|
784
|
+
pushState:function pushState (condition) {
|
|
785
|
+
this.begin(condition);
|
|
786
|
+
},
|
|
787
|
+
|
|
788
|
+
// return the number of states currently on the stack
|
|
789
|
+
stateStackSize:function stateStackSize() {
|
|
790
|
+
return this.conditionStack.length;
|
|
791
|
+
},
|
|
792
|
+
options: {"case-insensitive":true},
|
|
793
|
+
performAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
|
|
794
|
+
var YYSTATE=YY_START;
|
|
795
|
+
switch($avoiding_name_collisions) {
|
|
796
|
+
case 0: this.begin('INITIAL'); return 44;
|
|
797
|
+
break;
|
|
798
|
+
case 1: this.begin('INITIAL'); return 50;
|
|
799
|
+
break;
|
|
800
|
+
case 2:return 52;
|
|
801
|
+
break;
|
|
802
|
+
case 3:return 51;
|
|
803
|
+
break;
|
|
804
|
+
case 4:return 'INVALID';
|
|
805
|
+
break;
|
|
806
|
+
case 5:return 38
|
|
807
|
+
break;
|
|
808
|
+
case 6:return 42
|
|
809
|
+
break;
|
|
810
|
+
case 7:return 40
|
|
811
|
+
break;
|
|
812
|
+
case 8:return 39
|
|
813
|
+
break;
|
|
814
|
+
case 9:return 41
|
|
815
|
+
break;
|
|
816
|
+
case 10:return 41
|
|
817
|
+
break;
|
|
818
|
+
case 11:/* skip whitespace */
|
|
819
|
+
break;
|
|
820
|
+
case 12:return 35
|
|
821
|
+
break;
|
|
822
|
+
case 13:return 33
|
|
823
|
+
break;
|
|
824
|
+
case 14:return 26
|
|
825
|
+
break;
|
|
826
|
+
case 15:return 31
|
|
827
|
+
break;
|
|
828
|
+
case 16:return 32
|
|
829
|
+
break;
|
|
830
|
+
case 17:return 9
|
|
831
|
+
break;
|
|
832
|
+
case 18:return 10
|
|
833
|
+
break;
|
|
834
|
+
case 19:return 12
|
|
835
|
+
break;
|
|
836
|
+
case 20:return 11
|
|
837
|
+
break;
|
|
838
|
+
case 21:return 16
|
|
839
|
+
break;
|
|
840
|
+
case 22:return 18
|
|
841
|
+
break;
|
|
842
|
+
case 23:return 20
|
|
843
|
+
break;
|
|
844
|
+
case 24:return 17
|
|
845
|
+
break;
|
|
846
|
+
case 25:return 13
|
|
847
|
+
break;
|
|
848
|
+
case 26:return 20
|
|
849
|
+
break;
|
|
850
|
+
case 27:return 23
|
|
851
|
+
break;
|
|
852
|
+
case 28:return 24
|
|
853
|
+
break;
|
|
854
|
+
case 29:return 21
|
|
855
|
+
break;
|
|
856
|
+
case 30:return 22
|
|
857
|
+
break;
|
|
858
|
+
case 31:return 28
|
|
859
|
+
break;
|
|
860
|
+
case 32:return 27
|
|
861
|
+
break;
|
|
862
|
+
case 33:return 19
|
|
863
|
+
break;
|
|
864
|
+
case 34:return 19
|
|
865
|
+
break;
|
|
866
|
+
case 35:return 25
|
|
867
|
+
break;
|
|
868
|
+
case 36:return 27
|
|
869
|
+
break;
|
|
870
|
+
case 37:return 28
|
|
871
|
+
break;
|
|
872
|
+
case 38:return 15
|
|
873
|
+
break;
|
|
874
|
+
case 39:return 14
|
|
875
|
+
break;
|
|
876
|
+
case 40: this.begin('fieldname'); return 53;
|
|
877
|
+
break;
|
|
878
|
+
case 41:return 45;
|
|
879
|
+
break;
|
|
880
|
+
case 42:return 29
|
|
881
|
+
break;
|
|
882
|
+
case 43:return 30
|
|
883
|
+
break;
|
|
884
|
+
case 44:return 46
|
|
885
|
+
break;
|
|
886
|
+
case 45:return 36
|
|
887
|
+
break;
|
|
888
|
+
case 46:return 54
|
|
889
|
+
break;
|
|
890
|
+
case 47:return 37
|
|
891
|
+
break;
|
|
892
|
+
case 48:return 'INVALID'
|
|
893
|
+
break;
|
|
894
|
+
case 49:return 5
|
|
895
|
+
break;
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
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,/^(?:#(?:[^\\\#]|(?:\\.))*#)/i,/^(?:[0-9]+(\.[0-9]+([mfMF]{1})?|[bsiluBSILU]{1})?)/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,/^(?: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],
|
|
899
|
+
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],"inclusive":true}}
|
|
900
|
+
});
|
|
901
|
+
return lexer;
|
|
902
|
+
})();
|
|
903
|
+
parser.lexer = lexer;
|
|
904
|
+
function Parser () {
|
|
905
|
+
this.yy = {};
|
|
906
|
+
}
|
|
907
|
+
Parser.prototype = parser;parser.Parser = Parser;
|
|
908
|
+
return new Parser;
|
|
909
|
+
})();
|
|
910
|
+
exports.criteriaparser = criteriaparser;
|
|
911
|
+
exports.parse = function(test) { return criteriaparser.parse(test) };
|