Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: pkg/kernel/binary.md

Issue 3000023002: [kernel] Add fileOffset on FunctionExpression (Closed)
Patch Set: Almost forgot the C++ side of things Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/kernel/lib/binary/ast_from_binary.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 ```
OLDNEW
« no previous file with comments | « no previous file | pkg/kernel/lib/binary/ast_from_binary.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698