Skip to main content

Crate syster_cli

Crate syster_cli 

Source
Expand description

syster-cli library - Core analysis functionality

This module provides the run_analysis function for parsing and analyzing SysML v2 and KerML files using the syster-base library.

Structs§

AnalysisResult
Result of analyzing SysML/KerML files.
AstExport
AST export result.
DecompileResult
Result of decompiling a model to SysML files.
DiagnosticInfo
A diagnostic message with location information.
ExportSymbol
A symbol for JSON export (simplified from HirSymbol).
FileAst
AST for a single file.
ImportResult
Result of importing a model from an interchange format.

Functions§

decompile_model
Decompile an interchange file to SysML text with metadata.
export_ast
Export AST (symbols) for all files.
export_from_host
Export model from an existing AnalysisHost to an interchange format.
export_json
Export analysis result as JSON.
export_model
Export a model to an interchange format.
import_model
Import and validate a model from an interchange format (legacy version).
import_model_into_host
Import a model from an interchange format file (validation only).
run_analysis
Run analysis on input file or directory.