fluvie_validate library

Statically validate Fluvie composition code without executing it.

FluvieCodeAnalyzer resolves a snippet against package:fluvie and reports compiler diagnostics plus the fluvie_lints rules as FluvieDiagnostics. It analyzes only: it never compiles to an executable or runs the code.

Classes

FluvieCodeAnalyzer
Resolves a Fluvie snippet against package:fluvie and reports its diagnostics. It analyzes only: it never compiles to an executable or runs the code, so calling analyze on arbitrary input is safe.
FluvieDiagnostic
A single problem found in a Fluvie snippet, located 1-based for an editor.

Enums

FluvieDiagnosticSeverity
The severity of a FluvieDiagnostic, mirroring the analyzer's three levels.