public class JSLintResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JSLintResult.ResultBuilder
Allow constructing a result class in such a way that we can publish
immutable instances, even from outside this package.
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
How long did JSLint take to run? (milliseconds)
|
List<JSFunction> |
getFunctions()
Return a list of functions defined.
|
List<String> |
getGlobals()
List all names defined in the global namespace.
|
List<Issue> |
getIssues()
Return a list of all issues that JSLint found with this source code.
|
String |
getName()
The name of the source file just validated.
|
Set<String> |
getProperties() |
String |
getReport()
An HTML report of the source file.
|
List<String> |
getUrls()
A list of URLs encountered (when parsing HTML).
|
boolean |
isJson()
Was this JSON?
|
public long getDuration()
public List<JSFunction> getFunctions()
public List<Issue> getIssues()
public String getName()
public String getReport()
public boolean isJson()
Copyright © 2007-2013. All Rights Reserved.