Commit Graph

387 Commits

Author SHA1 Message Date
ahmad
2322d161e6 Update the typeCheck of TypedBlock 2024-05-12 14:55:03 +02:00
ahmad
3b1161e97a Add recursiveOwnerChain to TypedAssignment 2024-05-12 14:44:17 +02:00
ahmad
8e9ce8caa4 updated the checkType in TypedFieldVarAccess 2024-05-12 14:39:28 +02:00
ahmad
048aff5996 Removed the parameter localvariable in typeCheck 2024-05-12 13:07:39 +02:00
ahmad
827b5551f4 Add TypedLocalVariable and integrate it to Constractur and Methods 2024-05-12 12:45:22 +02:00
ahmad
938e92f679 Removed the TypedField class and use instand of that teh TypedDeclaration 2024-05-12 11:33:15 +02:00
ahmad
a05a4c8744 renamed and refactored 2024-05-12 11:19:31 +02:00
48b41f67f4 remove returnVoid and use return(null) instead 2024-05-12 00:52:56 +02:00
ahmad
5d7f7ef546 Update TypedClass 2024-05-11 21:41:01 +02:00
404Simon
8019e0e9cc Merge remote-tracking branch 'origin/main' 2024-05-11 18:33:34 +02:00
404Simon
4fe433f961 refactor ctx structure 2024-05-11 18:33:06 +02:00
ahmad
d5879e6539 Add typeCheck to newStmt in TypedExpressionHelp 2024-05-11 18:27:55 +02:00
ahmad
ba97c04414 Updated the ClassCanBeTyped 2024-05-11 17:15:14 +02:00
ahmad
6fcf183bc8 Updated the ClassCanBeTyped 2024-05-11 17:07:57 +02:00
ahmad
ecb9abdf6b Add Type to TypedConstructor 2024-05-11 15:16:19 +02:00
ahmad
17601da0a7 Add some TODOS 2024-05-11 15:07:17 +02:00
ahmad
272c25d345 Made the code better to read 2024-05-11 14:37:47 +02:00
ahmad
2448139ba0 Merge remote-tracking branch 'origin/main' 2024-05-11 13:57:11 +02:00
ahmad
17c806c592 Updated the ClasCanBeTyped 2024-05-11 13:54:56 +02:00
ahmad
31d57c8ba9 update the typeCheck of TypedReturn 2024-05-11 13:54:30 +02:00
ahmad
e49691ff29 update the typeCheck of TypedParameter 2024-05-11 13:54:12 +02:00
ahmad
9f4b158237 Put typeCheck to TypedExpressionUtil 2024-05-11 13:53:47 +02:00
ahmad
da4f962281 Update the typeCheck of methods TypedAssignment 2024-05-11 13:53:21 +02:00
ahmad
9e45c65ea3 Update the typeCheck of methods TypedFieldVarAccess 2024-05-11 13:52:55 +02:00
ahmad
5cad5992f2 Added two attributes in TypedClass
and some methods
2024-05-11 13:51:42 +02:00
ahmad
47ecd27fef update TypedBoolLiteral 2024-05-11 11:50:07 +02:00
ahmad
f38670ebd2 put parameter to localvar 2024-05-11 11:49:51 +02:00
ahmad
1b8ed72dff Renamed method name 2024-05-11 11:48:41 +02:00
ahmad
f40318f905 Add Type to TypedBlock 2024-05-11 11:46:26 +02:00
ahmad
34a20668b6 Updated the TypeCheck of TypedAssignement 2024-05-11 11:45:47 +02:00
ahmad
cdbb3ae55f Add parameters to localVar in TypedMethod 2024-05-11 11:45:06 +02:00
ahmad
a8c44dc13b Implemented typeCheck of TypedFieldVarAccess 2024-05-11 11:44:28 +02:00
ahmad
6e2a331a66 Updated TypedField 2024-05-11 11:43:49 +02:00
ahmad
e1a0540a06 Add type to TypedClass 2024-05-11 11:43:27 +02:00
ahmad
c7d756b083 done TODOs for TypedReturn but not all 2024-05-10 19:03:18 +02:00
ahmad
875d0adac4 Added constructor for TypedParameter 2024-05-10 11:11:32 +02:00
ahmad
68b55a4600 Done TODOs for TypedReturn 2024-05-10 11:10:39 +02:00
a911cc10e1 Add empty constructor in parser when none is found 2024-05-10 10:36:23 +02:00
b3fc0c5efd Fix do while 2024-05-10 09:00:47 +02:00
ahmad
e63d7999a2 Done TODOs for TypedDoWhile 2024-05-10 08:33:39 +02:00
ahmad
e9e4f8ccd3 Done TODOs for TypedWhile 2024-05-10 08:31:23 +02:00
ahmad
9b12c843bc correct the condition in TypedBinary 2024-05-10 08:30:30 +02:00
ahmad
a38ea3ad02 added what can be typed 2024-05-09 21:19:58 +02:00
ahmad
5a5b467407 Removed convertToTypedAST methods 2024-05-09 21:14:48 +02:00
ahmad
08658fc8c4 Make the code better to read 2024-05-09 21:11:10 +02:00
ahmad
cb4c637ce4 Change the parameter classes to one class in TypedNode 2024-05-09 19:59:40 +02:00
ahmad
735781a63c renamed the static method 2024-05-09 18:39:44 +02:00
903f9e8d4e Fix ClassCanBeTyped 2024-05-09 17:52:48 +02:00
Ahmad
5f6ca52acb add the override method 2024-05-09 16:17:09 +02:00
Ahmad
054df55da3 handle merge 2024-05-09 16:13:15 +02:00