MCPcopy Create free account
hub / github.com/PerroEngine/Perro / and_expr

Method and_expr

perro_source/api_modules/perro_runtime_api/src/sub_apis/node.rs:943–949  ·  view source on GitHub ↗
(mut self, expr: QueryExpr)

Source from the content-addressed store, hash-verified

941
942impl NodeQuery {
943 /// Creates an empty query (matches all nodes).
944 pub const fn new() -> Self {
945 Self {
946 expr: None,
947 scope: QueryScope::Root,
948 }
949 }
950
951 fn and_expr(mut self, expr: QueryExpr) -> Self {
952 self.expr = Some(match self.expr {

Callers 8

nameMethod · 0.80
tagsMethod · 0.80
node_typeMethod · 0.80
base_typeMethod · 0.80
layersMethod · 0.80
maskMethod · 0.80
withinMethod · 0.80
where_exprMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected