fix: remove unnecessary reference from core to compiler
This commit is contained in:
parent
45308e6d65
commit
50eb204da7
@ -15,7 +15,6 @@ import java.util.stream.Collectors;
|
|||||||
import me.topchetoeu.jscript.common.Instruction.BreakpointType;
|
import me.topchetoeu.jscript.common.Instruction.BreakpointType;
|
||||||
import me.topchetoeu.jscript.common.parsing.Filename;
|
import me.topchetoeu.jscript.common.parsing.Filename;
|
||||||
import me.topchetoeu.jscript.common.parsing.Location;
|
import me.topchetoeu.jscript.common.parsing.Location;
|
||||||
import me.topchetoeu.jscript.compilation.scope.Scope;
|
|
||||||
|
|
||||||
public class FunctionMap {
|
public class FunctionMap {
|
||||||
public static class FunctionMapBuilder {
|
public static class FunctionMapBuilder {
|
||||||
@ -54,9 +53,6 @@ public class FunctionMap {
|
|||||||
public FunctionMap build(String[] localNames, String[] captureNames) {
|
public FunctionMap build(String[] localNames, String[] captureNames) {
|
||||||
return new FunctionMap(sourceMap, breakpoints, localNames, captureNames);
|
return new FunctionMap(sourceMap, breakpoints, localNames, captureNames);
|
||||||
}
|
}
|
||||||
public FunctionMap build(Scope scope) {
|
|
||||||
return new FunctionMap(sourceMap, breakpoints, new String[0], new String[0]);
|
|
||||||
}
|
|
||||||
public FunctionMap build() {
|
public FunctionMap build() {
|
||||||
return new FunctionMap(sourceMap, breakpoints, new String[0], new String[0]);
|
return new FunctionMap(sourceMap, breakpoints, new String[0], new String[0]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user