Skip to content

Commit ee62bba

Browse files
authored
Merge pull request #444 from Peefy/update-literal-type-spec
fix: remove none type in the literal type spec
2 parents 27bd9d1 + 68ad51c commit ee62bba

File tree

17 files changed

+16
-16
lines changed

17 files changed

+16
-16
lines changed

a.k

Whitespace-only changes.

docs/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.4/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
141141
compound_type: list_type | dict_type
142142
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
143143
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
144-
literal_type: string | number | TRUE | FALSE | NONE
144+
literal_type: string | number | TRUE | FALSE
145145

146146
//////////// type alias ////////////
147147
type_alias_stmt: TYPE NAME ASSIGN type

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.5/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
141141
compound_type: list_type | dict_type
142142
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
143143
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
144-
literal_type: string | number | TRUE | FALSE | NONE
144+
literal_type: string | number | TRUE | FALSE
145145

146146
//////////// type alias ////////////
147147
type_alias_stmt: TYPE NAME ASSIGN type

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.6/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
141141
compound_type: list_type | dict_type
142142
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
143143
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
144-
literal_type: string | number | TRUE | FALSE | NONE
144+
literal_type: string | number | TRUE | FALSE
145145

146146
//////////// type alias ////////////
147147
type_alias_stmt: TYPE NAME ASSIGN type

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.8/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.9/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

versioned_docs/version-0.10/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

versioned_docs/version-0.4/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
141141
compound_type: list_type | dict_type
142142
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
143143
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
144-
literal_type: string | number | TRUE | FALSE | NONE
144+
literal_type: string | number | TRUE | FALSE
145145

146146
//////////// type alias ////////////
147147
type_alias_stmt: TYPE NAME ASSIGN type

versioned_docs/version-0.5/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
141141
compound_type: list_type | dict_type
142142
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
143143
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
144-
literal_type: string | number | TRUE | FALSE | NONE
144+
literal_type: string | number | TRUE | FALSE
145145

146146
//////////// type alias ////////////
147147
type_alias_stmt: TYPE NAME ASSIGN type

versioned_docs/version-0.6/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
141141
compound_type: list_type | dict_type
142142
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
143143
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
144-
literal_type: string | number | TRUE | FALSE | NONE
144+
literal_type: string | number | TRUE | FALSE
145145

146146
//////////// type alias ////////////
147147
type_alias_stmt: TYPE NAME ASSIGN type

versioned_docs/version-0.7/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

versioned_docs/version-0.8/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

versioned_docs/version-0.9/reference/lang/spec/kcl-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
137137
compound_type: list_type | dict_type
138138
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
139139
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
140-
literal_type: string | number | TRUE | FALSE | NONE
140+
literal_type: string | number | TRUE | FALSE
141141

142142
//////////// type alias ////////////
143143
type_alias_stmt: TYPE NAME ASSIGN type

0 commit comments

Comments
 (0)