|
|
|
@ -122,15 +122,14 @@ pub const Panic = struct {}; |
|
|
|
|
|
|
|
|
|
// Query markers |
|
|
|
|
|
|
|
|
|
// zig fmt: off |
|
|
|
|
/// Query marker to express `$this` variable. |
|
|
|
|
pub const This = struct {}; |
|
|
|
|
pub const _This_Name = "$"; |
|
|
|
|
pub const This = struct { pub const name = "$"; }; |
|
|
|
|
/// Query marker to express match all wildcard (`*` in query DSL). |
|
|
|
|
pub const Wildcard = struct {}; |
|
|
|
|
pub const _Wildcard_Name = "*"; |
|
|
|
|
pub const Wildcard = struct { pub const name = "*"; }; |
|
|
|
|
/// Query marker to express match at least one wildcard (`_` in query DSL). |
|
|
|
|
pub const Any = struct {}; |
|
|
|
|
pub const _Any_Name = "_"; |
|
|
|
|
pub const Any = struct { pub const name = "_"; }; |
|
|
|
|
// zig fmt: on |
|
|
|
|
|
|
|
|
|
/// Query marker to express `==` operator. |
|
|
|
|
pub const PredEq = struct {}; |
|
|
|
|