Home
last modified time | relevance | path

Searched defs:from_text (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/
Dmake.rs27 fn from_text(text: &str) -> ast::IdentPat { in simple_ident_pat() function
417 fn from_text(text: &str) -> ast::RecordExprField { in record_expr_field() function
623 fn from_text(text: &str) -> ast::WildcardPat { in wildcard_pat() function
631 fn from_text(text: &str) -> ast::LiteralPat { in literal_pat() function
640 fn from_text(text: &str) -> ast::SlicePat { in slice_pat() function
656 fn from_text(text: &str) -> ast::TuplePat { in tuple_pat() function
668 fn from_text(text: &str) -> ast::TupleStructPat { in tuple_struct_pat() function
677 fn from_text(text: &str) -> ast::RecordPat { in record_pat() function
704 fn from_text(text: &str) -> ast::Pat { in path_pat() function
720 fn from_text(text: &str) -> ast::MatchArm { in match_arm() function
[all …]
Dtoken_ext.rs98 pub(crate) fn from_text(text: &str) -> CommentKind { in from_text() method