|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mozilla.javascript.ast.ParseProblem
public class ParseProblem
Encapsulates information for a JavaScript parse error or warning.
| Nested Class Summary | |
|---|---|
static class |
ParseProblem.Type
|
| Constructor Summary | |
|---|---|
ParseProblem(ParseProblem.Type type,
String message,
String sourceName,
int offset,
int length)
Constructs a new ParseProblem. |
|
| Method Summary | |
|---|---|
int |
getFileOffset()
|
int |
getLength()
|
String |
getMessage()
|
String |
getSourceName()
|
ParseProblem.Type |
getType()
|
void |
setFileOffset(int offset)
|
void |
setLength(int length)
|
void |
setMessage(String msg)
|
void |
setSourceName(String name)
|
void |
setType(ParseProblem.Type type)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParseProblem(ParseProblem.Type type,
String message,
String sourceName,
int offset,
int length)
| Method Detail |
|---|
public ParseProblem.Type getType()
public void setType(ParseProblem.Type type)
public String getMessage()
public void setMessage(String msg)
public String getSourceName()
public void setSourceName(String name)
public int getFileOffset()
public void setFileOffset(int offset)
public int getLength()
public void setLength(int length)
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||