blob: 354a51387a50e84b3b62c63aa9a8246e87c73d60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
package org.jetbrains.debugger;
import com.intellij.openapi.util.UserDataHolderEx;
import com.intellij.util.Url;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.debugger.sourcemap.SourceMap;
public interface Script extends UserDataHolderEx {
void setSourceMap(SourceMap sourceMap);
enum Type {
/** A native, internal JavaScript VM script */
NATIVE,
/** A script supplied by an extension */
EXTENSION,
/** A normal user script */
NORMAL
}
Type getType();
@Nullable
SourceMap getSourceMap();
@NotNull
Url getUrl();
@Nullable
String getFunctionName();
int getLine();
int getColumn();
int getEndLine();
}
|