com.aptana.ide.editor.js.validator
Class JSLintValidator

java.lang.Object
  extended by com.aptana.ide.editors.validator.ValidatorBase
      extended by com.aptana.ide.editor.js.validator.JSLintValidator
All Implemented Interfaces:
IValidator

public class JSLintValidator
extends ValidatorBase

Author:
Paul Colton, Samir Joshi (Refactoring)

Constructor Summary
JSLintValidator()
          MozillaJsValidator
 
Method Summary
protected  org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
          Returns the preference store
 IFileError[] parseForErrors(java.lang.String path, java.lang.String source, IFileSourceProvider sourceProvider, boolean collectErrors, boolean collectWarnings, boolean collectInfos)
          Parse source and return errors, warnings and information items if any
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSLintValidator

public JSLintValidator()
MozillaJsValidator

Method Detail

parseForErrors

public IFileError[] parseForErrors(java.lang.String path,
                                   java.lang.String source,
                                   IFileSourceProvider sourceProvider,
                                   boolean collectErrors,
                                   boolean collectWarnings,
                                   boolean collectInfos)
Description copied from interface: IValidator
Parse source and return errors, warnings and information items if any

Specified by:
parseForErrors in interface IValidator
Specified by:
parseForErrors in class ValidatorBase
Parameters:
path -
source -
sourceProvider -
collectErrors -
collectWarnings -
collectInfos - - ignored for now
Returns:
errors
See Also:
ValidatorBase.parseForErrors(String, String, IFileSourceProvider, boolean, boolean, boolean)

getPreferenceStore

protected org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
Returns the preference store

Returns:
IPreferenceStore