Package me.topchetoeu.j2s.compilation
Class CompilationFunctionMap
java.lang.Object
me.topchetoeu.j2s.compilation.CompilationFunctionMap
- All Implemented Interfaces:
me.topchetoeu.j2s.common.FunctionMap
public final class CompilationFunctionMap
extends Object
implements me.topchetoeu.j2s.common.FunctionMap
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String[]
final String[]
static final CompilationFunctionMap
final me.topchetoeu.j2s.common.Location
final me.topchetoeu.j2s.common.Location
final String[]
-
Constructor Summary
ConstructorsConstructorDescriptionCompilationFunctionMap
(Map<Integer, me.topchetoeu.j2s.common.Location> map, Map<me.topchetoeu.j2s.common.Location, me.topchetoeu.j2s.common.Instruction.BreakpointType> breakpoints, me.topchetoeu.j2s.common.Location first, me.topchetoeu.j2s.common.Location last, String[] localNames, String[] capturableNames, String[] captureNames) -
Method Summary
Modifier and TypeMethodDescriptionList<me.topchetoeu.j2s.common.Location>
breakpoints
(me.topchetoeu.j2s.common.Location start, me.topchetoeu.j2s.common.Location end) builder()
String[]
String[]
clone()
List<me.topchetoeu.j2s.common.Location>
correctBreakpoint
(Pattern filename, int line, int column) me.topchetoeu.j2s.common.Location
correctBreakpoint
(me.topchetoeu.j2s.common.Location loc) me.topchetoeu.j2s.common.Location
end()
me.topchetoeu.j2s.common.Location
first()
me.topchetoeu.j2s.common.Instruction.BreakpointType
getBreakpoint
(int pc) me.topchetoeu.j2s.common.Location
last()
String[]
me.topchetoeu.j2s.common.Location
start()
me.topchetoeu.j2s.common.Location
toLocation
(int pc) me.topchetoeu.j2s.common.Location
toLocation
(int pc, boolean approximate)
-
Field Details
-
EMPTY
-
localNames
-
capturableNames
-
captureNames
-
first
public final me.topchetoeu.j2s.common.Location first -
last
public final me.topchetoeu.j2s.common.Location last
-
-
Constructor Details
-
CompilationFunctionMap
public CompilationFunctionMap(Map<Integer, me.topchetoeu.j2s.common.Location> map, Map<me.topchetoeu.j2s.common.Location, me.topchetoeu.j2s.common.Instruction.BreakpointType> breakpoints, me.topchetoeu.j2s.common.Location first, me.topchetoeu.j2s.common.Location last, String[] localNames, String[] capturableNames, String[] captureNames)
-
-
Method Details
-
toLocation
public me.topchetoeu.j2s.common.Location toLocation(int pc, boolean approximate) - Specified by:
toLocation
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
toLocation
public me.topchetoeu.j2s.common.Location toLocation(int pc) - Specified by:
toLocation
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
getBreakpoint
public me.topchetoeu.j2s.common.Instruction.BreakpointType getBreakpoint(int pc) - Specified by:
getBreakpoint
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
correctBreakpoint
public me.topchetoeu.j2s.common.Location correctBreakpoint(me.topchetoeu.j2s.common.Location loc) - Specified by:
correctBreakpoint
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
correctBreakpoint
public List<me.topchetoeu.j2s.common.Location> correctBreakpoint(Pattern filename, int line, int column) - Specified by:
correctBreakpoint
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
breakpoints
public List<me.topchetoeu.j2s.common.Location> breakpoints(me.topchetoeu.j2s.common.Location start, me.topchetoeu.j2s.common.Location end) - Specified by:
breakpoints
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
start
public me.topchetoeu.j2s.common.Location start() -
end
public me.topchetoeu.j2s.common.Location end() -
first
public me.topchetoeu.j2s.common.Location first()- Specified by:
first
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
last
public me.topchetoeu.j2s.common.Location last()- Specified by:
last
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
capturableNames
- Specified by:
capturableNames
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
captureNames
- Specified by:
captureNames
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
localNames
- Specified by:
localNames
in interfaceme.topchetoeu.j2s.common.FunctionMap
-
clone
-
builder
-