Docs.rs
thread-ast-engine-0.1.1
thread-ast-engine 0.1.1
Docs.rs crate page
AGPL-3.0-or-later
AND
MIT
Links
Homepage
Repository
crates.io
Source
Owners
bashandbone
Dependencies
bit-set ^0.8.0
normal
mimalloc ^0.1.48
normal
optional
regex ^1.12.2
normal
optional
thiserror ^2.0.17
normal
thread-utilities ^0.1.3
normal
tree-sitter >=0.25.0
normal
optional
criterion ^0.8.2
dev
tree-sitter-typescript ^0.23.2
dev
cc ^1.2.30
build
Versions
51.53%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
AstGrep
thread_
ast_
engine
0.1.1
AstGrep
Aliased Type
Methods
generate
new
source
In crate thread_
ast_
engine
thread_ast_engine
Type Alias
AstGrep
Copy item path
Source
pub type AstGrep<D> =
Root
<D>;
Aliased Type
§
pub struct AstGrep<D> {
/* private fields */
}
Implementations
§
Source
§
impl<L:
LanguageExt
>
AstGrep
<
StrDoc
<L>>
Source
pub fn
new
<S:
AsRef
<
str
>>(src: S, lang: L) -> Self
Source
pub fn
source
(&self) -> &
str
Source
pub fn
generate
(self) ->
String