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

A

addConfiguredFormatter(FormatterElement) - Method in class net.happygiraffe.jslint.ant.JSLintTask
Add in a ResultFormatter through the medium of a FormatterElement.
addFileset(FileSet) - Method in class net.happygiraffe.jslint.ant.JSLintTask
Check the contents of this FileSet.
addOption(Option) - Method in class net.happygiraffe.jslint.JSLint
Add an option to change the behaviour of the lint.

B

begin() - Method in class net.happygiraffe.jslint.ant.PlainResultFormatter
 
begin() - Method in interface net.happygiraffe.jslint.ant.ResultFormatter
Called at the start of JSLintTask execution.
begin() - Method in class net.happygiraffe.jslint.ant.XmlResultFormatter
 

E

end() - Method in class net.happygiraffe.jslint.ant.PlainResultFormatter
 
end() - Method in interface net.happygiraffe.jslint.ant.ResultFormatter
Called at the end of JSLintTask execution.
end() - Method in class net.happygiraffe.jslint.ant.XmlResultFormatter
Write out the XML file containing the issues for all files.
execute() - Method in class net.happygiraffe.jslint.ant.JSLintTask
Scan the specified directories for JavaScript files and lint them.

F

FormatterElement - Class in net.happygiraffe.jslint.ant
A sub element of JSLintTask.
FormatterElement() - Constructor for class net.happygiraffe.jslint.ant.FormatterElement
 
FormatterElement.Type - Enum in net.happygiraffe.jslint.ant
What kind of formatters are available.

G

getA() - Method in class net.happygiraffe.jslint.Issue
 
getB() - Method in class net.happygiraffe.jslint.Issue
 
getC() - Method in class net.happygiraffe.jslint.Issue
 
getCharacter() - Method in class net.happygiraffe.jslint.Issue
 
getD() - Method in class net.happygiraffe.jslint.Issue
 
getDescription() - Method in enum net.happygiraffe.jslint.Option
Return a description of what this option affects.
getEvidence() - Method in class net.happygiraffe.jslint.Issue
 
getLine() - Method in class net.happygiraffe.jslint.Issue
 
getLowerName() - Method in enum net.happygiraffe.jslint.Option
Return the lowercase name of this option.
getRaw() - Method in class net.happygiraffe.jslint.Issue
 
getReason() - Method in class net.happygiraffe.jslint.Issue
 
getResultFormatter() - Method in class net.happygiraffe.jslint.ant.FormatterElement
Return a configured ResultFormatter corresponding to this element.
getSystemId() - Method in class net.happygiraffe.jslint.Issue
 

I

init() - Method in class net.happygiraffe.jslint.ant.JSLintTask
Create a new JSLint object.
Issue - Class in net.happygiraffe.jslint
A single issue with the code that is being checked for problems.

J

JSLint - Class in net.happygiraffe.jslint
A utility class to check JavaScript source code for potential problems.
JSLint() - Constructor for class net.happygiraffe.jslint.JSLint
Create a new JSLint object.
JSLintTask - Class in net.happygiraffe.jslint.ant
Run JSLint over a tree of files in order to pick holes in your JavaScript.
JSLintTask() - Constructor for class net.happygiraffe.jslint.ant.JSLintTask
 

L

lint(String, Reader) - Method in class net.happygiraffe.jslint.JSLint
Check for problems in a Reader which contains JavaScript source.
lint(String, String) - Method in class net.happygiraffe.jslint.JSLint
Check for problems in JavaScript source.

M

Main - Class in net.happygiraffe.jslint
A command line interface to JSLint.
main(String[]) - Static method in class net.happygiraffe.jslint.Main
The main entry point.
maximumNameLength() - Static method in enum net.happygiraffe.jslint.Option
Calculate the maximum length of all of the Option names.

N

net.happygiraffe.jslint - package net.happygiraffe.jslint
 
net.happygiraffe.jslint.ant - package net.happygiraffe.jslint.ant
 

O

Option - Enum in net.happygiraffe.jslint
All available options for tuning the behaviour of JSLint.
output(File, List<Issue>) - Method in class net.happygiraffe.jslint.ant.PlainResultFormatter
Emit all issues to the console.
output(File, List<Issue>) - Method in interface net.happygiraffe.jslint.ant.ResultFormatter
Called for each file that is checked by JSLintTask.
output(File, List<Issue>) - Method in class net.happygiraffe.jslint.ant.XmlResultFormatter
Create a "file" element, containing nested "issue" elements.

P

PlainResultFormatter - Class in net.happygiraffe.jslint.ant
Output all JSLint errors to the console.
PlainResultFormatter() - Constructor for class net.happygiraffe.jslint.ant.PlainResultFormatter
 

R

report(String) - Method in class net.happygiraffe.jslint.JSLint
Report on what variables / functions are in use by this code.
report(String, boolean) - Method in class net.happygiraffe.jslint.JSLint
Report on what variables / functions are in use by this code.
resetOptions() - Method in class net.happygiraffe.jslint.JSLint
Clear out all options that have been set with JSLint.addOption(Option).
ResultFormatter - Interface in net.happygiraffe.jslint.ant
Output all issues found somewhere.

S

setDestFile(File) - Method in class net.happygiraffe.jslint.ant.FormatterElement
Specifies the location of the report file.
setEncoding(String) - Method in class net.happygiraffe.jslint.ant.JSLintTask
Set the encoding of the source files that JSLint will read.
setHaltOnFailure(boolean) - Method in class net.happygiraffe.jslint.ant.JSLintTask
Should the build stop if JSLint fails? Defaults to true.
setOptions(String) - Method in class net.happygiraffe.jslint.ant.JSLintTask
Set the options for running JSLint.
setOut(OutputStream) - Method in class net.happygiraffe.jslint.ant.PlainResultFormatter
 
setOut(OutputStream) - Method in interface net.happygiraffe.jslint.ant.ResultFormatter
Called during initialization.
setOut(OutputStream) - Method in class net.happygiraffe.jslint.ant.XmlResultFormatter
 
setType(FormatterElement.Type) - Method in class net.happygiraffe.jslint.ant.FormatterElement
Specify the type of this formatter.

T

toString() - Method in class net.happygiraffe.jslint.Issue
Provide four fields from this issue, separated by colons: systemId, line, character, reason.
toString() - Method in enum net.happygiraffe.jslint.Option
Show this option and its description.

V

valueOf(String) - Static method in enum net.happygiraffe.jslint.ant.FormatterElement.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.happygiraffe.jslint.Option
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.happygiraffe.jslint.ant.FormatterElement.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.happygiraffe.jslint.Option
Returns an array containing the constants of this enum type, in the order they are declared.

X

XmlResultFormatter - Class in net.happygiraffe.jslint.ant
Write out JSLint problems to an XML file.
XmlResultFormatter() - Constructor for class net.happygiraffe.jslint.ant.XmlResultFormatter
 

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