leo/tests/expectations/parser/expression/token_format.out
d0cd 0522c2a08f
Removes unused or deprecated keywords from the grammar. (#2273)
* Remove unused/deprecated symbols

* Remove tokens

* Update parser

* Update tests

* Regen expectations
2023-02-17 19:25:11 -08:00

75 lines
7.5 KiB
Plaintext

---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'h'`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '@'\n --> test:1:1\n |\n 1 | @test\n | ^"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '&&'\n --> test:1:1\n |\n 1 | &&\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '||'\n --> test:1:1\n |\n 1 | ||\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '=='\n --> test:1:1\n |\n 1 | ==\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '!='\n --> test:1:1\n |\n 1 | !=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '<'\n --> test:1:1\n |\n 1 | <\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '<='\n --> test:1:1\n |\n 1 | <=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '>'\n --> test:1:1\n |\n 1 | >\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '>='\n --> test:1:1\n |\n 1 | >=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '+'\n --> test:1:1\n |\n 1 | +\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '<eof>'\n --> test:1:1\n |\n 1 | -\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '*'\n --> test:1:1\n |\n 1 | *\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '**'\n --> test:1:1\n |\n 1 | **\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '/'\n --> test:1:1\n |\n 1 | /\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:1\n |\n 1 | =\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '+='\n --> test:1:1\n |\n 1 | +=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '-='\n --> test:1:1\n |\n 1 | -=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '*='\n --> test:1:1\n |\n 1 | *=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '/='\n --> test:1:1\n |\n 1 | /=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '**='\n --> test:1:1\n |\n 1 | **=\n | ^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '<eof>'\n --> test:1:1\n |\n 1 | (\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ')'\n --> test:1:1\n |\n 1 | )\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:1\n |\n 1 | ]\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '{'\n --> test:1:1\n |\n 1 | {\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:1\n |\n 1 | }\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:1\n |\n 1 | ,\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '.'\n --> test:1:1\n |\n 1 | .\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:1\n |\n 1 | ..\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:1\n |\n 1 | ...\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ';'\n --> test:1:1\n |\n 1 | ;\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ':'\n --> test:1:1\n |\n 1 | :\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found '<eof>'\n --> test:1:2\n |\n 1 | h::\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '?'\n --> test:1:1\n |\n 1 | ?\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '->'\n --> test:1:1\n |\n 1 | ->\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _\n | ^"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'console'\n --> test:1:1\n |\n 1 | console\n | ^^^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant\n | ^^^^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'else'\n --> test:1:1\n |\n 1 | else\n | ^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'for'\n --> test:1:1\n |\n 1 | for\n | ^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'function'\n --> test:1:1\n |\n 1 | function\n | ^^^^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'in'\n --> test:1:1\n |\n 1 | in\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'let'\n --> test:1:1\n |\n 1 | let\n | ^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '&'\n --> test:1:1\n |\n 1 | &\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'return'\n --> test:1:1\n |\n 1 | return\n | ^^^^^^"