Skip to content

Improve documentation, add tests for AST arena and builder functionality

31889c6
Select commit
Loading
Failed to load commit list.
Merged

Remove source_code from node location #70

Improve documentation, add tests for AST arena and builder functionality
31889c6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jan 13, 2026 in 1s

28.38% of diff hit (target 70.00%)

View this Pull Request on Codecov

28.38% of diff hit (target 70.00%)

Annotations

Check warning on line 18 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L18

Added line #L18 was not covered by tests

Check warning on line 49 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L47-L49

Added lines #L47 - L49 were not covered by tests

Check warning on line 53 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L52-L53

Added lines #L52 - L53 were not covered by tests

Check warning on line 58 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L58

Added line #L58 was not covered by tests

Check warning on line 64 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L63-L64

Added lines #L63 - L64 were not covered by tests

Check warning on line 78 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L76-L78

Added lines #L76 - L78 were not covered by tests

Check warning on line 85 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L81-L85

Added lines #L81 - L85 were not covered by tests

Check warning on line 109 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L87-L109

Added lines #L87 - L109 were not covered by tests

Check warning on line 111 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L111

Added line #L111 was not covered by tests

Check warning on line 113 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L113

Added line #L113 was not covered by tests

Check warning on line 138 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L135-L138

Added lines #L135 - L138 were not covered by tests

Check warning on line 143 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L140-L143

Added lines #L140 - L143 were not covered by tests

Check warning on line 147 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L146-L147

Added lines #L146 - L147 were not covered by tests

Check warning on line 150 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L149-L150

Added lines #L149 - L150 were not covered by tests

Check warning on line 152 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L152

Added line #L152 was not covered by tests

Check warning on line 209 in core/ast/src/arena.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/arena.rs#L206-L209

Added lines #L206 - L209 were not covered by tests

Check warning on line 180 in core/ast/src/nodes.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/nodes.rs#L179-L180

Added lines #L179 - L180 were not covered by tests

Check warning on line 182 in core/ast/src/nodes.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/nodes.rs#L182

Added line #L182 was not covered by tests

Check warning on line 185 in core/ast/src/nodes.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/ast/src/nodes.rs#L184-L185

Added lines #L184 - L185 were not covered by tests

Check warning on line 120 in core/type-checker/src/type_checker.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/type-checker/src/type_checker.rs#L120

Added line #L120 was not covered by tests

Check warning on line 211 in core/type-checker/src/type_checker.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/type-checker/src/type_checker.rs#L211

Added line #L211 was not covered by tests

Check warning on line 274 in core/type-checker/src/type_checker.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/type-checker/src/type_checker.rs#L274

Added line #L274 was not covered by tests

Check warning on line 285 in core/type-checker/src/type_checker.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/type-checker/src/type_checker.rs#L285

Added line #L285 was not covered by tests

Check warning on line 407 in core/type-checker/src/type_checker.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/type-checker/src/type_checker.rs#L407

Added line #L407 was not covered by tests

Check warning on line 439 in core/type-checker/src/type_checker.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/type-checker/src/type_checker.rs#L439

Added line #L439 was not covered by tests