A B C D E F G H I J L M N O P R S T V W X

A

a(String) - Method in class com.googlecode.jslint4java.Issue.IssueBuilder
 
add(ResourceCollection) - Method in class com.googlecode.jslint4java.ant.JSLintTask
Check the contents of this ResourceCollection.
addClosure(String) - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
addConfiguredFormatter(FormatterElement) - Method in class com.googlecode.jslint4java.ant.JSLintTask
Add in a ResultFormatter through the medium of a FormatterElement.
addException(String) - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
addFunction(JSFunction) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
addGlobal(String) - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
addGlobal(String) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
addImplied(JSIdentifier) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
addIssue(Issue) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
addLabel(String) - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
addMember(String, int) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
addOption(Option) - Method in class com.googlecode.jslint4java.JSLint
Add an option to change the behaviour of the lint.
addOption(Option, String) - Method in class com.googlecode.jslint4java.JSLint
Add an option to change the behaviour of the lint.
addOuter(String) - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
addParam(String) - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
addPredef(PredefElement) - Method in class com.googlecode.jslint4java.ant.JSLintTask
Capture a predef element.
addText(String) - Method in class com.googlecode.jslint4java.ant.PredefElement
Standard ant interface to add the text inside an element.
addUnused(String) - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
addUnused(JSIdentifier) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
addUrl(String) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
addVar(String) - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
applyOptions(JSLint) - Method in class com.googlecode.jslint4java.ant.JSLintTask
 
attr(String, String) - Method in class com.googlecode.jslint4java.formatter.XmlFormatter
 

B

b(String) - Method in class com.googlecode.jslint4java.Issue.IssueBuilder
 
begin() - Method in class com.googlecode.jslint4java.ant.JUnitXmlResultFormatter
 
begin() - Method in class com.googlecode.jslint4java.ant.PlainResultFormatter
 
begin() - Method in class com.googlecode.jslint4java.ant.ReportResultFormatter
 
begin() - Method in interface com.googlecode.jslint4java.ant.ResultFormatter
Called at the start of JSLintTask execution.
begin() - Method in class com.googlecode.jslint4java.ant.XmlResultFormatter
 
build() - Method in class com.googlecode.jslint4java.Issue.IssueBuilder
 
build() - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
build() - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 

C

c(String) - Method in class com.googlecode.jslint4java.Issue.IssueBuilder
 
CharsetConverter - Class in com.googlecode.jslint4java.cli
A utility for using Charset with JCommander.
CharsetConverter() - Constructor for class com.googlecode.jslint4java.cli.CharsetConverter
 
com.googlecode.jslint4java - package com.googlecode.jslint4java
 
com.googlecode.jslint4java.ant - package com.googlecode.jslint4java.ant
 
com.googlecode.jslint4java.cli - package com.googlecode.jslint4java.cli
 
com.googlecode.jslint4java.formatter - package com.googlecode.jslint4java.formatter
 
convert(String) - Method in class com.googlecode.jslint4java.cli.CharsetConverter
 

D

d(String) - Method in class com.googlecode.jslint4java.Issue.IssueBuilder
 
duration(long) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 

E

end() - Method in class com.googlecode.jslint4java.ant.JUnitXmlResultFormatter
 
end() - Method in class com.googlecode.jslint4java.ant.PlainResultFormatter
 
end() - Method in class com.googlecode.jslint4java.ant.ReportResultFormatter
 
end() - Method in interface com.googlecode.jslint4java.ant.ResultFormatter
Called at the end of JSLintTask execution.
end() - Method in class com.googlecode.jslint4java.ant.XmlResultFormatter
Write out the XML file containing the issues for all files.
escape(String) - Method in class com.googlecode.jslint4java.formatter.XmlFormatter
 
evidence(String) - Method in class com.googlecode.jslint4java.Issue.IssueBuilder
 
execute() - Method in class com.googlecode.jslint4java.ant.JSLintTask
Scan the specified directories for JavaScript files and lint them.

F

footer() - Method in interface com.googlecode.jslint4java.formatter.JSLintResultFormatter
Return the footer for a result formatter.
footer() - Method in class com.googlecode.jslint4java.formatter.PlainFormatter
No footer required.
footer() - Method in class com.googlecode.jslint4java.formatter.ReportFormatter
 
