|
UniSet 2.45.1
|
Классы | |
| class | TestMinimalST |
| class | TestInvalidST |
| class | TestSTConstructs |
| class | TestDefaults |
| class | TestASTDebugOutput |
| class | TestParseFileST |
| class | TestParseFileXML |
Функции | |
| str | load_fixture (str name) |
| _print_stmt_tree (node, indent=0) | |
Переменные | |
| str | FIXTURES_DIR = pathlib.Path(__file__).parent / "fixtures" |
| str | REAL_PROJECTS_DIR = FIXTURES_DIR / "real_projects" |
| str | TCPOU_FILE = FIXTURES_DIR / "real_projects" / "FB_Log.TcPOU" |
Tests for the st2js parser module. Validates blark integration, ParseResult structure, error handling, and parsing of 5+ representative ST constructs.
|
protected |
Recursively print AST node structure for debugging.
| str tests.test_parser.load_fixture | ( | str | name | ) |
Load a .st fixture file and return its contents.