| Index: pkg/kernel/lib/ast.dart
|
| diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
|
| index 2044970b5e553dea2f4c70a7123bb81d5356d01f..ff23041c695fb299c6c1bc9b64a11512924900c4 100644
|
| --- a/pkg/kernel/lib/ast.dart
|
| +++ b/pkg/kernel/lib/ast.dart
|
| @@ -92,9 +92,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);
|
| @@ -3077,6 +3078,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.
|
| ///
|
|
|