public interface IProblemLocation
Note: this interface is not intended to be implemented.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.Modifier and Type | Method and Description |
---|---|
ASTNode |
getCoveredNode(JavaScriptUnit astRoot)
Convenience method to evaluate the AST node covered by this problem.
|
ASTNode |
getCoveringNode(JavaScriptUnit astRoot)
Convenience method to evaluate the AST node covering this problem.
|
int |
getLength()
Returns the length of the problem.
|
java.lang.String |
getMarkerType()
Returns the marker type of this problem.
|
int |
getOffset()
Returns the start offset of the problem.
|
java.lang.String[] |
getProblemArguments()
Returns the original arguments recorded into the problem.
|
int |
getProblemId()
Returns the id of problem.
|
boolean |
isError()
Returns if the problem has error severity.
|
int getOffset()
int getLength()
java.lang.String getMarkerType()
int getProblemId()
IProblem
for id definitions for problems of type
org.eclipse.wst.jsdt.core.problem
and org.eclipse.wst.jsdt.core.task
.java.lang.String[] getProblemArguments()
boolean isError()
true
if the problem has error severityASTNode getCoveringNode(JavaScriptUnit astRoot)
astRoot
- The root node of the current ASTASTNode getCoveredNode(JavaScriptUnit astRoot)
astRoot
- The root node of the current ASTCopyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.