footer() - Method in class com.googlecode.jslint4java.formatter.XmlFormatter
 
format(JSLintResult) - Method in interface com.googlecode.jslint4java.formatter.JSLintResultFormatter
Convert JSLintResult into a suitably formatted String representation.
format(JSLintResult) - Method in class com.googlecode.jslint4java.formatter.JSLintXmlFormatter
 
format(JSLintResult) - Method in class com.googlecode.jslint4java.formatter.JUnitXmlFormatter
 
format(JSLintResult) - Method in class com.googlecode.jslint4java.formatter.PlainFormatter
 
format(JSLintResult) - Method in class com.googlecode.jslint4java.formatter.ReportFormatter
 
FormatterElement - Class in com.googlecode.jslint4java.ant
A sub element of JSLintTask.
FormatterElement() - Constructor for class com.googlecode.jslint4java.ant.FormatterElement
 
FormatterElement.Type - Enum in com.googlecode.jslint4java.ant
What kind of formatters are available.
fromClasspathResource(String) - Method in class com.googlecode.jslint4java.JSLintBuilder
Initialize the scope from a jslint.js found in the classpath.
fromClasspathResource(String, Charset) - Method in class com.googlecode.jslint4java.JSLintBuilder
Initialize the scope from a jslint.js found in the classpath.
fromDefault() - Method in class com.googlecode.jslint4java.JSLintBuilder
Initialize the scope with a default jslint.js.
fromFile(File) - Method in class com.googlecode.jslint4java.JSLintBuilder
Initialize the scope with the jslint.js passed in on the filesystem.
fromFile(File, Charset) - Method in class com.googlecode.jslint4java.JSLintBuilder
Initialize the scope with the jslint.js passed in on the filesystem.
fromJavaScript(String, Scriptable) - Static method in class com.googlecode.jslint4java.Issue.IssueBuilder
Build from a JavaScript context
fromReader(Reader, String) - Method in class com.googlecode.jslint4java.JSLintBuilder
Initialize the scope with an arbitrary jslint.

G

getA() - Method in class com.googlecode.jslint4java.Issue
 
getB() - Method in class com.googlecode.jslint4java.Issue
 
getC() - Method in class com.googlecode.jslint4java.Issue
 
getCharacter() - Method in class com.googlecode.jslint4java.Issue
 
getClosure() - Method in class com.googlecode.jslint4java.JSFunction
The variables and parameters that are declared in the function that are used by its inner functions.
getD() - Method in class com.googlecode.jslint4java.Issue
 
getDescription() - Method in enum com.googlecode.jslint4java.Option
Return a description of what this option affects.
getDuration() - Method in class com.googlecode.jslint4java.JSLintResult
How long did JSLint take to run? (milliseconds)
getEdition() - Method in class com.googlecode.jslint4java.JSLint
Return the version of jslint in use.
getEvidence() - Method in class com.googlecode.jslint4java.Issue
 
getException() - Method in class com.googlecode.jslint4java.JSFunction
The variables that are declared by try statements.
getFunctions() - Method in class com.googlecode.jslint4java.JSLintResult
Return a list of functions defined.
getGlobal() - Method in class com.googlecode.jslint4java.JSFunction
Global variables that are used by this function.
getGlobals() - Method in class com.googlecode.jslint4java.JSLintResult
List all names defined in the global namespace.
getImplieds() - Method in class com.googlecode.jslint4java.JSLintResult
List all names with implied definitions.
getIssues() - Method in class com.googlecode.jslint4java.JSLintResult
Return a list of all issues that JSLint found with this source code.
getLabel() - Method in class com.googlecode.jslint4java.JSFunction
Statement labels that are used by this function.
getLast() - Method in class com.googlecode.jslint4java.JSFunction
 
getLine() - Method in class com.googlecode.jslint4java.Issue
 
