| OLD | NEW |
| 1 This file describes the binary format of Dart Kernel. | 1 This file describes the binary format of Dart Kernel. |
| 2 | 2 |
| 3 Notation | 3 Notation |
| 4 -------- | 4 -------- |
| 5 Bitmasks are described with the syntax: | 5 Bitmasks are described with the syntax: |
| 6 ```scala | 6 ```scala |
| 7 Byte flags (flag1, flag2, ..., flagN) | 7 Byte flags (flag1, flag2, ..., flagN) |
| 8 ``` | 8 ``` |
| 9 where 'flag<N>' is the N-th least significant bit, | 9 where 'flag<N>' is the N-th least significant bit, |
| 10 (so flag1 is the least significant bit). | 10 (so flag1 is the least significant bit). |
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 Expression value; | 706 Expression value; |
| 707 } | 707 } |
| 708 | 708 |
| 709 type AwaitExpression extends Expression { | 709 type AwaitExpression extends Expression { |
| 710 Byte tag = 51; | 710 Byte tag = 51; |
| 711 Expression operand; | 711 Expression operand; |
| 712 } | 712 } |
| 713 | 713 |
| 714 type FunctionExpression extends Expression { | 714 type FunctionExpression extends Expression { |
| 715 Byte tag = 52; | 715 Byte tag = 52; |
| 716 FileOffset fileOffset; |
| 716 FunctionNode function; | 717 FunctionNode function; |
| 717 } | 718 } |
| 718 | 719 |
| 719 type Let extends Expression { | 720 type Let extends Expression { |
| 720 Byte tag = 53; | 721 Byte tag = 53; |
| 721 VariableDeclaration variable; | 722 VariableDeclaration variable; |
| 722 Expression body; | 723 Expression body; |
| 723 } | 724 } |
| 724 | 725 |
| 725 type LoadLibrary extends Expression { | 726 type LoadLibrary extends Expression { |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1036 Option<DartType> bound; | 1037 Option<DartType> bound; |
| 1037 } | 1038 } |
| 1038 | 1039 |
| 1039 type TypeParameter { | 1040 type TypeParameter { |
| 1040 // Note: there is no tag on TypeParameter | 1041 // Note: there is no tag on TypeParameter |
| 1041 StringReference name; // Cosmetic, may be empty, not unique. | 1042 StringReference name; // Cosmetic, may be empty, not unique. |
| 1042 DartType bound; // 'dynamic' if no explicit bound was given. | 1043 DartType bound; // 'dynamic' if no explicit bound was given. |
| 1043 } | 1044 } |
| 1044 | 1045 |
| 1045 ``` | 1046 ``` |
| OLD | NEW |