public class RhinoJSHinter extends AbstractJSHinter
| Modifier and Type | Field and Description |
|---|---|
protected Object |
jshintScript |
protected org.mozilla.javascript.Script |
runnerScript |
protected org.mozilla.javascript.Scriptable |
scope |
effectiveJSHintConfig, log| Constructor and Description |
|---|
RhinoJSHinter(org.apache.maven.plugin.logging.Log log,
File jshintScriptFile) |
RhinoJSHinter(org.apache.maven.plugin.logging.Log log,
String versionOrResourcePath,
boolean resourcePath) |
| Modifier and Type | Method and Description |
|---|---|
protected org.mozilla.javascript.Script |
compileInternalScriptScript(org.mozilla.javascript.Context cx,
String scriptName) |
protected org.mozilla.javascript.Script |
compileJSHintScript(org.mozilla.javascript.Context cx) |
protected org.mozilla.javascript.Script |
compileScript(org.mozilla.javascript.Context cx,
String name,
InputStream is) |
protected void |
ensureEngineInitialisation() |
protected List<Error> |
executeJSHintImpl(File baseDirectory,
String path,
String effectiveJSHintConfigContent) |
executeJSHint, lookupCustomJSHintConfig, readSource, readSourceLines, reportErrorsprotected final Object jshintScript
protected org.mozilla.javascript.Scriptable scope
protected org.mozilla.javascript.Script runnerScript
public RhinoJSHinter(org.apache.maven.plugin.logging.Log log,
String versionOrResourcePath,
boolean resourcePath)
public RhinoJSHinter(org.apache.maven.plugin.logging.Log log,
File jshintScriptFile)
protected List<Error> executeJSHintImpl(File baseDirectory, String path, String effectiveJSHintConfigContent)
executeJSHintImpl in class AbstractJSHinterprotected void ensureEngineInitialisation()
protected org.mozilla.javascript.Script compileJSHintScript(org.mozilla.javascript.Context cx)
throws IOException
IOExceptionprotected org.mozilla.javascript.Script compileInternalScriptScript(org.mozilla.javascript.Context cx,
String scriptName)
throws IOException
IOExceptionprotected org.mozilla.javascript.Script compileScript(org.mozilla.javascript.Context cx,
String name,
InputStream is)
throws IOException
IOExceptionCopyright © 2016. All rights reserved.