Crate ast_grep_core
source ·Re-exports
pub use meta_var::MetaVarMatcher;
pub use meta_var::MetaVariable;
pub use ops::All;
pub use ops::Any;
pub use ops::Op;
Modules
Structs
’r represents root lifetime
Represents the matched node with populated MetaVarEnv.
It derefs to the Node so you can use it as a Node.
To access the underlying MetaVarEnv, call
get_env
method.Traits
N.B. At least one positive term is required for matching