Structs§
- Bootstrap
Header - Dependency
Clause Node - Diagnostic
Code - Directive
Node - Typed directive CST wrapper.
- DocComment
Node - Typed doc-comment CST wrapper.
- Document
Node - Typed document CST wrapper.
- Guard
Clause Node - Header
Terminator Node - LexToken
- Namespace
Node - Typed namespace CST wrapper.
- Parameter
List Node - Parameter
Node - Parse
Result - Shell
Clause Node - Shell
Selection - Syntax
Snapshot - Immutable syntax snapshot shared by semantic analysis and editor hosts.
- Task
Command Block Node - Consecutive block lines assembled into one shell input.
- Task
Command Node - One ordinary command line and its source range.
- Task
Dependency Ref - One dependency reference parsed from a task header.
- Task
Guard Ref - Task
Header Info - Structured task header data parsed from the CST token stream.
- Task
Header Node - Task
Node - Typed task CST wrapper.
- Task
Param Ref - One parameter declaration parsed from a task header.
- Task
Shell Ref - Version
Requirement
Enums§
- Directive
Kind - Guard
Kind - Shell
Kind - Shell
Operator - Syntax
Kind - Task
Step Node - One executable step read from a task body.
Traits§
- Parse
Result Ext - Extension helpers for parse results used by hosts and tests.
Functions§
- bootstrap
- Runs the header scan and compatibility check without parsing the full file.
- check_
version_ compatibility - Checks the optional Onlyfile version declaration against a runner SemVer.
- format_
range - Formats the single top-level declaration touched by a source range.
- format_
source - Formats an Onlyfile using the built-in deterministic style.
- lex
- Lexes source text into tokens while preserving trivia.
- parse
- Parses Onlyfile text into a shallow CST with line-level recovery.
- parse_
version_ requirement - Parses the two-segment version value used by a
!versiondirective. - scan_
bootstrap_ header - Scans the optional version declaration at the start of an Onlyfile.
- snapshot
- Lexes and parses source text into an immutable syntax snapshot.