Package org.mozilla.javascript.ast
Class ParseProblem
java.lang.Object
org.mozilla.javascript.ast.ParseProblem
Encapsulates information for a JavaScript parse error or warning.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionParseProblem
(ParseProblem.Type type, String message, String sourceName, int offset, int length) Constructs a new ParseProblem. -
Method Summary
Modifier and TypeMethodDescriptionint
int
getType()
void
setFileOffset
(int offset) void
setLength
(int length) void
setMessage
(String msg) void
setSourceName
(String name) void
setType
(ParseProblem.Type type) toString()
-
Constructor Details
-
ParseProblem
public ParseProblem(ParseProblem.Type type, String message, String sourceName, int offset, int length) Constructs a new ParseProblem.
-
-
Method Details