diff --git a/docs/reference/lang/spec/kcl-spec.md b/docs/reference/lang/spec/kcl-spec.md index 27c51e65..e2f217dc 100644 --- a/docs/reference/lang/spec/kcl-spec.md +++ b/docs/reference/lang/spec/kcl-spec.md @@ -97,7 +97,7 @@ assert_stmt: ASSERT simple_expr (IF simple_expr)? (COMMA test)? //////////// if_stmt //////////// if_stmt: IF test COLON execution_block (ELIF test COLON execution_block)* (ELSE COLON execution_block)? execution_block: if_simple_stmt | NEWLINE _INDENT schema_init_stmt+ _DEDENT -if_simple_stmt: (simple_assign_stmt | unification_stmt | expr_stmt | assert_stmt) NEWLINE +if_simple_stmt: (assign_stmt | unification_stmt | expr_stmt | assert_stmt) NEWLINE //////////// assign_stmt //////////// assign_stmt: identifier [COLON type] (ASSIGN identifier)* ASSIGN test @@ -105,11 +105,6 @@ assign_stmt: identifier [COLON type] (ASSIGN identifier)* ASSIGN test | COMP_DOUBLE_DIVIDE | COMP_MOD | COMP_AND | COMP_OR | COMP_XOR | COMP_SHIFT_LEFT | COMP_SHIFT_RIGHT) test -simple_assign_stmt: identifier ASSIGN test - | identifier (COMP_PLUS | COMP_MINUS | COMP_MULTIPLY | COMP_DOUBLE_STAR | COMP_DIVIDE - | COMP_DOUBLE_DIVIDE | COMP_MOD | COMP_AND | COMP_OR | COMP_XOR | COMP_SHIFT_LEFT - | COMP_SHIFT_RIGHT) test - //////////// unification_stmt //////////// unification_stmt: identifier COLON schema_expr diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/lang/spec/kcl-spec.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/lang/spec/kcl-spec.md index 27c51e65..e2f217dc 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/lang/spec/kcl-spec.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/lang/spec/kcl-spec.md @@ -97,7 +97,7 @@ assert_stmt: ASSERT simple_expr (IF simple_expr)? (COMMA test)? //////////// if_stmt //////////// if_stmt: IF test COLON execution_block (ELIF test COLON execution_block)* (ELSE COLON execution_block)? execution_block: if_simple_stmt | NEWLINE _INDENT schema_init_stmt+ _DEDENT -if_simple_stmt: (simple_assign_stmt | unification_stmt | expr_stmt | assert_stmt) NEWLINE +if_simple_stmt: (assign_stmt | unification_stmt | expr_stmt | assert_stmt) NEWLINE //////////// assign_stmt //////////// assign_stmt: identifier [COLON type] (ASSIGN identifier)* ASSIGN test @@ -105,11 +105,6 @@ assign_stmt: identifier [COLON type] (ASSIGN identifier)* ASSIGN test | COMP_DOUBLE_DIVIDE | COMP_MOD | COMP_AND | COMP_OR | COMP_XOR | COMP_SHIFT_LEFT | COMP_SHIFT_RIGHT) test -simple_assign_stmt: identifier ASSIGN test - | identifier (COMP_PLUS | COMP_MINUS | COMP_MULTIPLY | COMP_DOUBLE_STAR | COMP_DIVIDE - | COMP_DOUBLE_DIVIDE | COMP_MOD | COMP_AND | COMP_OR | COMP_XOR | COMP_SHIFT_LEFT - | COMP_SHIFT_RIGHT) test - //////////// unification_stmt //////////// unification_stmt: identifier COLON schema_expr diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/reference/lang/spec/kcl-spec.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/reference/lang/spec/kcl-spec.md index 27c51e65..e2f217dc 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/reference/lang/spec/kcl-spec.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/reference/lang/spec/kcl-spec.md @@ -97,7 +97,7 @@ assert_stmt: ASSERT simple_expr (IF simple_expr)? (COMMA test)? //////////// if_stmt //////////// if_stmt: IF test COLON execution_block (ELIF test COLON execution_block)* (ELSE COLON execution_block)? execution_block: if_simple_stmt | NEWLINE _INDENT schema_init_stmt+ _DEDENT -if_simple_stmt: (simple_assign_stmt | unification_stmt | expr_stmt | assert_stmt) NEWLINE +if_simple_stmt: (assign_stmt | unification_stmt | expr_stmt | assert_stmt) NEWLINE //////////// assign_stmt //////////// assign_stmt: identifier [COLON type] (ASSIGN identifier)* ASSIGN test @@ -105,11 +105,6 @@ assign_stmt: identifier [COLON type] (ASSIGN identifier)* ASSIGN test | COMP_DOUBLE_DIVIDE | COMP_MOD | COMP_AND | COMP_OR | COMP_XOR | COMP_SHIFT_LEFT | COMP_SHIFT_RIGHT) test -simple_assign_stmt: identifier ASSIGN test - | identifier (COMP_PLUS | COMP_MINUS | COMP_MULTIPLY | COMP_DOUBLE_STAR | COMP_DIVIDE - | COMP_DOUBLE_DIVIDE | COMP_MOD | COMP_AND | COMP_OR | COMP_XOR | COMP_SHIFT_LEFT - | COMP_SHIFT_RIGHT) test - //////////// unification_stmt //////////// unification_stmt: identifier COLON schema_expr diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/concepts/concepts.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/concepts/concepts.md index e2034db2..423b94a4 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/concepts/concepts.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/concepts/concepts.md @@ -1,3 +1,7 @@ # 核心概念 学习更多关于 KCL 核心概念。 + +import DocCardList from '@theme/DocCardList'; + + diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/getting-started/index.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/getting-started/index.md index 5d58acf6..509f2cea 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/getting-started/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/getting-started/index.md @@ -1 +1,5 @@ # 快速开始 + +import DocCardList from '@theme/DocCardList'; + + diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/guides/index.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/guides/index.md index c0613d42..d23f2a2b 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/guides/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/guides/index.md @@ -1 +1,5 @@ # 用户手册 + +import DocCardList from '@theme/DocCardList'; + + diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/support/support.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/support/support.md index 648ee5a3..9aab8178 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/support/support.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/support/support.md @@ -1,3 +1,7 @@ # 常见问答 KCL 安装、使用过程中遇到的常见问题,包括基本概念解释、KCL 语法、KCL 语言设计、命令行工具和 YAML 等常见问题。 + +import DocCardList from '@theme/DocCardList'; + + diff --git a/versioned_docs/version-0.7.0/reference/lang/spec/kcl-spec.md b/versioned_docs/version-0.7.0/reference/lang/spec/kcl-spec.md index 27c51e65..e2f217dc 100644 --- a/versioned_docs/version-0.7.0/reference/lang/spec/kcl-spec.md +++ b/versioned_docs/version-0.7.0/reference/lang/spec/kcl-spec.md @@ -97,7 +97,7 @@ assert_stmt: ASSERT simple_expr (IF simple_expr)? (COMMA test)? //////////// if_stmt //////////// if_stmt: IF test COLON execution_block (ELIF test COLON execution_block)* (ELSE COLON execution_block)? execution_block: if_simple_stmt | NEWLINE _INDENT schema_init_stmt+ _DEDENT -if_simple_stmt: (simple_assign_stmt | unification_stmt | expr_stmt | assert_stmt) NEWLINE +if_simple_stmt: (assign_stmt | unification_stmt | expr_stmt | assert_stmt) NEWLINE //////////// assign_stmt //////////// assign_stmt: identifier [COLON type] (ASSIGN identifier)* ASSIGN test @@ -105,11 +105,6 @@ assign_stmt: identifier [COLON type] (ASSIGN identifier)* ASSIGN test | COMP_DOUBLE_DIVIDE | COMP_MOD | COMP_AND | COMP_OR | COMP_XOR | COMP_SHIFT_LEFT | COMP_SHIFT_RIGHT) test -simple_assign_stmt: identifier ASSIGN test - | identifier (COMP_PLUS | COMP_MINUS | COMP_MULTIPLY | COMP_DOUBLE_STAR | COMP_DIVIDE - | COMP_DOUBLE_DIVIDE | COMP_MOD | COMP_AND | COMP_OR | COMP_XOR | COMP_SHIFT_LEFT - | COMP_SHIFT_RIGHT) test - //////////// unification_stmt //////////// unification_stmt: identifier COLON schema_expr diff --git a/versioned_docs/version-0.7.0/user_docs/concepts/concepts.md b/versioned_docs/version-0.7.0/user_docs/concepts/concepts.md index 627212ad..ffbd79c1 100644 --- a/versioned_docs/version-0.7.0/user_docs/concepts/concepts.md +++ b/versioned_docs/version-0.7.0/user_docs/concepts/concepts.md @@ -1,3 +1,7 @@ # Concepts Learn more about KCL concepts. + +import DocCardList from '@theme/DocCardList'; + + diff --git a/versioned_docs/version-0.7.0/user_docs/getting-started/index.md b/versioned_docs/version-0.7.0/user_docs/getting-started/index.md index c50dbaa6..88fc4162 100644 --- a/versioned_docs/version-0.7.0/user_docs/getting-started/index.md +++ b/versioned_docs/version-0.7.0/user_docs/getting-started/index.md @@ -1,3 +1,7 @@ # Get Started Get started include a quick overview of the KCL programming language. + +import DocCardList from '@theme/DocCardList'; + + diff --git a/versioned_docs/version-0.7.0/user_docs/guides/index.md b/versioned_docs/version-0.7.0/user_docs/guides/index.md index cd3d4522..dca104e4 100644 --- a/versioned_docs/version-0.7.0/user_docs/guides/index.md +++ b/versioned_docs/version-0.7.0/user_docs/guides/index.md @@ -1 +1,5 @@ # User Guide + +import DocCardList from '@theme/DocCardList'; + + diff --git a/versioned_docs/version-0.7.0/user_docs/support/support.md b/versioned_docs/version-0.7.0/user_docs/support/support.md index fac13ef2..a73b0e4a 100644 --- a/versioned_docs/version-0.7.0/user_docs/support/support.md +++ b/versioned_docs/version-0.7.0/user_docs/support/support.md @@ -1,3 +1,7 @@ # FAQ KCL frequently asked questions. + +import DocCardList from '@theme/DocCardList'; + +