Skip to content

Commit f06cef5

Browse files
author
Max Schaefer
committed
JavaScript: Port JSDoc parser to Java.
1 parent c14ebac commit f06cef5

File tree

4 files changed

+2217
-238
lines changed

4 files changed

+2217
-238
lines changed

javascript/extractor/src/com/semmle/js/ast/SourceLocation.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ public SourceLocation(String source, Position start) {
2121
this(source, start, null);
2222
}
2323

24+
public SourceLocation(SourceLocation that) {
25+
this(that.source, that.start, that.end);
26+
}
27+
2428
/**
2529
* The source code contained in this location.
2630
*/

0 commit comments

Comments
 (0)