Index: src/parsing/scanner.cc |
diff --git a/src/parsing/scanner.cc b/src/parsing/scanner.cc |
index e92b97454adcda0dbe8163547fcdc80b58eba099..d5e877d43a1eacbe97e60cdc2d6749c292e8f887 100644 |
--- a/src/parsing/scanner.cc |
+++ b/src/parsing/scanner.cc |
@@ -1165,6 +1165,18 @@ Token::Value Scanner::ScanTemplateContinuation() { |
return ScanTemplateSpan(); |
} |
+Handle<String> Scanner::SourceUrl(Isolate* isolate) const { |
+ Handle<String> tmp; |
+ if (source_url_.length() > 0) tmp = source_url_.Internalize(isolate); |
+ return tmp; |
+} |
+ |
+Handle<String> Scanner::SourceMappingUrl(Isolate* isolate) const { |
+ Handle<String> tmp; |
+ if (source_mapping_url_.length() > 0) |
+ tmp = source_mapping_url_.Internalize(isolate); |
+ return tmp; |
+} |
void Scanner::ScanDecimalDigits() { |
while (IsDecimalDigit(c0_)) |