Class ParseProblem
java.lang.Object
org.htmlunit.corejs.javascript.ast.ParseProblem
Encapsulates information for a JavaScript parse error or warning.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Stringprivate intprivate Stringprivate ParseProblem.Type -
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()
-
Field Details
-
type
-
message
-
sourceName
-
offset
private int offset -
length
private int length
-
-
Constructor Details
-
ParseProblem
public ParseProblem(ParseProblem.Type type, String message, String sourceName, int offset, int length) Constructs a new ParseProblem.
-
-
Method Details