pub fn parse(input: &str) -> Result<ContractNode>Expand description
Parse ICL text into an AST ContractNode
Returns the raw parse tree with source positions (spans).
For a semantic Contract, use parse_contract instead.
§Guarantees
- Deterministic: same input always produces same AST
- Error messages include line:column
§Errors
Returns ParseError with line:column for syntax violations.