Add assert and assert_equal tools

This commit is contained in:
Jeff 2023-10-11 12:07:21 -04:00
parent a207087cca
commit c6ec1ff6ea
4 changed files with 354 additions and 276 deletions

View File

@ -178,6 +178,8 @@ module.exports = grammar({
), ),
tool: $ => choice( tool: $ => choice(
'assert',
'assert_equal',
'output', 'output',
'read', 'read',
'write', 'write',

View File

@ -724,6 +724,14 @@
"tool": { "tool": {
"type": "CHOICE", "type": "CHOICE",
"members": [ "members": [
{
"type": "STRING",
"value": "assert"
},
{
"type": "STRING",
"value": "assert_equal"
},
{ {
"type": "STRING", "type": "STRING",
"value": "output" "value": "output"

View File

@ -545,6 +545,14 @@
"type": "]", "type": "]",
"named": false "named": false
}, },
{
"type": "assert",
"named": false
},
{
"type": "assert_equal",
"named": false
},
{ {
"type": "else", "type": "else",
"named": false "named": false

File diff suppressed because it is too large Load Diff