Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove none type in the literal type spec #444

Merged
merged 1 commit into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added a.k
Empty file.
2 changes: 1 addition & 1 deletion docs/reference/lang/spec/kcl-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.4/reference/lang/spec/kcl-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.5/reference/lang/spec/kcl-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.6/reference/lang/spec/kcl-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.7/reference/lang/spec/kcl-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.8/reference/lang/spec/kcl-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.9/reference/lang/spec/kcl-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ basic_type: STRING_TYPE | INT_TYPE | FLOAT_TYPE | BOOL_TYPE | ANY_TYPE
compound_type: list_type | dict_type
list_type: LEFT_BRACKETS (type)? RIGHT_BRACKETS
dict_type: LEFT_BRACE (type)? COLON (type)? RIGHT_BRACE
literal_type: string | number | TRUE | FALSE | NONE
literal_type: string | number | TRUE | FALSE

//////////// type alias ////////////
type_alias_stmt: TYPE NAME ASSIGN type
Expand Down
Loading