Index: lib/src/js/nodes.dart |
diff --git a/lib/src/js/nodes.dart b/lib/src/js/nodes.dart |
index 6e80fb2fc7c719dc899cb262eeea3129d4c3e8ba..edad282582a57ecb9f196b444fd4e11ef46b39c7 100644 |
--- a/lib/src/js/nodes.dart |
+++ b/lib/src/js/nodes.dart |
@@ -1080,6 +1080,9 @@ class LiteralString extends Literal { |
*/ |
LiteralString(this.value); |
+ /// Gets the value inside the string without the beginning and end quotes. |
+ String get valueWithoutQuotes => value.substring(1, value.length - 1); |
+ |
accept(NodeVisitor visitor) => visitor.visitLiteralString(this); |
LiteralString _clone() => new LiteralString(value); |
} |