Skip to content

Commit

Permalink
ref(grammars toml query): make query names consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Iron-E committed Apr 8, 2021
1 parent 3e746f1 commit 28e8cf0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions grammars/toml/query/invoice_date.ungram
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
/// A query for a `Person`.
TomlInvoiceDateQuery =
'[' 'ident_parent.'* 'issued]literal_newline'
QueryUuid 'literal_newline'
TomlUuidQuery 'literal_newline'
'[' 'ident_parent.'* 'paid]literal_newline'
QueryString
TomlStringQuery
4 changes: 2 additions & 2 deletions grammars/toml/query/location.ungram
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
/// A query for a `Location`.
TomlLocationQuery =
'[' 'ident_parent.'* 'id]literal_newline'
QueryUuid 'literal_newline'
TomlUuidQuery 'literal_newline'
'[' 'ident_parent.'* 'outer]literal_newline'
TomlLocationQueryOuter 'literal_newline'
'[' 'ident_parent.'* 'name]literal_newline'
QueryString
TomlStringQuery

/// A query for the `outer` `Location` of some `Location`.
TomlLocationQueryOuter =
Expand Down
4 changes: 2 additions & 2 deletions grammars/toml/query/organization.ungram
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
/// A query for an `Organization`.
TomlOrganizationQuery =
'[' 'ident_parent.'* 'id]literal_newline'
QueryUuid 'literal_newline'
TomlUuidQuery 'literal_newline'
'[' 'ident_parent.'* 'location]literal_newline'
TomlLocationQuery
'[' 'ident_parent.'* 'name]literal_newline'
QueryString
TomlStringQuery
4 changes: 2 additions & 2 deletions grammars/toml/query/person.ungram
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
/// A query for a `Person`.
TomlPersonQuery =
'[' 'ident_parent.'* 'id]literal_newline'
QueryUuid 'literal_newline'
TomlUuidQuery 'literal_newline'
'[' 'ident_parent.'* 'name]literal_newline'
QueryString
TomlStringQuery
2 changes: 1 addition & 1 deletion grammars/toml/query/string.ungram
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//#include ../match

/// A query for the `String` type.
QueryString =
TomlStringQuery =
MatchAny
| MatchCondition '"EqualTo"literal_newline'
MatchValue String
Expand Down
2 changes: 1 addition & 1 deletion grammars/toml/query/uuid.ungram
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//#include ../types

/// A query for the `Uuid` type.
QueryUuid =
TomlUuidQuery =
MatchAny
| MatchCondition '"EqualTo"literal_newline'
MatchValue Uuid
Expand Down

0 comments on commit 28e8cf0

Please sign in to comment.