glualint-1.28.0: Attempts to fix your syntax erroring Lua files.
Safe HaskellSafe-Inferred
LanguageHaskell2010

GLuaFixer.Interface

Synopsis

Documentation

sourceLint :: LintSettings -> FilePath -> String -> [LintMessage] Source #

Run the linters that apply to the source code of a file

lex :: LintSettings -> FilePath -> String -> Either [LintMessage] [MToken] Source #

Generate the lexicon of a source file, used as input for the parser

lexiconLint :: FilePath -> LintSettings -> [MToken] -> [LintMessage] Source #

Run the linting functions that inspect the lexicon

parse :: LintSettings -> FilePath -> [MToken] -> Either [LintMessage] AST Source #

Parse a lexicon into an Abstract Syntax Tree

astLint :: FilePath -> LintSettings -> AST -> [LintMessage] Source #

Run the linters that inspect the AST

prettyprint :: LintSettings -> AST -> String Source #

Pretty print code to a string