Home
last modified time | relevance | path

Searched defs:SyntaxError (Results 1 – 16 of 16) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/
Dvalidation.rs18 pub(crate) fn validate(root: &SyntaxNode) -> Vec<SyntaxError> { in validate()
117 fn validate_literal(literal: ast::Literal, acc: &mut Vec<SyntaxError>) { in validate_literal()
223 fn validate_numeric_name(name_ref: Option<ast::NameRef>, errors: &mut Vec<SyntaxError>) { in validate_numeric_name()
239 fn validate_visibility(vis: ast::Visibility, errors: &mut Vec<SyntaxError>) { in validate_visibility()
265 fn validate_range_expr(expr: ast::RangeExpr, errors: &mut Vec<SyntaxError>) { in validate_range_expr()
274 fn validate_path_keywords(segment: ast::PathSegment, errors: &mut Vec<SyntaxError>) { in validate_path_keywords()
315 fn validate_trait_object_ref_ty(ty: ast::RefType, errors: &mut Vec<SyntaxError>) { in validate_trait_object_ref_ty()
323 fn validate_trait_object_ptr_ty(ty: ast::PtrType, errors: &mut Vec<SyntaxError>) { in validate_trait_object_ptr_ty()
331 fn validate_trait_object_fn_ptr_ret_ty(ty: ast::FnPtrType, errors: &mut Vec<SyntaxError>) { in validate_trait_object_fn_ptr_ret_ty()
339 fn validate_trait_object_ty(ty: ast::DynTraitType) -> Option<SyntaxError> { in validate_trait_object_ty()
[all …]
Dsyntax_error.rs10 pub struct SyntaxError(String, TextRange); struct
22 impl SyntaxError { implementation
40 impl fmt::Display for SyntaxError { implementation
Dparsing.rs12 pub(crate) fn parse_text(text: &str) -> (GreenNode, Vec<SyntaxError>) { in parse_text()
23 ) -> (GreenNode, Vec<SyntaxError>, bool) { in build_tree()
Dlib.rs95 pub fn errors(&self) -> &[SyntaxError] { in errors()
109 pub fn ok(self) -> Result<T, Arc<Vec<SyntaxError>>> { in ok()
Dsyntax_node.rs43 pub(crate) fn finish_raw(self) -> (GreenNode, Vec<SyntaxError>) { in finish_raw()
Dtests.rs119 fn assert_errors_are_present(errors: &[SyntaxError], path: &Path) { in assert_errors_are_present()
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/parsing/
Dreparsing.rs23 errors: Vec<SyntaxError>, in incremental_reparse()
38 ) -> Option<(GreenNode, Vec<SyntaxError>, TextRange)> { in reparse_token()
87 ) -> Option<(GreenNode, Vec<SyntaxError>, TextRange)> { in reparse_block()
150 old_errors: Vec<SyntaxError>, in merge_errors()
151 new_errors: Vec<SyntaxError>, in merge_errors()
154 ) -> Vec<SyntaxError> { in merge_errors()
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/validation/
Dblock.rs9 pub(crate) fn validate_block_expr(block: ast::BlockExpr, errors: &mut Vec<SyntaxError>) { in validate_block_expr()
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/test_data/parser/fuzz-failures/
D0000.rs176 old_errors: Vec<SyntaxError>,
177 new_errors: Vec<SyntaxError>,
180 ) -> Vec<SyntaxError> {
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/nameres/
Ddiagnostics.rs111 errors: &[SyntaxError], in macro_expansion_parse_error()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-expand/src/
Ddb.rs150 ) -> ExpandResult<Box<[SyntaxError]>>; in parse_macro_expansion_error()
509 ) -> ExpandResult<Box<[SyntaxError]>> { in parse_macro_expansion_error()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DErrors.cpp95 Napi::Error Errors::SyntaxError(Napi::Env env) { in SyntaxError() function in wgpu::binding::Errors
/third_party/typescript/tests/cases/conformance/decorators/
D1.0lib-noErrors.ts908 interface SyntaxError extends Error { interface
910 declare var SyntaxError: { variable
/third_party/typescript/lib/
Dlib.es5.d.ts1099 interface SyntaxError extends Error { interface
1108 declare var SyntaxError: SyntaxErrorConstructor; variable
/third_party/typescript/src/lib/
Des5.d.ts1079 interface SyntaxError extends Error { interface
1088 declare var SyntaxError: SyntaxErrorConstructor; variable
/third_party/typescript/tests/lib/
Dlib.d.ts937 interface SyntaxError extends Error { interface
946 declare var SyntaxError: SyntaxErrorConstructor; variable