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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionParseProblem(ParseProblem.Type type, String message, String sourceName, int offset, int length) Constructs a new ParseProblem. -
Method Summary
Modifier and TypeMethodDescriptionintintgetType()voidsetFileOffset(int offset) voidsetLength(int length) voidsetMessage(String msg) voidsetSourceName(String name) voidsetType(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