-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexceptions.txt
More file actions
48 lines (46 loc) · 3.6 KB
/
exceptions.txt
File metadata and controls
48 lines (46 loc) · 3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Exceptions
Part Id Desc
Compiler cp_invalid_term_node Unknown terminating node: %nodeType%
Compiler cp_invalid_complex_node Unknown complex node: %nodeType%
Compiler cp_invalid_simple_node Unknown simple node: %nodeType%
Compiler cp_invalid_list_node Unknown list node: %nodeType%
Compiler cp_invalid_assign_target Invalid assignment target
Compiler cp_invalid_jmp_patch_size Expected long JMP instruction, got short
Compiler cp_invalid_jmp_patch_inst Expected JMP instruction at patch site
Compiler cp_expected_expression Expected an expression, got: %tokenString% (statement)
Compiler cp_expected_statement Expected a statement, got: %tokenString% (expression)
Compiler cp_unknown_identifier Referenced an unknown identifier: "%tokenString%"
Compiler cp_identifier_already_exists Identifier already exits: "%tokenString%"
Compiler cp_assign_to_const Assigning to constant variable: "%tokenString%"
Compiler cp_unescaped_function Abort: Compiler was left with unfinished functions
Compiler cp_non_top_level_import Imports must be declared at top-level only
Compiler cp_unknown_module Unknown module: "%tokenString%"
Compiler cp_invalid_expression_type Can not assign expression of type %exprType% to variable of type %variableType% | Expected expression of type %expectedType% got: %exprType% | Expected variable of type %expectedType% got: %variableType%
Compiler cp_invalid_method Invalid method identifier: "%tokenString%"
Compiler cp_invalid_function_arg_type Invalid argument type: %varType%
Compiler cp_invalid_function_arg Unknown argument node: %nodeId%
IRGenerator ir_expect_lvalue_or_statement Expected a left-value or statement
IRGenerator ir_expect_rvalue Expected a right-value
IRGenerator ir_unknown_token Unknown token id: %tokenId% "%tokenString%"
IRGenerator ir_missing_rparen Expected an end of expression, got: "%tokenString%"
IRGenerator ir_invalid_token Invalid token: "%tokenString%"
IRGenerator ir_empty_forloop Empty forloop. Expected a list of expressions
IRGenerator ir_expect ***
IRGenerator ir_parsing_past_eof Parsing past end of file
IRGenerator ir_variable_name Invalid variable name: "%tokenString%"
IRGenerator ir_table_name Invalid table name: "%tokenString%"
IRGenerator ir_method_name Invalid method name: "%tokenString%"
IRGenerator ir_property_name Invalid property name: "%tokenString%"
IRGenerator ir_invalid_import Invalid import target "%tokenString%"
Disassembler disasm_invalid_value Invalid value type: %valueType%
Disassembler disasm_invalid_value_object Invalid object type: %objectType%
Runtime rt_invalid_operand_type Both operands of "%op%" operation must be numbers | Negation operand must be of number type | Not operand must be of boolean type | Operands of + operation must be numbers or strings | Operand must be of string type
Runtime rt_unknown_opcode Unknown opcode: %opcode%
Runtime rt_unknown_global Referring to an unknown global: "%identifierString%"
Runtime rt_invalid_call_arity Arguments provided is different from what the callee accepts, got: %numArgs% expected: %fnArity%
Runtime rt_invalid_call_target Call value was not object type | Invalid call value object type
Runtime rt_invalid_instance Can not read property "%propName%" of invalid instance "%value%"
Runtime rt_unknown_property Unknown property "%propName%" of "%instance%"
Runtime rt_exit exit() called
Generic Exceptions
error_not_implemented reason: A feature is not yet implemented