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§
- Analysis
Result - Result of analyzing SysML/KerML files.
- AstExport
- AST export result.
- Decompile
Result - Result of decompiling a model to SysML files.
- Diagnostic
Info - A diagnostic message with location information.
- Export
Symbol - A symbol for JSON export (simplified from HirSymbol).
- FileAst
- AST for a single file.
- Import
Result - 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.