| Index: pkg/js_ast/lib/src/nodes.dart
|
| diff --git a/pkg/js_ast/lib/src/nodes.dart b/pkg/js_ast/lib/src/nodes.dart
|
| index 33b5c58431e6bbe5512a9d1bbb3edfa2a38bb6af..95c8819f1c88e971b501c6685c347c74398fdfba 100644
|
| --- a/pkg/js_ast/lib/src/nodes.dart
|
| +++ b/pkg/js_ast/lib/src/nodes.dart
|
| @@ -588,6 +588,12 @@ abstract class Name extends Literal
|
| implements Declaration, Parameter, Comparable {
|
| accept(NodeVisitor visitor) => visitor.visitName(this);
|
|
|
| + /// Returns a unique [key] for this name.
|
| + ///
|
| + /// The key is unrelated to the actual name and is not intended for human
|
| + /// consumption. As such, it might be long or cryptic.
|
| + String get key;
|
| +
|
| bool get allowRename => false;
|
| }
|
|
|
| @@ -597,6 +603,10 @@ class LiteralStringFromName extends LiteralString {
|
| LiteralStringFromName(this.name) : super(null);
|
|
|
| String get value => '"${name.name}"';
|
| +
|
| + void visitChildren(NodeVisitor visitor) {
|
| + name.accept(visitor);
|
| + }
|
| }
|
|
|
| class LiteralExpression extends Expression {
|
|
|