udm-rules-vue 0.0.1
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 +92 -0
- package/dist/EventBus.d.ts +70 -0
- package/dist/FileDeployPackageBuilder.d.ts +35 -0
- package/dist/FileSystemEventBus.d.ts +6 -0
- package/dist/FileUtils.d.ts +51 -0
- package/dist/RedoUndoManager.d.ts +15 -0
- package/dist/RuleFileWatcher.d.ts +14 -0
- package/dist/ServerRequestResponse.d.ts +29 -0
- package/dist/Url.d.ts +18 -0
- package/dist/WebviewCollection.d.ts +12 -0
- package/dist/ajax.d.ts +2 -0
- package/dist/assets/builtin/BasicObject.bom +22 -0
- package/dist/assets/builtin/BasicObject_zh_CN.voc +9 -0
- package/dist/assets/builtin/Constants.bom +9 -0
- package/dist/assets/builtin/Constants_zh_CN.voc +6 -0
- package/dist/assets/builtin/StaticMethod.bom +118 -0
- package/dist/assets/builtin/StaticMethod_zh_CN.voc +176 -0
- package/dist/assets/css/index.css +1 -0
- package/dist/authToken.d.ts +2 -0
- package/dist/bom/AttributeDialog.vue.d.ts +6 -0
- package/dist/bom/BomEditor.vue.d.ts +8 -0
- package/dist/bom/BomEditorComponent.vue.d.ts +3 -0
- package/dist/bom/BomWebEditor.d.ts +1 -0
- package/dist/bom/Category.vue.d.ts +6 -0
- package/dist/bom/CategoryDialog.vue.d.ts +6 -0
- package/dist/bom/ClassEditor.vue.d.ts +9 -0
- package/dist/bom/ClassMemberDialog.vue.d.ts +6 -0
- package/dist/bom/CustomProperty.vue.d.ts +7 -0
- package/dist/bom/DocumentationDialog.vue.d.ts +6 -0
- package/dist/bom/Domain.vue.d.ts +7 -0
- package/dist/bom/DomainDialog.vue.d.ts +6 -0
- package/dist/bom/EditTermDialog.vue.d.ts +6 -0
- package/dist/bom/FieldEditor.vue.d.ts +12 -0
- package/dist/bom/MethodEditor.vue.d.ts +11 -0
- package/dist/bom/MethodParameter.vue.d.ts +7 -0
- package/dist/bom/MethodParameterDialog.vue.d.ts +3 -0
- package/dist/bom/NameDialog.vue.d.ts +6 -0
- package/dist/bom/PureWebBomEditor.vue.d.ts +41 -0
- package/dist/bom/bomDeserialize.d.ts +28 -0
- package/dist/bom/bomRefactor.d.ts +2 -0
- package/dist/bom/bomSerialize.d.ts +2 -0
- package/dist/bom/model.d.ts +118 -0
- package/dist/bom/sync/SyncDialog.vue.d.ts +6 -0
- package/dist/bom/sync/VocabularySettleDialog.vue.d.ts +6 -0
- package/dist/bom/sync/bomCompare.d.ts +37 -0
- package/dist/bom/sync/sync.d.ts +6 -0
- package/dist/bom/sync/vocabularySettle.d.ts +3 -0
- package/dist/bom/vocabulary.d.ts +4 -0
- package/dist/bom/webview/BomDocument.d.ts +70 -0
- package/dist/bom/webview/BomEditorProvider.d.ts +39 -0
- package/dist/bom/webview/webviewHTMLContent.d.ts +8 -0
- package/dist/brl/PureWebRuleEditor.vue.d.ts +56 -0
- package/dist/brl/RuleDocument.d.ts +69 -0
- package/dist/brl/RuleEditor.vue.d.ts +17 -0
- package/dist/brl/RuleEditorComponent.vue.d.ts +34 -0
- package/dist/brl/RuleEditorProvider.d.ts +30 -0
- package/dist/brl/RuleUtils.d.ts +12 -0
- package/dist/brl/RuleWebEditor.d.ts +1 -0
- package/dist/brl/edit/PropertyChangeEdit.d.ts +4 -0
- package/dist/brl/edit/ScriptChangeEdit.d.ts +4 -0
- package/dist/brl/webviewHTMLContent.d.ts +8 -0
- package/dist/command/CompileAndPackageCommand.d.ts +3 -0
- package/dist/command/CompileRuleFilesCommand.d.ts +20 -0
- package/dist/command/CopyLibFilesCommand.d.ts +5 -0
- package/dist/command/DeployRuleFileCommand.d.ts +3 -0
- package/dist/command/OpenCompiledFileCommand.d.ts +3 -0
- package/dist/command/PackageRuleFilesCommand.d.ts +5 -0
- package/dist/command/RefactorUuidCommand.d.ts +3 -0
- package/dist/command/ReloadBomFilesCommand.d.ts +3 -0
- package/dist/command/ServerUrlConfigCommand.d.ts +4 -0
- package/dist/command/UpdateUuidCommand.d.ts +3 -0
- package/dist/compile/DecisionTableCompiler.d.ts +43 -0
- package/dist/compile/DecisionTableRulePreview.d.ts +5 -0
- package/dist/compile/ExpressionBuilder.d.ts +24 -0
- package/dist/compile/FileCompiler.d.ts +6 -0
- package/dist/compile/FlowCompiler.d.ts +18 -0
- package/dist/compile/PureWebCompiler.d.ts +1 -0
- package/dist/compile/RuleCompiler.d.ts +7 -0
- package/dist/compile/compileRuleScript.d.ts +5 -0
- package/dist/completion/ActionCompletionBuilder.d.ts +4 -0
- package/dist/completion/BatchConditionCompletionBuilder.d.ts +4 -0
- package/dist/completion/CompletionBuilder.d.ts +157 -0
- package/dist/completion/DatatypeAssertor.d.ts +16 -0
- package/dist/completion/ExpressionCompletionBuilder.d.ts +7 -0
- package/dist/completion/ObjectNameCompletionBuilder.d.ts +5 -0
- package/dist/completion/ObjectVariableAndMethodCompletion.d.ts +12 -0
- package/dist/completion/RuleKeyCompletionBuilder.d.ts +7 -0
- package/dist/completion/builder/BatchDeclareCompletionDataBuilder.d.ts +2 -0
- package/dist/completion/builder/CurrentItemCompletionDataBuilder.d.ts +9 -0
- package/dist/completion/builder/EnumCompletionItemBuilder.d.ts +7 -0
- package/dist/completion/builder/MethodCompletionDataBuilder.d.ts +8 -0
- package/dist/completion/builder/VariableCompletionItemBuilder.d.ts +9 -0
- package/dist/completion/configure/ArithOperatorHintBuilder.d.ts +12 -0
- package/dist/completion/configure/EnumHintBuilder.d.ts +8 -0
- package/dist/completion/configure/HintConfigBuilder.d.ts +52 -0
- package/dist/completion/configure/LiteralHintBuilder.d.ts +11 -0
- package/dist/completion/configure/MethodHintBuilder.d.ts +18 -0
- package/dist/completion/configure/ObjectHintBuilder.d.ts +10 -0
- package/dist/completion/configure/PlaceholderHintBuilder.d.ts +11 -0
- package/dist/completion/configure/VariableHintBuilder.d.ts +11 -0
- package/dist/completion/hint/HintCompletionBuilder.d.ts +11 -0
- package/dist/completion/hint/MethodCompletionBuilder.d.ts +9 -0
- package/dist/completion/hint/ObjectCompletionBuilder.d.ts +8 -0
- package/dist/completion/hint/ObjectNameCompletionBuilder.d.ts +7 -0
- package/dist/completion/hint/PlaceHolderCompletionBuilder.d.ts +5 -0
- package/dist/completion/hint/VariableCompletionBuilder.d.ts +7 -0
- package/dist/components/datatype/DatatypeSelectUtils.d.ts +13 -0
- package/dist/components/datatype/SelectDatatypeDialog.vue.d.ts +6 -0
- package/dist/components/form/TagInput.vue.d.ts +13 -0
- package/dist/components/menu/Item.vue.d.ts +9 -0
- package/dist/components/menu/Menu.vue.d.ts +8 -0
- package/dist/components/menu/MultiItem.vue.d.ts +12 -0
- package/dist/components/menu/events.d.ts +4 -0
- package/dist/components/menu/types.d.ts +15 -0
- package/dist/components/message/Dialog.vue.d.ts +36 -0
- package/dist/components/message/Message.vue.d.ts +8 -0
- package/dist/components/message/events.d.ts +19 -0
- package/dist/components/process/Connection.d.ts +196 -0
- package/dist/components/process/Menu.d.ts +12 -0
- package/dist/components/process/MenuItemFactory.d.ts +5 -0
- package/dist/components/process/MergeGroup.d.ts +12 -0
- package/dist/components/process/Process.d.ts +108 -0
- package/dist/components/process/ProcessNode.d.ts +340 -0
- package/dist/components/process/Tooltip.d.ts +20 -0
- package/dist/components/process/colors.d.ts +2 -0
- package/dist/components/process/events.d.ts +10 -0
- package/dist/components/process/types.d.ts +11 -0
- package/dist/components/select/Select.vue.d.ts +21 -0
- package/dist/components/select/SelectItem.d.ts +7 -0
- package/dist/components/splitter/HoizontalSplitter.vue.d.ts +34 -0
- package/dist/components/splitter/VerticalSplitter.vue.d.ts +43 -0
- package/dist/components/tab/Tab.vue.d.ts +27 -0
- package/dist/components/tree/TreeNode.vue.d.ts +31 -0
- package/dist/connect/Connect.vue.d.ts +3 -0
- package/dist/connect/ConnectComponent.vue.d.ts +3 -0
- package/dist/connect/ConnectProvider.d.ts +6 -0
- package/dist/connect/ConnectWebEditor.d.ts +1 -0
- package/dist/connect/webviewHTMLContent.d.ts +8 -0
- package/dist/content.d.ts +25 -0
- package/dist/dispose.d.ts +9 -0
- package/dist/dta/DecisionTableComponent.vue.d.ts +37 -0
- package/dist/dta/DecisionTableDeserialize.d.ts +3 -0
- package/dist/dta/DecisionTableEditor.vue.d.ts +20 -0
- package/dist/dta/DecisionTableSerialize.d.ts +2 -0
- package/dist/dta/DecisionTableUtils.d.ts +19 -0
- package/dist/dta/DecisionTableWebEditor.d.ts +1 -0
- package/dist/dta/DynamicEditableController.d.ts +46 -0
- package/dist/dta/PureWebDecisionTableEditor.vue.d.ts +59 -0
- package/dist/dta/component/ColumnNameBuilder.d.ts +2 -0
- package/dist/dta/component/DecisionTable.d.ts +136 -0
- package/dist/dta/component/DecisionTableCrossHeader.d.ts +11 -0
- package/dist/dta/component/DecisionTableHeader.d.ts +30 -0
- package/dist/dta/component/DecisionTableRowIndicate.d.ts +27 -0
- package/dist/dta/component/contentContextMenuEvent.d.ts +3 -0
- package/dist/dta/component/edit/ContentChangeEdit.d.ts +11 -0
- package/dist/dta/component/edit/DeleteHeaderEdit.d.ts +7 -0
- package/dist/dta/component/edit/DeleteRowEdit.d.ts +7 -0
- package/dist/dta/component/edit/HeaderChangeEdit.d.ts +7 -0
- package/dist/dta/component/edit/HeaderWidthChangeEdit.d.ts +9 -0
- package/dist/dta/component/edit/InsertHeaderEdit.d.ts +7 -0
- package/dist/dta/component/edit/InsertRowEdit.d.ts +7 -0
- package/dist/dta/component/edit/RowHeightChangeEdit.d.ts +9 -0
- package/dist/dta/component/edit/RowMoveEdit.d.ts +7 -0
- package/dist/dta/component/edit/StyleChangeEdit.d.ts +16 -0
- package/dist/dta/component/headerContextMenuEvent.d.ts +2 -0
- package/dist/dta/component/operationContextMenuBuilder.d.ts +4 -0
- package/dist/dta/component/operator/ColumnDelete.d.ts +10 -0
- package/dist/dta/component/operator/ColumnInsert.d.ts +14 -0
- package/dist/dta/component/operator/HeaderChange.d.ts +15 -0
- package/dist/dta/component/operator/MergeSelectedCells.d.ts +8 -0
- package/dist/dta/component/operator/ModelInitializer.d.ts +18 -0
- package/dist/dta/component/operator/RowDelete.d.ts +14 -0
- package/dist/dta/component/operator/RowInsert.d.ts +32 -0
- package/dist/dta/component/operator/SplitSelectedCell.d.ts +7 -0
- package/dist/dta/component/operator/SubHeaderBuilder.d.ts +18 -0
- package/dist/dta/component/operator/styleImpose.d.ts +3 -0
- package/dist/dta/dialog/CellStyleDialog.vue.d.ts +28 -0
- package/dist/dta/dialog/EditColumnDialog.vue.d.ts +8 -0
- package/dist/dta/dialog/Style.vue.d.ts +11 -0
- package/dist/dta/dialog/events.d.ts +2 -0
- package/dist/dta/model/ActionItem.d.ts +12 -0
- package/dist/dta/model/Cell.d.ts +59 -0
- package/dist/dta/model/ConditionItem.d.ts +37 -0
- package/dist/dta/model/DecisionTableModel.d.ts +89 -0
- package/dist/dta/model/Definition.d.ts +31 -0
- package/dist/dta/model/HeaderCell.d.ts +16 -0
- package/dist/dta/model/Item.d.ts +31 -0
- package/dist/dta/model/ItemCell.d.ts +46 -0
- package/dist/dta/model/Partition.d.ts +20 -0
- package/dist/dta/model/ResourceData.d.ts +7 -0
- package/dist/dta/model/Style.d.ts +19 -0
- package/dist/dta/model/SubHeader.d.ts +15 -0
- package/dist/dta/webview/DecisionTableDocument.d.ts +68 -0
- package/dist/dta/webview/DecisionTableEditorProvider.d.ts +31 -0
- package/dist/dta/webview/webviewHTMLContent.d.ts +8 -0
- package/dist/dtr/DecisionTreeComponent.vue.d.ts +39 -0
- package/dist/dtr/DecisionTreeEditor.vue.d.ts +21 -0
- package/dist/dtr/DecisionTreeWebEditor.d.ts +1 -0
- package/dist/dtr/PureWebDecisionTreeEditor.vue.d.ts +61 -0
- package/dist/dtr/designer/ActionInsert.d.ts +14 -0
- package/dist/dtr/designer/ConditionDelete.d.ts +5 -0
- package/dist/dtr/designer/ConditionInsert.d.ts +16 -0
- package/dist/dtr/designer/ConfigDialog.vue.d.ts +6 -0
- package/dist/dtr/designer/LabelDialog.vue.d.ts +6 -0
- package/dist/dtr/designer/NodeConnection.d.ts +21 -0
- package/dist/dtr/designer/PlaceholderEditableController.d.ts +66 -0
- package/dist/dtr/designer/TextBlock.d.ts +20 -0
- package/dist/dtr/designer/TreeDesigner.d.ts +75 -0
- package/dist/dtr/designer/TreeNode.d.ts +53 -0
- package/dist/dtr/designer/layout.d.ts +16 -0
- package/dist/dtr/designer/treeNodeBuilder.d.ts +18 -0
- package/dist/dtr/webview/DecisionTreeDocument.d.ts +68 -0
- package/dist/dtr/webview/DecisionTreeEditorProvider.d.ts +31 -0
- package/dist/dtr/webview/webviewHTMLContent.d.ts +8 -0
- package/dist/extension.d.ts +10 -0
- package/dist/flowFileLoader.d.ts +7 -0
- package/dist/grammar/CaretTokenDetection.d.ts +123 -0
- package/dist/grammar/DatatypeBuilder.d.ts +16 -0
- package/dist/grammar/LexerTokenConsumer.d.ts +27 -0
- package/dist/grammar/MethodHelper.d.ts +43 -0
- package/dist/grammar/ParserException.d.ts +3 -0
- package/dist/grammar/ParserHelper.d.ts +80 -0
- package/dist/grammar/SearchMethod.d.ts +15 -0
- package/dist/grammar/TokenAssertor.d.ts +34 -0
- package/dist/grammar/bom/BomLexer.d.ts +55 -0
- package/dist/grammar/bom/BomParser.d.ts +656 -0
- package/dist/grammar/bom/BomParserListener.d.ts +492 -0
- package/dist/grammar/bom/BomParserVisitor.d.ts +298 -0
- package/dist/grammar/diagnostic/ExpressionSemanticErrorBuild.d.ts +4 -0
- package/dist/grammar/diagnostic/GrammarDiagnostic.d.ts +20 -0
- package/dist/grammar/diagnostic/GrammarErrorListener.d.ts +20 -0
- package/dist/grammar/diagnostic/SemanticDiagnostic.d.ts +25 -0
- package/dist/grammar/parser/BoostRuleLexer.d.ts +21 -0
- package/dist/grammar/parser/BoostRuleParser.d.ts +57 -0
- package/dist/grammar/parser/MethodSearchForParser.d.ts +16 -0
- package/dist/grammar/rule/RuleLexer.d.ts +89 -0
- package/dist/grammar/rule/RuleParser.d.ts +537 -0
- package/dist/grammar/rule/RuleParserListener.d.ts +436 -0
- package/dist/grammar/rule/RuleParserVisitor.d.ts +264 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +161109 -0
- package/dist/index.umd.js +887 -0
- package/dist/java-C_jlkwoG.js +238 -0
- package/dist/model/BO.d.ts +281 -0
- package/dist/model/BomFilesReader.d.ts +13 -0
- package/dist/model/Datatype.d.ts +84 -0
- package/dist/model/NavigationTree.d.ts +207 -0
- package/dist/model/PureWebBomFilesReader.d.ts +13 -0
- package/dist/model/RuleProperty.d.ts +6 -0
- package/dist/model/VarFilesReader.d.ts +9 -0
- package/dist/model/VocFilesReader.d.ts +77 -0
- package/dist/model/VscodeBomFilesReader.d.ts +2 -0
- package/dist/model/VscodeBuiltinObjectsLoader.d.ts +14 -0
- package/dist/model/WebBuiltinObjectsLoader.d.ts +13 -0
- package/dist/model/WebViewBomFilesReader.d.ts +1 -0
- package/dist/model/datatypeCompatibility.d.ts +2 -0
- package/dist/model/domainValidate.d.ts +5 -0
- package/dist/model/expression/ArithExpression.d.ts +17 -0
- package/dist/model/expression/BatchExpression.d.ts +14 -0
- package/dist/model/expression/CharExpression.d.ts +6 -0
- package/dist/model/expression/CurrentObjectExpression.d.ts +9 -0
- package/dist/model/expression/DateExpression.d.ts +6 -0
- package/dist/model/expression/DateTimeExpression.d.ts +6 -0
- package/dist/model/expression/EnumExpression.d.ts +8 -0
- package/dist/model/expression/Expression.d.ts +8 -0
- package/dist/model/expression/MethodExpression.d.ts +12 -0
- package/dist/model/expression/NumberExpression.d.ts +6 -0
- package/dist/model/expression/ObjectExpression.d.ts +7 -0
- package/dist/model/expression/PlaceholderExpression.d.ts +20 -0
- package/dist/model/expression/PredefineExpression.d.ts +25 -0
- package/dist/model/expression/RuleExpression.d.ts +18 -0
- package/dist/model/expression/StringExpression.d.ts +7 -0
- package/dist/model/expression/TimeExpression.d.ts +6 -0
- package/dist/model/expression/VariableExpression.d.ts +10 -0
- package/dist/model/expression/compile/commonMethodScriptCompile.d.ts +4 -0
- package/dist/model/expression/compile/compareMethodScriptCompile.d.ts +4 -0
- package/dist/monaco/ExpressionFinder.d.ts +32 -0
- package/dist/monaco/MonacoCodeEditor.d.ts +34 -0
- package/dist/monaco/MonacoCompletionProvider.d.ts +10 -0
- package/dist/monaco/MonacoDefinitionProvider.d.ts +7 -0
- package/dist/monaco/MonacoDiagnosticsBuilder.d.ts +21 -0
- package/dist/monaco/MonacoEditorOpener.d.ts +4 -0
- package/dist/monaco/MonacoHoverProvider.d.ts +16 -0
- package/dist/monaco/MonacoJavaEditor.d.ts +2 -0
- package/dist/monaco/MonacoLanguageConfiguration.d.ts +3 -0
- package/dist/monaco/MonacoLinkProvider.d.ts +7 -0
- package/dist/monaco/MonacoSemanticTokensProvider.d.ts +11 -0
- package/dist/monaco/MonacoTokenStyleRules.d.ts +3 -0
- package/dist/monaco/MonacoWorkerInitialize.d.ts +2 -0
- package/dist/monaco/ReadonlyMonacoCodeEditor.d.ts +6 -0
- package/dist/monaco/buildTargetPartExpressionSemantics.d.ts +31 -0
- package/dist/monaco/customMonaco.d.ts +2 -0
- package/dist/monaco/parseTargetPartRuleScript.d.ts +13 -0
- package/dist/projectprops/Category.vue.d.ts +8 -0
- package/dist/projectprops/Parameter.vue.d.ts +8 -0
- package/dist/projectprops/ProjectProperties.d.ts +33 -0
- package/dist/projectprops/ProjectPropertiesEditor.d.ts +1 -0
- package/dist/projectprops/ProjectPropertiesEditor.vue.d.ts +8 -0
- package/dist/projectprops/ProjectPropertiesEditorComponent.vue.d.ts +3 -0
- package/dist/projectprops/PureWebProjectPropertiesEditor.vue.d.ts +41 -0
- package/dist/projectprops/webview/ProjectPropertiesDocument.d.ts +67 -0
- package/dist/projectprops/webview/ProjectPropertiesEditorProvider.d.ts +26 -0
- package/dist/projectprops/webview/webviewHTMLContent.d.ts +8 -0
- package/dist/quicktest/Log.d.ts +49 -0
- package/dist/quicktest/LogDashboard.vue.d.ts +8 -0
- package/dist/quicktest/LogDialog.vue.d.ts +6 -0
- package/dist/quicktest/OutputDashboard.vue.d.ts +7 -0
- package/dist/quicktest/PasteJsonDialog.vue.d.ts +6 -0
- package/dist/quicktest/QuickTestDialog.vue.d.ts +7 -0
- package/dist/quicktest/TestUtils.d.ts +42 -0
- package/dist/quicktest/VariableForm.vue.d.ts +11 -0
- package/dist/refactor/DecisionTableFileRefactor.d.ts +6 -0
- package/dist/refactor/FileRefactor.d.ts +63 -0
- package/dist/refactor/FlowFileRefactor.d.ts +7 -0
- package/dist/refactor/RuleFileRefactor.d.ts +5 -0
- package/dist/rfl/FlowProcess.d.ts +56 -0
- package/dist/rfl/FlowProperties.d.ts +7 -0
- package/dist/rfl/MenuFactory.d.ts +7 -0
- package/dist/rfl/RuleFlowEditor.d.ts +0 -0
- package/dist/rfl/config/Common.d.ts +6 -0
- package/dist/rfl/config/Enums.d.ts +9 -0
- package/dist/rfl/config/TaskAction.d.ts +29 -0
- package/dist/rfl/config/Url.d.ts +1 -0
- package/dist/rfl/data/ActionNodeData.d.ts +44 -0
- package/dist/rfl/data/BranchNodeData.d.ts +12 -0
- package/dist/rfl/data/ConnectionData.d.ts +60 -0
- package/dist/rfl/data/ForkNodeData.d.ts +12 -0
- package/dist/rfl/data/JoinNodeData.d.ts +12 -0
- package/dist/rfl/data/NodeData.d.ts +27 -0
- package/dist/rfl/data/RuleFile.d.ts +67 -0
- package/dist/rfl/data/RuleNodeData.d.ts +174 -0
- package/dist/rfl/data/StartNodeData.d.ts +38 -0
- package/dist/rfl/data/StopNodeData.d.ts +38 -0
- package/dist/rfl/data/SubflowNodeData.d.ts +40 -0
- package/dist/rfl/data/TaskNodeData.d.ts +17 -0
- package/dist/rfl/definition/ConnectionDef.d.ts +31 -0
- package/dist/rfl/definition/JsonUtils.d.ts +67 -0
- package/dist/rfl/definition/ProcessDef.d.ts +191 -0
- package/dist/rfl/definition/ProcessNodeDef.d.ts +145 -0
- package/dist/rfl/definition/node/ActionTaskNodeDef.d.ts +74 -0
- package/dist/rfl/definition/node/BasicNodeDef.d.ts +15 -0
- package/dist/rfl/definition/node/BranchNodeDef.d.ts +40 -0
- package/dist/rfl/definition/node/ConnectionFactoryDef.d.ts +10 -0
- package/dist/rfl/definition/node/FlowConnectionDef.d.ts +58 -0
- package/dist/rfl/definition/node/FlowProcessNodeDef.d.ts +98 -0
- package/dist/rfl/definition/node/ForkNodeDef.d.ts +40 -0
- package/dist/rfl/definition/node/JoinNodeDef.d.ts +40 -0
- package/dist/rfl/definition/node/NodeType.d.ts +70 -0
- package/dist/rfl/definition/node/RuleTaskNodeDef.d.ts +62 -0
- package/dist/rfl/definition/node/StartTaskNodeDef.d.ts +71 -0
- package/dist/rfl/definition/node/StopTaskNodeDef.d.ts +71 -0
- package/dist/rfl/definition/node/SubflowTaskNodeDef.d.ts +55 -0
- package/dist/rfl/definition/node/TaskNodeDef.d.ts +31 -0
- package/dist/rfl/designer/Designer.vue.d.ts +38 -0
- package/dist/rfl/designer/DesignerComponent.vue.d.ts +59 -0
- package/dist/rfl/designer/ProcessUtils.d.ts +6 -0
- package/dist/rfl/designer/PureWebFlowEditor.vue.d.ts +81 -0
- package/dist/rfl/designer/editor/ConnectionEditor.vue.d.ts +8 -0
- package/dist/rfl/designer/editor/FlowEditor.vue.d.ts +3 -0
- package/dist/rfl/designer/editor/NodeEditor.vue.d.ts +3 -0
- package/dist/rfl/designer/editor/NodeList.vue.d.ts +9 -0
- package/dist/rfl/designer/editor/ProcessEditor.vue.d.ts +8 -0
- package/dist/rfl/en.d.ts +14 -0
- package/dist/rfl/events.d.ts +21 -0
- package/dist/rfl/node/ActionTaskNode.d.ts +22 -0
- package/dist/rfl/node/BasicNode.d.ts +8 -0
- package/dist/rfl/node/BranchNode.d.ts +48 -0
- package/dist/rfl/node/ConnectionFactory.d.ts +10 -0
- package/dist/rfl/node/FlowConnection.d.ts +45 -0
- package/dist/rfl/node/FlowProcessNode.d.ts +128 -0
- package/dist/rfl/node/ForkNode.d.ts +54 -0
- package/dist/rfl/node/JoinNode.d.ts +54 -0
- package/dist/rfl/node/NodeUtils.d.ts +15 -0
- package/dist/rfl/node/ProcessNodeFactory.d.ts +41 -0
- package/dist/rfl/node/RuleTaskNode.d.ts +76 -0
- package/dist/rfl/node/StartTaskNode.d.ts +74 -0
- package/dist/rfl/node/StopTaskNode.d.ts +84 -0
- package/dist/rfl/node/SubflowTaskNode.d.ts +70 -0
- package/dist/rfl/node/TaskNode.d.ts +42 -0
- package/dist/rfl/props/ActionNodeProperty.vue.d.ts +12 -0
- package/dist/rfl/props/BranchNodeProperty.vue.d.ts +10 -0
- package/dist/rfl/props/ConnectionProperty.vue.d.ts +5 -0
- package/dist/rfl/props/FlowFileSelectDialog.vue.d.ts +6 -0
- package/dist/rfl/props/ForkNodeProperty.vue.d.ts +10 -0
- package/dist/rfl/props/JoinNodeProperty.vue.d.ts +10 -0
- package/dist/rfl/props/RuleFileSelectDialog.vue.d.ts +8 -0
- package/dist/rfl/props/RuleNodeProperty.vue.d.ts +11 -0
- package/dist/rfl/props/StartNodeProperty.vue.d.ts +10 -0
- package/dist/rfl/props/StopNodeProperty.vue.d.ts +10 -0
- package/dist/rfl/props/SubflowNodeProperty.vue.d.ts +11 -0
- package/dist/rfl/utils/Msg.d.ts +5 -0
- package/dist/rfl/utils/Utils.d.ts +43 -0
- package/dist/rfl/utils/XMLUtils.d.ts +59 -0
- package/dist/rfl/webview/RuleFlowDocument.d.ts +68 -0
- package/dist/rfl/webview/RuleFlowEditorProvider.d.ts +33 -0
- package/dist/rfl/webview/webviewHTMLContent.d.ts +8 -0
- package/dist/rfl/zh.d.ts +14 -0
- package/dist/sca/webview/ScoreCardDocument.d.ts +68 -0
- package/dist/sca/webview/ScoreCardEditorProvider.d.ts +31 -0
- package/dist/sca/webview/webviewHTMLContent.d.ts +8 -0
- package/dist/server/TestBomFilesLoader.d.ts +13 -0
- package/dist/server/TestFlowFileLoader.d.ts +22 -0
- package/dist/server/server.d.ts +1 -0
- package/dist/sync/ProjectSync.vue.d.ts +6 -0
- package/dist/sync/ProjectSyncDocument.d.ts +67 -0
- package/dist/sync/ProjectSyncEditor.vue.d.ts +3 -0
- package/dist/sync/ProjectSyncEditorComponent.vue.d.ts +3 -0
- package/dist/sync/ProjectSyncEditorProvider.d.ts +28 -0
- package/dist/sync/ProjectSyncEntryBuilder.d.ts +65 -0
- package/dist/sync/ProjectSyncWebEditor.d.ts +1 -0
- package/dist/sync/SyncEntry.d.ts +11 -0
- package/dist/sync/SyncFileUitls.d.ts +16 -0
- package/dist/sync/tree/TreeNode.vue.d.ts +31 -0
- package/dist/sync/webviewHTMLContent.d.ts +8 -0
- package/dist/tst/PredictFormDialog.vue.d.ts +6 -0
- package/dist/tst/PureWebTstEditor.vue.d.ts +41 -0
- package/dist/tst/ResponseDialog.vue.d.ts +6 -0
- package/dist/tst/TstEditor.vue.d.ts +8 -0
- package/dist/tst/TstEditorComponent.vue.d.ts +3 -0
- package/dist/tst/TstUtils.d.ts +30 -0
- package/dist/tst/TstWebEditor.d.ts +1 -0
- package/dist/tst/webview/TstDocument.d.ts +67 -0
- package/dist/tst/webview/TstEditorProvider.d.ts +30 -0
- package/dist/tst/webview/webviewHTMLContent.d.ts +8 -0
- package/dist/utils.d.ts +104 -0
- package/dist/var/PureWebVariableEditor.vue.d.ts +41 -0
- package/dist/var/VariableEditor.vue.d.ts +8 -0
- package/dist/var/VariableEditorComponent.vue.d.ts +3 -0
- package/dist/var/VariableModel.d.ts +22 -0
- package/dist/var/VariableRefactorDialog.vue.d.ts +3 -0
- package/dist/var/VariableWebEditor.d.ts +1 -0
- package/dist/var/webview/VariableDocument.d.ts +67 -0
- package/dist/var/webview/VariableEditorProvider.d.ts +38 -0
- package/dist/var/webview/webviewHTMLContent.d.ts +8 -0
- package/dist/view&document.d.ts +9 -0
- package/dist/webviewFiles.d.ts +42 -0
- package/dist/webviewFilesOperator.d.ts +24 -0
- package/package.json +88 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import { AbstractParseTreeVisitor } from 'antlr4ng';
|
|
2
|
+
import { BomsContext, BomContext, ClassDeclareContext, StandardClassDeclareContext, StandardDomainClassDeclareContext, StandardInterfaceClassDeclareContext, StandardEumnClassDeclareContext, ClassBodyContext, ClassBodyContentContext, InnerClassContext, InnerClassDeclareContext, InterfaceClassDeclareContext, StaticClassDeclareContext, EnumClassDeclareContext, ClassDomainContext, ClassDomainItemContext, ClassDomainValueContext, FieldContext, MethodContext, ObjectConstructorContext, ThrowsPartContext, ParametersContext, ParameterDeclareContext, DomainDeclareContext, OtherDomainValueContext, GenericityDomainValueContext, LiteralDomainValueContext, StaticDomainValueContext, LimitDomainValueContext, OtherValueContext, NumberDomainValueContext, LimitValueContext, LimitTagContext, StaticValueContext, NumberContext, ScopeValueContext, ImplementsPartContext, ExtendsPartContext, PackageDeclareContext, DatatypeContext, ArrayTagContext, PackageNameContext, PropertyItemContext, PropertyNameContext, ClassNameContext, FieldNameContext, MethodNameContext } from './BomParser.js';
|
|
3
|
+
/**
|
|
4
|
+
* This interface defines a complete generic visitor for a parse tree produced
|
|
5
|
+
* by `BomParser`.
|
|
6
|
+
*
|
|
7
|
+
* @param <Result> The return type of the visit operation. Use `void` for
|
|
8
|
+
* operations with no return type.
|
|
9
|
+
*/
|
|
10
|
+
export declare class BomParserVisitor<Result> extends AbstractParseTreeVisitor<Result> {
|
|
11
|
+
/**
|
|
12
|
+
* Visit a parse tree produced by `BomParser.boms`.
|
|
13
|
+
* @param ctx the parse tree
|
|
14
|
+
* @return the visitor result
|
|
15
|
+
*/
|
|
16
|
+
visitBoms?: (ctx: BomsContext) => Result;
|
|
17
|
+
/**
|
|
18
|
+
* Visit a parse tree produced by `BomParser.bom`.
|
|
19
|
+
* @param ctx the parse tree
|
|
20
|
+
* @return the visitor result
|
|
21
|
+
*/
|
|
22
|
+
visitBom?: (ctx: BomContext) => Result;
|
|
23
|
+
/**
|
|
24
|
+
* Visit a parse tree produced by `BomParser.classDeclare`.
|
|
25
|
+
* @param ctx the parse tree
|
|
26
|
+
* @return the visitor result
|
|
27
|
+
*/
|
|
28
|
+
visitClassDeclare?: (ctx: ClassDeclareContext) => Result;
|
|
29
|
+
/**
|
|
30
|
+
* Visit a parse tree produced by `BomParser.standardClassDeclare`.
|
|
31
|
+
* @param ctx the parse tree
|
|
32
|
+
* @return the visitor result
|
|
33
|
+
*/
|
|
34
|
+
visitStandardClassDeclare?: (ctx: StandardClassDeclareContext) => Result;
|
|
35
|
+
/**
|
|
36
|
+
* Visit a parse tree produced by `BomParser.standardDomainClassDeclare`.
|
|
37
|
+
* @param ctx the parse tree
|
|
38
|
+
* @return the visitor result
|
|
39
|
+
*/
|
|
40
|
+
visitStandardDomainClassDeclare?: (ctx: StandardDomainClassDeclareContext) => Result;
|
|
41
|
+
/**
|
|
42
|
+
* Visit a parse tree produced by `BomParser.standardInterfaceClassDeclare`.
|
|
43
|
+
* @param ctx the parse tree
|
|
44
|
+
* @return the visitor result
|
|
45
|
+
*/
|
|
46
|
+
visitStandardInterfaceClassDeclare?: (ctx: StandardInterfaceClassDeclareContext) => Result;
|
|
47
|
+
/**
|
|
48
|
+
* Visit a parse tree produced by `BomParser.standardEumnClassDeclare`.
|
|
49
|
+
* @param ctx the parse tree
|
|
50
|
+
* @return the visitor result
|
|
51
|
+
*/
|
|
52
|
+
visitStandardEumnClassDeclare?: (ctx: StandardEumnClassDeclareContext) => Result;
|
|
53
|
+
/**
|
|
54
|
+
* Visit a parse tree produced by `BomParser.classBody`.
|
|
55
|
+
* @param ctx the parse tree
|
|
56
|
+
* @return the visitor result
|
|
57
|
+
*/
|
|
58
|
+
visitClassBody?: (ctx: ClassBodyContext) => Result;
|
|
59
|
+
/**
|
|
60
|
+
* Visit a parse tree produced by `BomParser.classBodyContent`.
|
|
61
|
+
* @param ctx the parse tree
|
|
62
|
+
* @return the visitor result
|
|
63
|
+
*/
|
|
64
|
+
visitClassBodyContent?: (ctx: ClassBodyContentContext) => Result;
|
|
65
|
+
/**
|
|
66
|
+
* Visit a parse tree produced by `BomParser.innerClass`.
|
|
67
|
+
* @param ctx the parse tree
|
|
68
|
+
* @return the visitor result
|
|
69
|
+
*/
|
|
70
|
+
visitInnerClass?: (ctx: InnerClassContext) => Result;
|
|
71
|
+
/**
|
|
72
|
+
* Visit a parse tree produced by `BomParser.innerClassDeclare`.
|
|
73
|
+
* @param ctx the parse tree
|
|
74
|
+
* @return the visitor result
|
|
75
|
+
*/
|
|
76
|
+
visitInnerClassDeclare?: (ctx: InnerClassDeclareContext) => Result;
|
|
77
|
+
/**
|
|
78
|
+
* Visit a parse tree produced by `BomParser.interfaceClassDeclare`.
|
|
79
|
+
* @param ctx the parse tree
|
|
80
|
+
* @return the visitor result
|
|
81
|
+
*/
|
|
82
|
+
visitInterfaceClassDeclare?: (ctx: InterfaceClassDeclareContext) => Result;
|
|
83
|
+
/**
|
|
84
|
+
* Visit a parse tree produced by `BomParser.staticClassDeclare`.
|
|
85
|
+
* @param ctx the parse tree
|
|
86
|
+
* @return the visitor result
|
|
87
|
+
*/
|
|
88
|
+
visitStaticClassDeclare?: (ctx: StaticClassDeclareContext) => Result;
|
|
89
|
+
/**
|
|
90
|
+
* Visit a parse tree produced by `BomParser.enumClassDeclare`.
|
|
91
|
+
* @param ctx the parse tree
|
|
92
|
+
* @return the visitor result
|
|
93
|
+
*/
|
|
94
|
+
visitEnumClassDeclare?: (ctx: EnumClassDeclareContext) => Result;
|
|
95
|
+
/**
|
|
96
|
+
* Visit a parse tree produced by `BomParser.classDomain`.
|
|
97
|
+
* @param ctx the parse tree
|
|
98
|
+
* @return the visitor result
|
|
99
|
+
*/
|
|
100
|
+
visitClassDomain?: (ctx: ClassDomainContext) => Result;
|
|
101
|
+
/**
|
|
102
|
+
* Visit a parse tree produced by `BomParser.classDomainItem`.
|
|
103
|
+
* @param ctx the parse tree
|
|
104
|
+
* @return the visitor result
|
|
105
|
+
*/
|
|
106
|
+
visitClassDomainItem?: (ctx: ClassDomainItemContext) => Result;
|
|
107
|
+
/**
|
|
108
|
+
* Visit a parse tree produced by `BomParser.classDomainValue`.
|
|
109
|
+
* @param ctx the parse tree
|
|
110
|
+
* @return the visitor result
|
|
111
|
+
*/
|
|
112
|
+
visitClassDomainValue?: (ctx: ClassDomainValueContext) => Result;
|
|
113
|
+
/**
|
|
114
|
+
* Visit a parse tree produced by `BomParser.field`.
|
|
115
|
+
* @param ctx the parse tree
|
|
116
|
+
* @return the visitor result
|
|
117
|
+
*/
|
|
118
|
+
visitField?: (ctx: FieldContext) => Result;
|
|
119
|
+
/**
|
|
120
|
+
* Visit a parse tree produced by `BomParser.method`.
|
|
121
|
+
* @param ctx the parse tree
|
|
122
|
+
* @return the visitor result
|
|
123
|
+
*/
|
|
124
|
+
visitMethod?: (ctx: MethodContext) => Result;
|
|
125
|
+
/**
|
|
126
|
+
* Visit a parse tree produced by `BomParser.objectConstructor`.
|
|
127
|
+
* @param ctx the parse tree
|
|
128
|
+
* @return the visitor result
|
|
129
|
+
*/
|
|
130
|
+
visitObjectConstructor?: (ctx: ObjectConstructorContext) => Result;
|
|
131
|
+
/**
|
|
132
|
+
* Visit a parse tree produced by `BomParser.throwsPart`.
|
|
133
|
+
* @param ctx the parse tree
|
|
134
|
+
* @return the visitor result
|
|
135
|
+
*/
|
|
136
|
+
visitThrowsPart?: (ctx: ThrowsPartContext) => Result;
|
|
137
|
+
/**
|
|
138
|
+
* Visit a parse tree produced by `BomParser.parameters`.
|
|
139
|
+
* @param ctx the parse tree
|
|
140
|
+
* @return the visitor result
|
|
141
|
+
*/
|
|
142
|
+
visitParameters?: (ctx: ParametersContext) => Result;
|
|
143
|
+
/**
|
|
144
|
+
* Visit a parse tree produced by `BomParser.parameterDeclare`.
|
|
145
|
+
* @param ctx the parse tree
|
|
146
|
+
* @return the visitor result
|
|
147
|
+
*/
|
|
148
|
+
visitParameterDeclare?: (ctx: ParameterDeclareContext) => Result;
|
|
149
|
+
/**
|
|
150
|
+
* Visit a parse tree produced by `BomParser.domainDeclare`.
|
|
151
|
+
* @param ctx the parse tree
|
|
152
|
+
* @return the visitor result
|
|
153
|
+
*/
|
|
154
|
+
visitDomainDeclare?: (ctx: DomainDeclareContext) => Result;
|
|
155
|
+
/**
|
|
156
|
+
* Visit a parse tree produced by the `otherDomainValue`
|
|
157
|
+
* labeled alternative in `BomParser.domainValue`.
|
|
158
|
+
* @param ctx the parse tree
|
|
159
|
+
* @return the visitor result
|
|
160
|
+
*/
|
|
161
|
+
visitOtherDomainValue?: (ctx: OtherDomainValueContext) => Result;
|
|
162
|
+
/**
|
|
163
|
+
* Visit a parse tree produced by the `genericityDomainValue`
|
|
164
|
+
* labeled alternative in `BomParser.domainValue`.
|
|
165
|
+
* @param ctx the parse tree
|
|
166
|
+
* @return the visitor result
|
|
167
|
+
*/
|
|
168
|
+
visitGenericityDomainValue?: (ctx: GenericityDomainValueContext) => Result;
|
|
169
|
+
/**
|
|
170
|
+
* Visit a parse tree produced by the `literalDomainValue`
|
|
171
|
+
* labeled alternative in `BomParser.domainValue`.
|
|
172
|
+
* @param ctx the parse tree
|
|
173
|
+
* @return the visitor result
|
|
174
|
+
*/
|
|
175
|
+
visitLiteralDomainValue?: (ctx: LiteralDomainValueContext) => Result;
|
|
176
|
+
/**
|
|
177
|
+
* Visit a parse tree produced by the `staticDomainValue`
|
|
178
|
+
* labeled alternative in `BomParser.domainValue`.
|
|
179
|
+
* @param ctx the parse tree
|
|
180
|
+
* @return the visitor result
|
|
181
|
+
*/
|
|
182
|
+
visitStaticDomainValue?: (ctx: StaticDomainValueContext) => Result;
|
|
183
|
+
/**
|
|
184
|
+
* Visit a parse tree produced by the `limitDomainValue`
|
|
185
|
+
* labeled alternative in `BomParser.domainValue`.
|
|
186
|
+
* @param ctx the parse tree
|
|
187
|
+
* @return the visitor result
|
|
188
|
+
*/
|
|
189
|
+
visitLimitDomainValue?: (ctx: LimitDomainValueContext) => Result;
|
|
190
|
+
/**
|
|
191
|
+
* Visit a parse tree produced by `BomParser.otherValue`.
|
|
192
|
+
* @param ctx the parse tree
|
|
193
|
+
* @return the visitor result
|
|
194
|
+
*/
|
|
195
|
+
visitOtherValue?: (ctx: OtherValueContext) => Result;
|
|
196
|
+
/**
|
|
197
|
+
* Visit a parse tree produced by `BomParser.numberDomainValue`.
|
|
198
|
+
* @param ctx the parse tree
|
|
199
|
+
* @return the visitor result
|
|
200
|
+
*/
|
|
201
|
+
visitNumberDomainValue?: (ctx: NumberDomainValueContext) => Result;
|
|
202
|
+
/**
|
|
203
|
+
* Visit a parse tree produced by `BomParser.limitValue`.
|
|
204
|
+
* @param ctx the parse tree
|
|
205
|
+
* @return the visitor result
|
|
206
|
+
*/
|
|
207
|
+
visitLimitValue?: (ctx: LimitValueContext) => Result;
|
|
208
|
+
/**
|
|
209
|
+
* Visit a parse tree produced by `BomParser.limitTag`.
|
|
210
|
+
* @param ctx the parse tree
|
|
211
|
+
* @return the visitor result
|
|
212
|
+
*/
|
|
213
|
+
visitLimitTag?: (ctx: LimitTagContext) => Result;
|
|
214
|
+
/**
|
|
215
|
+
* Visit a parse tree produced by `BomParser.staticValue`.
|
|
216
|
+
* @param ctx the parse tree
|
|
217
|
+
* @return the visitor result
|
|
218
|
+
*/
|
|
219
|
+
visitStaticValue?: (ctx: StaticValueContext) => Result;
|
|
220
|
+
/**
|
|
221
|
+
* Visit a parse tree produced by `BomParser.number`.
|
|
222
|
+
* @param ctx the parse tree
|
|
223
|
+
* @return the visitor result
|
|
224
|
+
*/
|
|
225
|
+
visitNumber?: (ctx: NumberContext) => Result;
|
|
226
|
+
/**
|
|
227
|
+
* Visit a parse tree produced by `BomParser.scopeValue`.
|
|
228
|
+
* @param ctx the parse tree
|
|
229
|
+
* @return the visitor result
|
|
230
|
+
*/
|
|
231
|
+
visitScopeValue?: (ctx: ScopeValueContext) => Result;
|
|
232
|
+
/**
|
|
233
|
+
* Visit a parse tree produced by `BomParser.implementsPart`.
|
|
234
|
+
* @param ctx the parse tree
|
|
235
|
+
* @return the visitor result
|
|
236
|
+
*/
|
|
237
|
+
visitImplementsPart?: (ctx: ImplementsPartContext) => Result;
|
|
238
|
+
/**
|
|
239
|
+
* Visit a parse tree produced by `BomParser.extendsPart`.
|
|
240
|
+
* @param ctx the parse tree
|
|
241
|
+
* @return the visitor result
|
|
242
|
+
*/
|
|
243
|
+
visitExtendsPart?: (ctx: ExtendsPartContext) => Result;
|
|
244
|
+
/**
|
|
245
|
+
* Visit a parse tree produced by `BomParser.packageDeclare`.
|
|
246
|
+
* @param ctx the parse tree
|
|
247
|
+
* @return the visitor result
|
|
248
|
+
*/
|
|
249
|
+
visitPackageDeclare?: (ctx: PackageDeclareContext) => Result;
|
|
250
|
+
/**
|
|
251
|
+
* Visit a parse tree produced by `BomParser.datatype`.
|
|
252
|
+
* @param ctx the parse tree
|
|
253
|
+
* @return the visitor result
|
|
254
|
+
*/
|
|
255
|
+
visitDatatype?: (ctx: DatatypeContext) => Result;
|
|
256
|
+
/**
|
|
257
|
+
* Visit a parse tree produced by `BomParser.arrayTag`.
|
|
258
|
+
* @param ctx the parse tree
|
|
259
|
+
* @return the visitor result
|
|
260
|
+
*/
|
|
261
|
+
visitArrayTag?: (ctx: ArrayTagContext) => Result;
|
|
262
|
+
/**
|
|
263
|
+
* Visit a parse tree produced by `BomParser.packageName`.
|
|
264
|
+
* @param ctx the parse tree
|
|
265
|
+
* @return the visitor result
|
|
266
|
+
*/
|
|
267
|
+
visitPackageName?: (ctx: PackageNameContext) => Result;
|
|
268
|
+
/**
|
|
269
|
+
* Visit a parse tree produced by `BomParser.propertyItem`.
|
|
270
|
+
* @param ctx the parse tree
|
|
271
|
+
* @return the visitor result
|
|
272
|
+
*/
|
|
273
|
+
visitPropertyItem?: (ctx: PropertyItemContext) => Result;
|
|
274
|
+
/**
|
|
275
|
+
* Visit a parse tree produced by `BomParser.propertyName`.
|
|
276
|
+
* @param ctx the parse tree
|
|
277
|
+
* @return the visitor result
|
|
278
|
+
*/
|
|
279
|
+
visitPropertyName?: (ctx: PropertyNameContext) => Result;
|
|
280
|
+
/**
|
|
281
|
+
* Visit a parse tree produced by `BomParser.className`.
|
|
282
|
+
* @param ctx the parse tree
|
|
283
|
+
* @return the visitor result
|
|
284
|
+
*/
|
|
285
|
+
visitClassName?: (ctx: ClassNameContext) => Result;
|
|
286
|
+
/**
|
|
287
|
+
* Visit a parse tree produced by `BomParser.fieldName`.
|
|
288
|
+
* @param ctx the parse tree
|
|
289
|
+
* @return the visitor result
|
|
290
|
+
*/
|
|
291
|
+
visitFieldName?: (ctx: FieldNameContext) => Result;
|
|
292
|
+
/**
|
|
293
|
+
* Visit a parse tree produced by `BomParser.methodName`.
|
|
294
|
+
* @param ctx the parse tree
|
|
295
|
+
* @return the visitor result
|
|
296
|
+
*/
|
|
297
|
+
visitMethodName?: (ctx: MethodNameContext) => Result;
|
|
298
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParseTree } from 'antlr4ng';
|
|
2
|
+
import { ExpressionContext } from '../rule/RuleParser';
|
|
3
|
+
import { DiagnosticDataContext } from './SemanticDiagnostic';
|
|
4
|
+
export declare const buildExpressionSemanticErrors: (expression: ExpressionContext, dataContext: DiagnosticDataContext, diagnosedContexts: Set<ParseTree>) => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CommonTokenStream } from 'antlr4ng';
|
|
2
|
+
import { Datatype } from '../../model/Datatype';
|
|
3
|
+
import { default as BoostRuleLexer } from '../parser/BoostRuleLexer';
|
|
4
|
+
import { default as BoostRuleParser } from '../parser/BoostRuleParser';
|
|
5
|
+
import { ParserHelper } from '../ParserHelper';
|
|
6
|
+
import { SemanticErrorData } from './SemanticDiagnostic';
|
|
7
|
+
export declare const parseRule: (text: string) => {
|
|
8
|
+
lexer: BoostRuleLexer;
|
|
9
|
+
parser: BoostRuleParser;
|
|
10
|
+
tokensStream: CommonTokenStream;
|
|
11
|
+
avaliablePredefineVariablesMap: Map<string, Datatype>;
|
|
12
|
+
parserHelper: ParserHelper;
|
|
13
|
+
};
|
|
14
|
+
export declare const parseRuleWithErrorHint: (text: string, location: string, semanticErrorDatas: SemanticErrorData[]) => {
|
|
15
|
+
lexer: BoostRuleLexer;
|
|
16
|
+
parser: BoostRuleParser;
|
|
17
|
+
tokensStream: CommonTokenStream;
|
|
18
|
+
avaliablePredefineVariablesMap: Map<string, Datatype>;
|
|
19
|
+
parserHelper: ParserHelper;
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ATNSimulator, BaseErrorListener, RecognitionException, Recognizer, Token } from 'antlr4ng';
|
|
2
|
+
import { SemanticErrorData } from './SemanticDiagnostic';
|
|
3
|
+
export declare class GrammarErrorListener extends BaseErrorListener {
|
|
4
|
+
private errorList;
|
|
5
|
+
constructor(errorList: SemanticErrorData[]);
|
|
6
|
+
/**
|
|
7
|
+
* 处理语法错误
|
|
8
|
+
*
|
|
9
|
+
* 当识别到语法错误时调用此函数记录错误信息并进行标记
|
|
10
|
+
* 该函数主要通过日志记录错误的上下文和位置,并在源代码中创建一个范围对象来标记错误位置
|
|
11
|
+
*
|
|
12
|
+
* @param recognizer 这是当前抛出错误的识别器对象。对于词法分析器(Lexer),它是一个 Lexer 实例;对于解析器(Parser),它是一个 Parser 实例。
|
|
13
|
+
* @param offendingSymbol 引起语法错误的符号,这是引起错误的符号(标记或字符)。对于词法分析器,这是一个 IToken 对象;对于解析器,这通常是当前正在处理的标记或 IToken 对象。
|
|
14
|
+
* @param line 错误发生的行号
|
|
15
|
+
* @param column 错误发生的列号
|
|
16
|
+
* @param msg 错误信息描述
|
|
17
|
+
* @param e RecognitionException | undefined 语法错误的详细信息对象,如果有的话
|
|
18
|
+
*/
|
|
19
|
+
syntaxError<S extends Token, T extends ATNSimulator>(recognizer: Recognizer<T>, offendingSymbol: S | null, line: number, column: number, msg: string, e: RecognitionException | null): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Datatype } from '../../model/Datatype';
|
|
2
|
+
import { PlaceholderExpression } from '../../model/expression/PlaceholderExpression';
|
|
3
|
+
import { ActionsContext, PreconditionContext, PredefineItemContext, RuleStatementContext } from '../rule/RuleParser';
|
|
4
|
+
export declare const buildRuleSemanticErrors: (ruleStatement: RuleStatementContext, dataContext: DiagnosticDataContext) => void;
|
|
5
|
+
export declare const buildPreconditionSemanticErrors: (dataContext: DiagnosticDataContext, precondition: PreconditionContext) => void;
|
|
6
|
+
export declare const buildActionsSemanticErrors: (actions: ActionsContext, dataContext: DiagnosticDataContext) => void;
|
|
7
|
+
export declare const buildPredefineItemsSecmanticErrors: (predefineItems: PredefineItemContext[], dataContext: DiagnosticDataContext) => void;
|
|
8
|
+
export declare class ErrorPosition {
|
|
9
|
+
startColumn: number;
|
|
10
|
+
endColumn: number;
|
|
11
|
+
startLineNumber: number;
|
|
12
|
+
endLineNumber: number;
|
|
13
|
+
constructor(startLineNumber: number, endLineNumber: number, startColumn: number, endColumn: number);
|
|
14
|
+
}
|
|
15
|
+
export declare class SemanticErrorData {
|
|
16
|
+
message: string;
|
|
17
|
+
position: ErrorPosition;
|
|
18
|
+
constructor(message: string, position: ErrorPosition);
|
|
19
|
+
}
|
|
20
|
+
export declare class DiagnosticDataContext {
|
|
21
|
+
readonly errorList: SemanticErrorData[];
|
|
22
|
+
readonly predefineVariablesMap: Map<string, Datatype>;
|
|
23
|
+
readonly placeholderExpressions: PlaceholderExpression[];
|
|
24
|
+
constructor(errorList: SemanticErrorData[], predefineVariablesMap: Map<string, Datatype>);
|
|
25
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Token } from 'antlr4ng';
|
|
2
|
+
import { RuleLexer } from '../rule/RuleLexer';
|
|
3
|
+
export default class BoostRuleLexer extends RuleLexer {
|
|
4
|
+
private existNextToken;
|
|
5
|
+
/**
|
|
6
|
+
* 用来标记在ParserHelper类中是否有谓词方法匹配到合适的Token,如果有,那么就不再执行其它的谓词方法,以提高效率
|
|
7
|
+
*/
|
|
8
|
+
existMatchedToken: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* 用来定义在词法分析中是否需要扫描对象名方法,默认值为false。对象名方法的扫描只在以下几种情况下才会发生:
|
|
11
|
+
*
|
|
12
|
+
* 1.当前Token为方法描述符且其后需要一个参数,且参数类型为Class时才会进行扫描。
|
|
13
|
+
*
|
|
14
|
+
* 2.当前Token为预定义中的 一个 或 所有,也就是类型为PredefineOneType/PredefineManyType时。
|
|
15
|
+
*
|
|
16
|
+
* 3.当前Token为CurrentItemDeclare时,也就是当前这个XXX,那么就需要扫描对象名方法。
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
enableScanObjectName: boolean;
|
|
20
|
+
nextToken(): Token;
|
|
21
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { TokenStream } from 'antlr4ng';
|
|
2
|
+
import { Datatype } from '../../model/Datatype';
|
|
3
|
+
import { ParserHelper } from '../ParserHelper';
|
|
4
|
+
import { BatchConditionsExpressionContext, ExpressionContext, PredefineItemContext, RuleParser } from '../rule/RuleParser';
|
|
5
|
+
export default class BoostRuleParser extends RuleParser {
|
|
6
|
+
private avaliablePredefineVariablesMap;
|
|
7
|
+
private parserHelper;
|
|
8
|
+
constructor(input: TokenStream, avaliablePredefineVariablesMap: Map<string, Datatype>, parserHelper: ParserHelper);
|
|
9
|
+
private doBuildExpressionDatatype;
|
|
10
|
+
private firstParameterDatatypeCompatibility;
|
|
11
|
+
loadAvaliablePredefineVariablesMap(): Map<string, Datatype>;
|
|
12
|
+
/**
|
|
13
|
+
* 覆盖父类解析预定义变量方法,用来记录当前可用的预定义变量
|
|
14
|
+
* @returns PredefineItemContext
|
|
15
|
+
*/
|
|
16
|
+
predefineItem(): PredefineItemContext;
|
|
17
|
+
private previousUnCompeletedMethodNextDescriptors;
|
|
18
|
+
private previousMethodExpectedDatatype;
|
|
19
|
+
expression(): ExpressionContext;
|
|
20
|
+
expression(_p: number): ExpressionContext;
|
|
21
|
+
batchConditionsExpression(): BatchConditionsExpressionContext;
|
|
22
|
+
private currentTokenIsListCondtionTag;
|
|
23
|
+
private buildParameterStartExpression;
|
|
24
|
+
private compatiblePreviousMethodExpectedParameterDatatype;
|
|
25
|
+
private stopParseExpression;
|
|
26
|
+
private isBatchConditionDeclare;
|
|
27
|
+
private expressionPredict;
|
|
28
|
+
private isPrimary;
|
|
29
|
+
/**
|
|
30
|
+
* 手动预测下一个或多个Token组成的表达式是哪一个。
|
|
31
|
+
*
|
|
32
|
+
* 1:表示为一个以参数开头的方法描述符,或后面再加若干个参数和描述符
|
|
33
|
+
* 2: 表示为一个加减法表达式,由一个加减号开头
|
|
34
|
+
* 3: 表示为一个乘除法表达式,由一个乘除号开头
|
|
35
|
+
*
|
|
36
|
+
* 在预测前需要判断当前Token是否为一个方法描述符
|
|
37
|
+
*/
|
|
38
|
+
private secondPredictNextType;
|
|
39
|
+
/**
|
|
40
|
+
* @returns true表示当前Token是表达式或一个批量表示式标识符,否则返回false
|
|
41
|
+
*/
|
|
42
|
+
private currentIsExpressionToken;
|
|
43
|
+
private tokenIsExpression;
|
|
44
|
+
/**
|
|
45
|
+
* 第一个Token是加减号,第二个Token是表达式
|
|
46
|
+
* @returns true表示下一个Token是加减法表达式,否则返回false
|
|
47
|
+
*/
|
|
48
|
+
private nextIsAdditiveAndExpression;
|
|
49
|
+
/**
|
|
50
|
+
* 第一个Token是乘除号,第二个Token是表达式
|
|
51
|
+
* @returns true表示下一个Token是乘除法表达式,否则返回false
|
|
52
|
+
*/
|
|
53
|
+
private nextIsMultiplicativeAndExpression;
|
|
54
|
+
private currentTokenIsMethodOrArith;
|
|
55
|
+
private tokenIsAdditive;
|
|
56
|
+
private tokenIsMultiplicative;
|
|
57
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Datatype } from '../../model/Datatype';
|
|
2
|
+
import { NavigationNode } from '../../model/NavigationTree';
|
|
3
|
+
export declare const findTargetMethodNextNodes: (descriptor: string, parameterStart: boolean, matchedMethodNodes: NavigationNode[] | undefined) => NavigationNode[] | undefined;
|
|
4
|
+
export declare const findTargetMethodNodes: (descriptor: string, parameterStart: boolean, matchedMethodNodes: NavigationNode[] | undefined) => NavigationNode[] | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* 判断匹配的静态方法下面是否存在参数,以及参数下面是否还存在描述符
|
|
7
|
+
* @param nextParameterExisted 当前参数是否已存在
|
|
8
|
+
* @param matchedMethodNodes 待匹配的静态方法节点
|
|
9
|
+
* @returns 返回一个对象,对象中包含两个属性,existParameter表示是否存在参数,existDescriptor表示是否存在对应的方法描述符
|
|
10
|
+
*/
|
|
11
|
+
export declare const existParameterAndDescriptor: (nextParameterExisted: boolean, matchedMethodNodes: NavigationNode[] | undefined) => {
|
|
12
|
+
existParameter: boolean;
|
|
13
|
+
existDescriptor: boolean;
|
|
14
|
+
expectParameterDatatype: Datatype | undefined;
|
|
15
|
+
nextDescriptors: Set<string> | undefined;
|
|
16
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Token } from 'antlr4ng';
|
|
2
|
+
import { Datatype } from '../../model/Datatype';
|
|
3
|
+
import { ParserHelper } from '../ParserHelper';
|
|
4
|
+
import * as antlr from "antlr4ng";
|
|
5
|
+
export declare class RuleLexer extends antlr.Lexer {
|
|
6
|
+
static readonly PlaceHolder = 1;
|
|
7
|
+
static readonly ObjectName = 2;
|
|
8
|
+
static readonly EnumDescriptor = 3;
|
|
9
|
+
static readonly FieldDescriptor = 4;
|
|
10
|
+
static readonly MethodDescriptor = 5;
|
|
11
|
+
static readonly If = 6;
|
|
12
|
+
static readonly Then = 7;
|
|
13
|
+
static readonly Else = 8;
|
|
14
|
+
static readonly Print = 9;
|
|
15
|
+
static readonly ForEach = 10;
|
|
16
|
+
static readonly BeCalledAs = 11;
|
|
17
|
+
static readonly As = 12;
|
|
18
|
+
static readonly PredefineDeclare = 13;
|
|
19
|
+
static readonly PredefineSpecify = 14;
|
|
20
|
+
static readonly PredefineFrom = 15;
|
|
21
|
+
static readonly FromList = 16;
|
|
22
|
+
static readonly PredefineConditionDeclare = 17;
|
|
23
|
+
static readonly CurrentItemDeclare = 18;
|
|
24
|
+
static readonly VariableName = 19;
|
|
25
|
+
static readonly DateTime = 20;
|
|
26
|
+
static readonly Date = 21;
|
|
27
|
+
static readonly Time = 22;
|
|
28
|
+
static readonly ChineseFullCornerSpace = 23;
|
|
29
|
+
static readonly Char = 24;
|
|
30
|
+
static readonly String = 25;
|
|
31
|
+
static readonly Number = 26;
|
|
32
|
+
static readonly Colon = 27;
|
|
33
|
+
static readonly ChineseFullCornorColon = 28;
|
|
34
|
+
static readonly Semicolon = 29;
|
|
35
|
+
static readonly AllConditionsTrueDeclare = 30;
|
|
36
|
+
static readonly AllConditionsNotTrueDeclare = 31;
|
|
37
|
+
static readonly AnyConditionsTrueDeclare = 32;
|
|
38
|
+
static readonly Add = 33;
|
|
39
|
+
static readonly Sub = 34;
|
|
40
|
+
static readonly Mul = 35;
|
|
41
|
+
static readonly Div = 36;
|
|
42
|
+
static readonly Mod = 37;
|
|
43
|
+
static readonly Dash = 38;
|
|
44
|
+
static readonly EQ = 39;
|
|
45
|
+
static readonly True = 40;
|
|
46
|
+
static readonly False = 41;
|
|
47
|
+
static readonly PredefineOneType = 42;
|
|
48
|
+
static readonly PredefineManyType = 43;
|
|
49
|
+
static readonly CONTENT = 44;
|
|
50
|
+
static readonly LINE_COMMENT = 45;
|
|
51
|
+
static readonly WS = 46;
|
|
52
|
+
static readonly Other = 47;
|
|
53
|
+
static readonly channelNames: string[];
|
|
54
|
+
static readonly literalNames: (string | null)[];
|
|
55
|
+
static readonly symbolicNames: (string | null)[];
|
|
56
|
+
static readonly modeNames: string[];
|
|
57
|
+
static readonly ruleNames: string[];
|
|
58
|
+
protected parserHelper: ParserHelper;
|
|
59
|
+
currentMethodTokenNextParameterIsClass: boolean;
|
|
60
|
+
private avaliablePredefineVariablesMap;
|
|
61
|
+
constructor(input: antlr.CharStream, parserHelper: ParserHelper);
|
|
62
|
+
nextToken(): Token;
|
|
63
|
+
buidVariableNodes(variableName: string): void;
|
|
64
|
+
isEnumDescriptor(): boolean;
|
|
65
|
+
isFieldDescriptor(): boolean;
|
|
66
|
+
isMethodDescriptor(): boolean;
|
|
67
|
+
isObjectName(): boolean;
|
|
68
|
+
setAvaliablePredefineVariablesMap(avaliablePredefineVariablesMap: Map<string, Datatype>): void;
|
|
69
|
+
get grammarFileName(): string;
|
|
70
|
+
get literalNames(): (string | null)[];
|
|
71
|
+
get symbolicNames(): (string | null)[];
|
|
72
|
+
get ruleNames(): string[];
|
|
73
|
+
get serializedATN(): number[];
|
|
74
|
+
get channelNames(): string[];
|
|
75
|
+
get modeNames(): string[];
|
|
76
|
+
action(localContext: antlr.ParserRuleContext | null, ruleIndex: number, actionIndex: number): void;
|
|
77
|
+
private VariableName_action;
|
|
78
|
+
sempred(localContext: antlr.ParserRuleContext | null, ruleIndex: number, predIndex: number): boolean;
|
|
79
|
+
private ObjectName_sempred;
|
|
80
|
+
private EnumDescriptor_sempred;
|
|
81
|
+
private FieldDescriptor_sempred;
|
|
82
|
+
private MethodDescriptor_sempred;
|
|
83
|
+
static readonly _serializedATN: number[];
|
|
84
|
+
private static __ATN;
|
|
85
|
+
static get _ATN(): antlr.ATN;
|
|
86
|
+
private static readonly vocabulary;
|
|
87
|
+
get vocabulary(): antlr.Vocabulary;
|
|
88
|
+
private static readonly decisionsToDFA;
|
|
89
|
+
}
|