Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add location information to lexed tokens and expand filter error messages to take advantage of it #40

Merged
merged 4 commits into from
Aug 7, 2024

test: Add tests for gathering location information from multi-line qu…

dfac53b
Select commit
Loading
Failed to load commit list.
Merged

feat: Add location information to lexed tokens and expand filter error messages to take advantage of it #40

test: Add tests for gathering location information from multi-line qu…
dfac53b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Aug 7, 2024 in 0s

71.10% of diff hit (target 62.62%)

View this Pull Request on Codecov

71.10% of diff hit (target 62.62%)

Annotations

Check warning on line 26 in src/filter/lexer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/lexer.rs#L25-L26

Added lines #L25 - L26 were not covered by tests

Check warning on line 43 in src/filter/lexer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/lexer.rs#L42-L43

Added lines #L42 - L43 were not covered by tests

Check warning on line 64 in src/filter/lexer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/lexer.rs#L61-L64

Added lines #L61 - L64 were not covered by tests

Check warning on line 74 in src/filter/lexer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/lexer.rs#L74

Added line #L74 was not covered by tests

Check warning on line 169 in src/filter/lexer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/lexer.rs#L169

Added line #L169 was not covered by tests

Check warning on line 182 in src/filter/lexer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/lexer.rs#L182

Added line #L182 was not covered by tests

Check warning on line 195 in src/filter/lexer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/lexer.rs#L195

Added line #L195 was not covered by tests

Check warning on line 30 in src/filter/parser.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/parser.rs#L28-L30

Added lines #L28 - L30 were not covered by tests

Check warning on line 115 in src/filter/parser.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/parser.rs#L115

Added line #L115 was not covered by tests

Check warning on line 138 in src/filter/parser.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/parser.rs#L135-L138

Added lines #L135 - L138 were not covered by tests

Check warning on line 162 in src/filter/parser.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/parser.rs#L162

Added line #L162 was not covered by tests

Check warning on line 169 in src/filter/parser.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/parser.rs#L169

Added line #L169 was not covered by tests

Check warning on line 40 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L36-L40

Added lines #L36 - L40 were not covered by tests

Check warning on line 42 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L42

Added line #L42 was not covered by tests

Check warning on line 48 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L44-L48

Added lines #L44 - L48 were not covered by tests

Check warning on line 52 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L50-L52

Added lines #L50 - L52 were not covered by tests

Check warning on line 55 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L54-L55

Added lines #L54 - L55 were not covered by tests

Check warning on line 57 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L57

Added line #L57 was not covered by tests

Check warning on line 59 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L59

Added line #L59 was not covered by tests

Check warning on line 69 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L63-L69

Added lines #L63 - L69 were not covered by tests

Check warning on line 71 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L71

Added line #L71 was not covered by tests

Check warning on line 77 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L73-L77

Added lines #L73 - L77 were not covered by tests

Check warning on line 84 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L79-L84

Added lines #L79 - L84 were not covered by tests

Check warning on line 88 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L86-L88

Added lines #L86 - L88 were not covered by tests

Check warning on line 96 in src/filter/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/filter/token.rs#L96

Added line #L96 was not covered by tests