PrologSyntaxAnalyzer

Parser/lexer-backed classification shared by every Prolog-editing frontend (Swing, Compose, Web, ...).

Functions

Link copied to clipboard
fun analyze(source: String, presentedOperators: List<OperatorPresentation>): SyntaxAnalysis

Lexes/parses source (aware of presentedOperators on top of the ISO defaults) into semantic tokens for highlighting plus any syntax diagnostics found.