Commit Graph

131 Commits

Author SHA1 Message Date
Pavel Talanov cc40a43f4b Refactor call translator. 2011-12-07 17:30:13 +04:00
Pavel Talanov ab6895f2b0 refactor and improve. Adopt standard class array implementation 2011-12-07 17:30:13 +04:00
Pavel Talanov c7a4d724a0 fix "enclosingThis" bug 2011-12-07 17:30:12 +04:00
Pavel Talanov 677c1a5ad3 refactor propertyAccessTranslator 2011-12-05 17:43:00 +04:00
Pavel Talanov d3eaff5d76 Reorganise context structure, refactor 2011-12-05 17:42:47 +04:00
Pavel Talanov a175566eec intrinsics refactor 2011-12-02 21:34:04 +04:00
Pavel Talanov a775c61ccf refactor and fix assignment operator on property bug 2011-12-02 20:58:16 +04:00
Pavel Talanov d2b4778029 refactoring 2011-12-02 19:20:46 +04:00
Pavel Talanov 7e4f10384d turn off array tests 2011-12-02 17:35:23 +04:00
Pavel Talanov 2851e27e9e Test fixes. 2011-12-02 17:35:22 +04:00
Pavel Talanov 7a74a370d3 test fixes 2011-12-02 17:35:22 +04:00
Pavel Talanov 97088a34d5 some test fixes 2011-12-02 17:35:21 +04:00
Pavel Talanov 3b97bb6129 imolement most of the intrinsic logic. test fixes to follow 2011-12-02 17:35:20 +04:00
Pavel Talanov cb071e3f74 implement some of the intrinsic functionality 2011-12-02 17:35:19 +04:00
Pavel Talanov 5212ee4b00 work on intrinsic implementation: binary intrinsics 2011-12-02 17:35:19 +04:00
Pavel Talanov a46fd1143a work on intrinsic implementation: split binary expression translation into 2 classes 2011-12-02 17:35:18 +04:00
Pavel Talanov b77133bd59 supported array access expressions. 2011-12-02 17:35:17 +04:00
Pavel Talanov 6edcd6e9a1 Array test passes. 2011-12-02 17:35:17 +04:00
Pavel Talanov 26d9da8360 basic intrinsic implementation. very hacky 2011-11-30 17:42:17 +04:00
Pavel Talanov 9c9c9e3141 fix test 2011-11-30 17:42:16 +04:00
Pavel Talanov f8d342c207 Work on reference expression. Test fixes to follow. 2011-11-30 17:42:15 +04:00
Pavel Talanov ba767e7205 Reworked ExtractionVisitor into Declaration visitor. 2011-11-30 17:42:15 +04:00
Pavel Talanov 5ed130b745 Include standard library. 2011-11-30 17:42:14 +04:00
Pavel Talanov ee2cee31af Worked on namer. 2011-11-30 17:42:13 +04:00
Pavel Talanov 99114132ac Refactor: Extracted Aliaser entity from context. 2011-11-28 17:40:40 +04:00
Pavel Talanov 313b20c4f7 Supported classes not calling ancestor constructor. 2011-11-28 17:40:39 +04:00
Pavel Talanov cd638cb954 Fixed a bug where you could not reference an object from a function literal defined inside a method.
Also removed when conditional call code.
2011-11-28 17:40:39 +04:00
Pavel Talanov 97fbcb4775 Added and sorted tests from jet repository. Fixed a bug with custom setter. 2011-11-26 00:38:17 +04:00
Pavel Talanov e36eaa08a4 Added array basic class. 2011-11-25 21:56:04 +04:00
Pavel Talanov 0ea425e41b Supported single file without namespace. 2011-11-25 21:38:35 +04:00
Pavel Talanov e3d62b7903 Corrected class declaration logic. 2011-11-25 21:00:18 +04:00
Pavel Talanov 793ec886c7 Fixed a bug where class could not access namespace properties. 2011-11-25 20:14:02 +04:00
Pavel Talanov 504a2d5101 compareTo support. 2011-11-25 20:05:35 +04:00
Pavel Talanov d8d4b95dd7 Refactoring 2011-11-25 19:31:43 +04:00
Pavel Talanov 934d83b1bf Got rid of redundant ExpressionTranslator class. 2011-11-25 19:17:19 +04:00
Pavel Talanov afb1efaa34 Refactored reference provider logic. 2011-11-25 19:10:22 +04:00
Pavel Talanov bcca865620 Reorganised project structure. 2011-11-25 18:56:40 +04:00
Pavel Talanov 0b0afcedab Added test. 2011-11-25 18:44:11 +04:00
Pavel Talanov db365ddcb8 Refactoring function translator. 2011-11-25 17:06:59 +04:00
Pavel Talanov f1096cf2be Added support for initialization of properties as constructor parameters. 2011-11-25 16:53:03 +04:00
Pavel Talanov 6ee95cf13a Added properties as constructor parameters support(Not initialized yet). 2011-11-25 15:23:57 +04:00
Pavel Talanov e9682952a1 Refactoring. 2011-11-25 15:17:27 +04:00
Pavel Talanov 181bc45bf0 Lots of refactoring and code improvements. 2011-11-25 14:00:28 +04:00
Pavel Talanov 97a413d0a2 Added test for operator overloading. 2011-11-24 23:30:06 +04:00
Pavel Talanov be1d7c979b Binary operation overloading for most cases (except contains, compareTo). 2011-11-24 23:10:43 +04:00
Pavel Talanov 411c173dac Refactoring BinaryOperationTranslator. 2011-11-24 20:01:58 +04:00
Pavel Talanov 8cae5c9963 Added test for unary operation on int properties. 2011-11-24 17:30:26 +04:00
Pavel Talanov d23bdb492d Added test for unary operation on int properties. 2011-11-24 17:30:25 +04:00
Pavel Talanov fae803ac6f Refactoring property access translation code. 2011-11-24 17:30:25 +04:00
Pavel Talanov 66b3790798 Refactoring operation translator code. 2011-11-24 17:30:24 +04:00