Zhivka Gucevska
984382b64e
Add support for catch statements.
...
BUG=
R=ashlaura02@gmail.com , dmitryas@google.com
Review-Url: https://codereview.chromium.org/3002003002 .
2017-08-25 13:53:54 +02:00
Zhivka Gucevska
c237e6dbcd
Fix initialization of instance fields.
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/3002013002 .
2017-08-21 18:54:33 +02:00
Zhivka Gucevska
3cac905c54
Implement support for property accessors
...
- Evaluation of PropertyGet expression by accessing a field,
execution of a getter or creating a method tearoff.
- Evaluation of PropertySet expression by setting a field or
execution of a setter.
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2999673002 .
2017-08-21 08:38:47 +02:00
Zhivka Gucevska
e89bbf96a5
Implement support for static accessors
...
- Evaluation of StaticPropertyGet expression by reading a value stored in
the main environment, execution of static getter or creating a method tear off.
- Evaluation of StaticPropertySet expression by modifying the value
stored in main environment or execution of static setter.
BUG=
R=dmitryas@google.com , kmillikin@google.com
Review-Url: https://codereview.chromium.org/2997563002 .
2017-08-21 08:24:18 +02:00
Zhivka Gucevska
e09b3830cf
Add support for function declarations and function expressions
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2997443002 .
2017-08-21 07:52:20 +02:00
Zhivka Gucevska
115232ada2
Add support for finalizer of TryFinally in labeled statements
...
When a break is encountered in the body of a TryFinally statement to an
enclosing label, the finalizer statement of the TryFinally is executed.
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2991113002 .
2017-08-03 16:17:17 +02:00
Zhivka Gucevska
72ba4f6c1c
Add partial support for TryFinally and TryCatch statements
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2985383002 .
2017-08-03 12:51:39 +02:00
Zhivka Gucevska
5e241d86b2
Add support for 'throw' expression
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2987153002 .
2017-08-03 12:36:03 +02:00
Zhivka Gucevska
4aab6a4a49
Add support for super initializers in constructor initializer list
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2990943002 .
2017-08-03 09:00:16 +02:00
Zhivka Gucevska
66426a2b1c
Add support for initializers in constructor invocation
...
This adds support for field and local initialziers
for constructor invocation.
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2986973002 .
2017-08-02 12:57:23 +02:00
Zhivka Gucevska
2331199968
Add support for field initialization in objects
...
Fields declared as T f = E are now initialized to the value
expression E evaluates to.
Fields without initalizer expression are intialized with null.
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2985883002 .
2017-07-27 13:47:12 +02:00
Zhivka Gucevska
43cf49a717
Add support for running constructors with new
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2984903002 .
2017-07-25 17:24:15 +02:00
Zhivka Gucevska
e68b664383
Add support for execution of constructor body
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2880343002 .
2017-05-18 15:30:22 +02:00
Zhivka Gucevska
614f9207b6
Add support for super constructor invocation
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2881053002 .
2017-05-15 13:58:42 +02:00
Zhivka Gucevska
c545954a2a
Add tests for initializer list execution in object initialization
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2883823003 .
2017-05-15 12:14:18 +02:00
Zhivka Gucevska
a9ce0c53f7
Add test for initialization of instance fields with initializer expressions
...
BUG=
R=dmitryas@google.com , kmillikin@google.com
Review-Url: https://codereview.chromium.org/2875023002 .
2017-05-11 13:59:57 +02:00
Zhivka Gucevska
184cc25766
Add initial tests for Kernel interpreter
...
Add logging in the Interpreter for:
- StaticInvocationExpression, including calls to print
- ReturnStatement
- IfStatement
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2841803002 .
2017-05-01 16:12:27 +02:00