Documentation
¶
Overview ¶
Package conformance names how strictly a document is judged against the pinned SysML v2 and KerML grammars. It is a value threaded explicitly through the analysis pipeline — no global, no environment read — so every entry point states the question it is asking.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mode ¶
type Mode int
Mode is the strictness a parse/analysis run is asked for.
const ( // ModeDefault accepts the OpenSysML notation extensions, reporting each as a // warning. It is the zero value: a caller that says nothing gets it. ModeDefault Mode = iota // ModeStrict answers "is this conforming SysML v2?": notation no pinned // production admits is an error, so a file using it is rejected. ModeStrict )
func ModeOf ¶
ModeOf maps a boolean surface (a CLI flag, an LSP setting, a request field) onto the mode it selects.
func ParseMode ¶
ParseMode reads a mode by name, as the CLI and the REPL spell it. The empty string is the default mode, so an unset setting is not an error.