Module implementing an interface to add different languages to do a syntax check.
None |
SyntaxCheckService | Implement the syntax check service. |
None |
Implement the syntax check service.
Plugins can add other languages to the syntax check by calling addLanguage and support of an extra checker module on the client side which has to connect directly to the background service.
None |
None |
SyntaxCheckService | Constructor |
__determineLanguage | Private methode to determine the language of the file. |
__serviceError | Private slot handling service errors. |
addLanguage | Public method to register a new language to the supported languages. |
batchJobDone | Public slot handling the completion of a batch job. |
cancelSyntaxBatchCheck | Public method to cancel all batch jobs. |
getExtensions | Public method to return all supported file extensions for the syntax checker dialog. |
getLanguages | Public method to return the supported language names. |
removeLanguage | Public method to remove the language from syntax check. |
serviceErrorJSON | Public method handling service errors for JSON. |
serviceErrorJavaScript | Public method handling service errors for JavaScript. |
serviceErrorPy3 | Public method handling service errors for Python 3. |
serviceErrorYAML | Public method handling service errors for YAML. |
syntaxBatchCheck | Public method to prepare a syntax check on multiple source files. |
syntaxCheck | Public method to prepare a syntax check of one source file. |
None |
Constructor
Private methode to determine the language of the file.
Private slot handling service errors.
Public method to register a new language to the supported languages.
Public slot handling the completion of a batch job.
Public method to cancel all batch jobs.
Public method to return all supported file extensions for the syntax checker dialog.
Public method to return the supported language names.
Public method to remove the language from syntax check.
Public method handling service errors for JSON.
Public method handling service errors for JavaScript.
Public method handling service errors for Python 3.
Public method handling service errors for YAML.
Public method to prepare a syntax check on multiple source files.
Public method to prepare a syntax check of one source file.