Skip to content

Commit 08d8e47

Browse files
committed
update
1 parent 605af83 commit 08d8e47

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/language/src/generated/ast.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ export type ZModelKeywordNames =
6262
| "attribute"
6363
| "datasource"
6464
| "enum"
65+
| "extends"
6566
| "false"
6667
| "function"
6768
| "generator"
6869
| "import"
6970
| "in"
70-
| "inherits"
7171
| "model"
7272
| "mutation"
7373
| "null"

packages/language/src/generated/grammar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2134,7 +2134,7 @@ export const ZModelGrammar = (): Grammar => loadedZModelGrammar ?? (loadedZModel
21342134
"elements": [
21352135
{
21362136
"$type": "Keyword",
2137-
"value": "inherits"
2137+
"value": "extends"
21382138
},
21392139
{
21402140
"$type": "Assignment",

packages/language/src/zmodel.langium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ fragment WithClause:
178178
'with' mixins+=[TypeDef] (','? mixins+=[TypeDef])*;
179179

180180
fragment ExtendsClause:
181-
'inherits' baseModel=[DataModel];
181+
'extends' baseModel=[DataModel];
182182

183183
DataField:
184184
(comments+=TRIPLE_SLASH_COMMENT)*

0 commit comments

Comments
 (0)