getLine() - Method in class com.googlecode.jslint4java.JSFunction
The line the function is defined on.
getLine() - Method in class com.googlecode.jslint4java.JSIdentifier
The line that the identifier occurs on.
getLowerName() - Method in enum com.googlecode.jslint4java.Option
Return the lowercase name of this option.
getMember() - Method in class com.googlecode.jslint4java.JSLintResult
A count of how many times each member name is defined.
getName() - Method in class com.googlecode.jslint4java.JSFunction
The name of the function.
getName() - Method in class com.googlecode.jslint4java.JSIdentifier
The name of the identifier.
getName() - Method in class com.googlecode.jslint4java.JSLintResult
The name of the source file just validated.
getOuter() - Method in class com.googlecode.jslint4java.JSFunction
Variables used by this function that are declared in another function.
getParams() - Method in class com.googlecode.jslint4java.JSFunction
The parameters of the function.
getRaw() - Method in class com.googlecode.jslint4java.Issue
 
getReason() - Method in class com.googlecode.jslint4java.Issue
 
getReport() - Method in class com.googlecode.jslint4java.JSLintResult
An HTML report of the source file.
getResultFormatter() - Method in class com.googlecode.jslint4java.ant.FormatterElement
Return a configured ResultFormatter corresponding to this element.
getSystemId() - Method in class com.googlecode.jslint4java.Issue
 
getText() - Method in class com.googlecode.jslint4java.ant.PredefElement
Return the text we've captured.
getType() - Method in enum com.googlecode.jslint4java.Option
What type does the value of this option have?
getUnused() - Method in class com.googlecode.jslint4java.JSFunction
The variables that are declared in the function that are not used.
getUnused() - Method in class com.googlecode.jslint4java.JSLintResult
A list of unused names.
getUrls() - Method in class com.googlecode.jslint4java.JSLintResult
A list of URLs encountered (when parsing HTML).
getVars() - Method in class com.googlecode.jslint4java.JSFunction
The variables that are declared in the function that are used only by the function.

H

header() - Method in interface com.googlecode.jslint4java.formatter.JSLintResultFormatter
Return the header for a result formatter.
header() - Method in class com.googlecode.jslint4java.formatter.PlainFormatter
No footer required.
header() - Method in class com.googlecode.jslint4java.formatter.ReportFormatter
 
header() - Method in class com.googlecode.jslint4java.formatter.XmlFormatter
 

I

isJson() - Method in class com.googlecode.jslint4java.JSLintResult
Was this JSON?
Issue - Class in com.googlecode.jslint4java
A single issue with the code that is being checked for problems.
Issue.IssueBuilder - Class in com.googlecode.jslint4java
Allow creating an issue in a couple of different ways.
Issue.IssueBuilder(String, int, int, String) - Constructor for class com.googlecode.jslint4java.Issue.IssueBuilder
 

J

JSFunction - Class in com.googlecode.jslint4java
A JavaScript function definition.
JSFunction.Builder - Class in com.googlecode.jslint4java
Allow construction of an immutable JSFunction from outside of this package.
JSFunction.Builder(String, int) - Constructor for class com.googlecode.jslint4java.JSFunction.Builder
 
JSIdentifier - Class in com.googlecode.jslint4java
A JavaScript identifer, and it's location.
JSIdentifier(String, int) - Constructor for class com.googlecode.jslint4java.JSIdentifier
 
JSLint - Class in com.googlecode.jslint4java
A utility class to check JavaScript source code for potential problems.
JSLint(ContextFactory, ScriptableObject) - Constructor for class com.googlecode.jslint4java.JSLint
Create a new JSLint object.
JSLintBuilder - Class in com.googlecode.jslint4java
Construct JSLint instances.
JSLintBuilder() - Constructor for class com.googlecode.jslint4java.JSLintBuilder
 
JSLintResult - Class in com.googlecode.jslint4java
The result of a JSLint run.
JSLintResult.ResultBuilder - Class in com.googlecode.jslint4java
Allow constructing a result class in such a way that we can publish immutable instances, even from outside this package.
JSLintResult.ResultBuilder(String) - Constructor for class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
JSLintResultFormatter - Interface in com.googlecode.jslint4java.formatter
An interface for converting a JSLintResult into a string.
JSLintTask - Class in com.googlecode.jslint4java.ant
Run JSLint over a tree of files in order to pick holes in your JavaScript.
JSLintTask() - Constructor for class com.googlecode.jslint4java.ant.JSLintTask
 
