Searched defs:SsrError (Results 1 – 5 of 5) sorted by relevance
| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide-ssr/src/ |
| D | errors.rs | 17 pub struct SsrError(pub(crate) String); struct 19 impl std::fmt::Display for SsrError { implementation 25 impl SsrError { implementation 26 pub(crate) fn new(message: impl Into<String>) -> SsrError { in new()
|
| D | parsing.rs | 67 ) -> Result<Vec<ParsedRule>, SsrError> { in new() argument 116 fn build(mut self) -> Result<Vec<ParsedRule>, SsrError> { in build() argument 148 fn from_str(query: &str) -> Result<SsrRule, SsrError> { in from_str() argument 171 fn from_str(pattern_str: &str) -> Result<RawPattern, SsrError> { in from_str() argument 203 fn from_str(pattern_str: &str) -> Result<SsrPattern, SsrError> { in from_str() argument 213 fn parse_pattern(pattern_str: &str) -> Result<Vec<PatternElement>, SsrError> { in parse_pattern() argument 233 fn validate_rule(rule: &SsrRule) -> Result<(), SsrError> { in validate_rule() argument 257 fn tokenize(source: &str) -> Result<Vec<Token>, SsrError> { in tokenize() argument 269 fn parse_placeholder(tokens: &mut std::vec::IntoIter<Token>) -> Result<Placeholder, SsrError> { in parse_placeholder() argument 305 fn parse_constraint(tokens: &mut std::vec::IntoIter<Token>) -> Result<Constraint, SsrError> { in parse_constraint() argument [all …]
|
| D | lib.rs | 131 ) -> Result<MatchFinder<'db>, SsrError> { in in_context() argument 140 pub fn at_first_file(db: &'db ide_db::RootDatabase) -> Result<MatchFinder<'db>, SsrError> { in at_first_file() argument 159 pub fn add_rule(&mut self, rule: SsrRule) -> Result<(), SsrError> { in add_rule() argument 199 pub fn add_search_pattern(&mut self, pattern: SsrPattern) -> Result<(), SsrError> { in add_search_pattern() argument 350 impl std::error::Error for SsrError {} implementation
|
| D | resolving.rs | 47 ) -> Result<ResolvedRule, SsrError> { in new() argument 75 fn resolve_pattern_tree(&self, pattern: SyntaxNode) -> Result<ResolvedPattern, SsrError> { in resolve_pattern_tree() argument 121 ) -> Result<(), SsrError> { in resolve() argument
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide/src/ |
| D | lib.rs | 696 ) -> Cancellable<Result<SourceChange, SsrError>> { in structural_search_replace() argument
|