| Index: pkg/kernel/lib/ast.dart
|
| diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
|
| index aafafcd077580d52263a7f468cbfc84a0ddb0ff2..7bc46ccf689e6d43e9da2651cf333cff9b75fe35 100644
|
| --- a/pkg/kernel/lib/ast.dart
|
| +++ b/pkg/kernel/lib/ast.dart
|
| @@ -95,9 +95,10 @@ abstract class TreeNode extends Node {
|
|
|
| TreeNode parent;
|
|
|
| - /// Offset in the source file it comes from. Valid values are from 0 and up,
|
| - /// or -1 ([noOffset]) if the file offset is not available
|
| - /// (this is the default if none is specifically set).
|
| + /// Offset in the source file it comes from.
|
| + ///
|
| + /// Valid values are from 0 and up, or -1 ([noOffset]) if the file offset is
|
| + /// not available (this is the default if none is specifically set).
|
| int fileOffset = noOffset;
|
|
|
| accept(TreeVisitor v);
|
| @@ -3313,6 +3314,13 @@ class YieldStatement extends Statement {
|
| //
|
| // DESIGN TODO: Should we remove the 'final' modifier from variables?
|
| class VariableDeclaration extends Statement {
|
| + /// Offset of the equals sign in the source file it comes from.
|
| + ///
|
| + /// Valid values are from 0 and up, or -1 ([TreeNode.noOffset])
|
| + /// if the equals sign offset is not available (e.g. if not initialized)
|
| + /// (this is the default if none is specifically set).
|
| + int fileEqualsOffset = TreeNode.noOffset;
|
| +
|
| /// For named parameters, this is the name of the parameter. No two named
|
| /// parameters (in the same parameter list) can have the same name.
|
| ///
|
|
|