JSLintXmlFormatter - Class in com.googlecode.jslint4java.formatter
Convert a single JSLintResult into an XML representation.
JSLintXmlFormatter() - Constructor for class com.googlecode.jslint4java.formatter.JSLintXmlFormatter
 
json(boolean) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
JUnitXmlFormatter - Class in com.googlecode.jslint4java.formatter
After a bit of experimentation, this seems to be the best way to represent JSLint output in JUnit format:
JUnitXmlFormatter() - Constructor for class com.googlecode.jslint4java.formatter.JUnitXmlFormatter
 
JUnitXmlResultFormatter - Class in com.googlecode.jslint4java.ant
Output the result of a JSLint run as a JUnit XML file.
JUnitXmlResultFormatter() - Constructor for class com.googlecode.jslint4java.ant.JUnitXmlResultFormatter
 

L

last(int) - Method in class com.googlecode.jslint4java.JSFunction.Builder
 
lint(String, Reader) - Method in class com.googlecode.jslint4java.JSLint
Check for problems in a Reader which contains JavaScript source.
lint(String, String) - Method in class com.googlecode.jslint4java.JSLint
Check for problems in JavaScript source.

M

makeLint() - Method in class com.googlecode.jslint4java.ant.JSLintTask
Create a new JSLint object.
maximumNameLength() - Static method in enum com.googlecode.jslint4java.Option
Calculate the maximum length of all of the Option names.

N

NeedsContext - Annotation Type in com.googlecode.jslint4java
An indication that this method requires access to the current JavaScript context.

O

Option - Enum in com.googlecode.jslint4java
All available options for tuning the behaviour of JSLint.
out - Variable in class com.googlecode.jslint4java.ant.PlainResultFormatter
 
output(JSLintResult) - Method in class com.googlecode.jslint4java.ant.JUnitXmlResultFormatter
 
output(JSLintResult) - Method in class com.googlecode.jslint4java.ant.PlainResultFormatter
Emit all issues to the console.
output(JSLintResult) - Method in class com.googlecode.jslint4java.ant.ReportResultFormatter
 
output(JSLintResult) - Method in interface com.googlecode.jslint4java.ant.ResultFormatter
Called for each file that is checked by JSLintTask.
output(JSLintResult) - Method in class com.googlecode.jslint4java.ant.XmlResultFormatter
Create a "file" element, containing nested "issue" elements.

P

PlainFormatter - Class in com.googlecode.jslint4java.formatter
Output all JSLint errors to the console.
PlainFormatter() - Constructor for class com.googlecode.jslint4java.formatter.PlainFormatter
 
PlainResultFormatter - Class in com.googlecode.jslint4java.ant
Output all JSLint errors to the console.
PlainResultFormatter() - Constructor for class com.googlecode.jslint4java.ant.PlainResultFormatter
 
PredefElement - Class in com.googlecode.jslint4java.ant
An ant element to be used as a child of JSLintTask.
PredefElement(Project) - Constructor for class com.googlecode.jslint4java.ant.PredefElement
 

R

raw(String) - Method in class com.googlecode.jslint4java.Issue.IssueBuilder
 
report(String) - Method in class com.googlecode.jslint4java.JSLint
Report on what variables / functions are in use by this code.
report(String, boolean) - Method in class com.googlecode.jslint4java.JSLint
Report on what variables / functions are in use by this code.
report(String) - Method in class com.googlecode.jslint4java.JSLintResult.ResultBuilder
 
ReportFormatter - Class in com.googlecode.jslint4java.formatter
Emit an HTML fragment containing JSLint's report on the input.
ReportFormatter() - Constructor for class com.googlecode.jslint4java.formatter.ReportFormatter
 
ReportResultFormatter - Class in com.googlecode.jslint4java.ant
Write JSLint reports to a file full of HTML.
ReportResultFormatter() - Constructor for class com.googlecode.jslint4java.ant.ReportResultFormatter
 
resetOptions() - Method in class com.googlecode.jslint4java.JSLint
Clear out all options that have been set with JSLint.addOption(Option).
ResultFormatter - Interface in com.googlecode.jslint4java.ant
Output all issues found somewhere.
root() - Method in class com.googlecode.jslint4java.formatter.JSLintXmlFormatter
 
