Skip to content

Commit

Permalink
string type also added
Browse files Browse the repository at this point in the history
  • Loading branch information
r001 committed Aug 26, 2024
1 parent 2ce5d9c commit f7dd9c1
Show file tree
Hide file tree
Showing 3 changed files with 17,367 additions and 16,891 deletions.
5 changes: 5 additions & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ module.exports = grammar({
'return',
'scalar',
'self',
'string',
'struct',
'then',
'transition',
Expand Down Expand Up @@ -400,6 +401,8 @@ module.exports = grammar({

signature_type: $ => 'signature',

string_type: $ => 'string',

unit_type: $ => seq(
"(",
")"
Expand Down Expand Up @@ -463,6 +466,7 @@ module.exports = grammar({
$.integer_type,
$.scalar_type,
$.signature_type,
$.string_type,
$.untyped_future_type,
$.identifier,
),
Expand Down Expand Up @@ -499,6 +503,7 @@ module.exports = grammar({
$.boolean_type,
$.address_type,
$.signature_type,
$.string_type,
$.record_type,
$.unit_type,
$.future_type,
Expand Down
17 changes: 17 additions & 0 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f7dd9c1

Please sign in to comment.