root() - Method in class com.googlecode.jslint4java.formatter.JUnitXmlFormatter
 
root() - Method in class com.googlecode.jslint4java.formatter.ReportFormatter
 
root() - Method in class com.googlecode.jslint4java.formatter.XmlFormatter
The name of the root element.

S

setDestFile(File) - Method in class com.googlecode.jslint4java.ant.FormatterElement
Specifies the location of the report file.
setEncoding(String) - Method in class com.googlecode.jslint4java.ant.JSLintTask
Set the encoding of the source files that JSLint will read.
setFailureProperty(String) - Method in class com.googlecode.jslint4java.ant.JSLintTask
The name of a property to set upon failure.
setFile(File) - Method in class com.googlecode.jslint4java.ant.JUnitXmlResultFormatter
 
setFile(File) - Method in class com.googlecode.jslint4java.ant.PlainResultFormatter
 
setFile(File) - Method in class com.googlecode.jslint4java.ant.ReportResultFormatter
 
setFile(File) - Method in interface com.googlecode.jslint4java.ant.ResultFormatter
Called during initialization.
setFile(File) - Method in class com.googlecode.jslint4java.ant.XmlResultFormatter
 
setHaltOnFailure(boolean) - Method in class com.googlecode.jslint4java.ant.JSLintTask
Should the build stop if JSLint fails? Defaults to true.
setJslint(File) - Method in class com.googlecode.jslint4java.ant.JSLintTask
Specify an alternative version of jslint.
setOptions(String) - Method in class com.googlecode.jslint4java.ant.JSLintTask
Set the options for running JSLint.
setStdout(OutputStream) - Method in class com.googlecode.jslint4java.ant.JUnitXmlResultFormatter
 
setStdout(OutputStream) - Method in class com.googlecode.jslint4java.ant.PlainResultFormatter
 
setStdout(OutputStream) - Method in class com.googlecode.jslint4java.ant.ReportResultFormatter
 
setStdout(OutputStream) - Method in interface com.googlecode.jslint4java.ant.ResultFormatter
If you want to write to stdout, you can't just use System.out, because we're in the middle of ant task.
setStdout(OutputStream) - Method in class com.googlecode.jslint4java.ant.XmlResultFormatter
 
setType(FormatterElement.Type) - Method in class com.googlecode.jslint4java.ant.FormatterElement
Specify the type of this formatter.
spaces(int) - Method in class com.googlecode.jslint4java.formatter.PlainFormatter
Return a string of howmany spaces.
StringArray - Class in com.googlecode.jslint4java
A convenient shim to allow creating an array from a comma separated list in a string.

T

toString() - Method in class com.googlecode.jslint4java.Issue
Provide four fields from this issue, separated by colons: systemId, line, character, reason.
toString() - Method in class com.googlecode.jslint4java.JSFunction
 
toString() - Method in class com.googlecode.jslint4java.JSIdentifier
 
toString() - Method in enum com.googlecode.jslint4java.Option
Show this option and its description.

V

valueOf(String) - Static method in enum com.googlecode.jslint4java.ant.FormatterElement.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.googlecode.jslint4java.Option
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.googlecode.jslint4java.StringArray
Parse a comma separated string into an array..
values() - Static method in enum com.googlecode.jslint4java.ant.FormatterElement.Type
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum com.googlecode.jslint4java.Option
Returns an array containing the constants of this enum type, in the order they're declared.

W

w - Variable in class com.googlecode.jslint4java.ant.PlainResultFormatter
 

X

XmlFormatter - Class in com.googlecode.jslint4java.formatter
A convenience super-class for generating XML through a StringBuilder.
XmlFormatter() - Constructor for class com.googlecode.jslint4java.formatter.XmlFormatter
 
XmlResultFormatter - Class in com.googlecode.jslint4java.ant
Write out JSLint problems to an XML file.
XmlResultFormatter() - Constructor for class com.googlecode.jslint4java.ant.XmlResultFormatter
 

A B C D E F G H I J L M N O P R S T V W X

Copyright © 2007-2011. All Rights Reserved.