/third_party/typescript/tests/baselines/reference/ |
D | typeGuardFunctionOfFormThis.symbols | 207 interface Crate<T> { 208 >Crate : Symbol(Crate, Decl(typeGuardFunctionOfFormThis.ts, 89, 1)) 212 >contents : Symbol(Crate.contents, Decl(typeGuardFunctionOfFormThis.ts, 91, 20)) 216 >volume : Symbol(Crate.volume, Decl(typeGuardFunctionOfFormThis.ts, 92, 16)) 218 isSupplies(): this is Crate<Supplies>; 219 >isSupplies : Symbol(Crate.isSupplies, Decl(typeGuardFunctionOfFormThis.ts, 93, 19)) 220 >Crate : Symbol(Crate, Decl(typeGuardFunctionOfFormThis.ts, 89, 1)) 223 isSundries(): this is Crate<Sundries>; 224 >isSundries : Symbol(Crate.isSundries, Decl(typeGuardFunctionOfFormThis.ts, 94, 42)) 225 >Crate : Symbol(Crate, Decl(typeGuardFunctionOfFormThis.ts, 89, 1)) [all …]
|
D | typeGuardFunctionOfFormThis.types | 217 interface Crate<T> { 224 isSupplies(): this is Crate<Supplies>; 225 >isSupplies : () => this is Crate<Supplies> 227 isSundries(): this is Crate<Sundries>; 228 >isSundries : () => this is Crate<Sundries> 231 let crate: Crate<{}>; 232 >crate : Crate<{}> 236 >crate.isSundries : () => this is Crate<Sundries> 237 >crate : Crate<{}> 238 >isSundries : () => this is Crate<Sundries> [all …]
|
D | typeGuardFunctionOfFormThis.js | 93 interface Crate<T> { 96 isSupplies(): this is Crate<Supplies>; 97 isSundries(): this is Crate<Sundries>; 100 let crate: Crate<{}>; 336 interface Crate<T> { 339 isSupplies(): this is Crate<Supplies>; 340 isSundries(): this is Crate<Sundries>; 342 declare let crate: Crate<{}>;
|
D | strictFunctionTypesErrors.types | 356 // Crate<T> is invariant in --strictFunctionTypes mode 358 interface Crate<T> { 367 declare let animalCrate: Crate<Animal>; 368 >animalCrate : Crate<Animal> 370 declare let dogCrate: Crate<Dog>; 371 >dogCrate : Crate<Dog> 376 >animalCrate = dogCrate : Crate<Dog> 377 >animalCrate : Crate<Animal> 378 >dogCrate : Crate<Dog> 381 >dogCrate = animalCrate : Crate<Animal> [all …]
|
D | strictFunctionTypesErrors.symbols | 367 // Crate<T> is invariant in --strictFunctionTypes mode 369 interface Crate<T> { 370 >Crate : Symbol(Crate, Decl(strictFunctionTypesErrors.ts, 111, 31)) 374 >item : Symbol(Crate.item, Decl(strictFunctionTypesErrors.ts, 115, 20)) 378 >onSetItem : Symbol(Crate.onSetItem, Decl(strictFunctionTypesErrors.ts, 116, 12)) 383 declare let animalCrate: Crate<Animal>; 385 >Crate : Symbol(Crate, Decl(strictFunctionTypesErrors.ts, 111, 31)) 388 declare let dogCrate: Crate<Dog>; 390 >Crate : Symbol(Crate, Decl(strictFunctionTypesErrors.ts, 111, 31))
|
D | strictFunctionTypesErrors.errors.txt | 64 …ictFunctionTypesErrors.ts(126,1): error TS2322: Type 'Crate<Dog>' is not assignable to type 'Crate… 69 …ctFunctionTypesErrors.ts(127,1): error TS2322: Type 'Crate<Animal>' is not assignable to type 'Cra… 295 // Crate<T> is invariant in --strictFunctionTypes mode 297 interface Crate<T> { 302 declare let animalCrate: Crate<Animal>; 303 declare let dogCrate: Crate<Dog>; 309 !!! error TS2322: Type 'Crate<Dog>' is not assignable to type 'Crate<Animal>'. 316 !!! error TS2322: Type 'Crate<Animal>' is not assignable to type 'Crate<Dog>'.
|
D | strictFunctionTypesErrors.js | 117 interface Crate<T> { 122 declare let animalCrate: Crate<Animal>; 123 declare let dogCrate: Crate<Dog>;
|
/third_party/rust/crates/cxx/macro/src/ |
D | type_id.rs | 6 pub enum Crate { enum 11 impl ToTokens for Crate { implementation 14 Crate::Cxx => tokens.extend(quote!(::cxx)), in to_tokens() 15 Crate::DollarCrate(krate) => krate.to_tokens(tokens), in to_tokens() 21 pub fn expand(krate: Crate, arg: QualifiedName) -> TokenStream { in expand() argument
|
D | lib.rs | 47 use crate::type_id::Crate; 89 krate: Crate, in type_id() 95 let krate = input.parse().map(Crate::DollarCrate)?; in type_id()
|
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/ |
D | typeGuardFunctionOfFormThis.ts | 93 interface Crate<T> { interface 96 isSupplies(): this is Crate<Supplies>; property 97 isSundries(): this is Crate<Sundries>; property 100 let crate: Crate<{}>;
|
/third_party/rust/crates/cxx/gen/build/src/ |
D | deps.rs | 7 pub struct Crate { struct 18 impl Crate { argument 41 pub fn direct_dependencies() -> Vec<Crate> { in direct_dependencies() 42 let mut crates: BTreeMap<String, Crate> = BTreeMap::new(); in direct_dependencies()
|
D | lib.rs | 97 use crate::deps::{Crate, HeaderDir}; 269 fn make_this_crate(prj: &Project) -> Result<Crate> { in make_this_crate() argument 273 let mut this_crate = Crate { in make_this_crate()
|
/third_party/gn/src/gn/ |
D | rust_project_writer_helpers.h | 35 class Crate { 37 Crate(SourceFile root, in Crate() function 48 ~Crate() = default; 126 using CrateList = std::vector<Crate>;
|
D | rust_project_writer_helpers_unittest.cc | 30 Crate dep = Crate(SourceFile("/root/tortoise/lib.rs"), std::nullopt, 0, in TEST_F() 32 Crate target = Crate(SourceFile("/root/hare/lib.rs"), in TEST_F()
|
D | rust_project_writer.cc | 211 Crate sysroot_crate = Crate(SourceFile(crate_path), std::nullopt, crate_index, in AddSysrootCrate() 244 void AddSysrootDependencyToCrate(Crate* crate, in AddSysrootDependencyToCrate() 299 Crate crate = Crate(crate_root, gen_dir, crate_id, crate_label, in AddTarget()
|
/third_party/typescript/tests/cases/compiler/ |
D | strictFunctionTypesErrors.ts | 117 interface Crate<T> { interface 122 declare let animalCrate: Crate<Animal>; 123 declare let dogCrate: Crate<Dog>;
|
/third_party/rust/crates/syn/tests/ |
D | test_round_trip.rs | 27 AngleBracketedArg, AngleBracketedArgs, Crate, GenericArg, GenericParamKind, Generics, 152 fn librustc_parse(content: String, sess: &ParseSess) -> PResult<Crate> { in librustc_parse() argument 195 fn normalize(krate: &mut Crate) { in normalize() argument
|
/third_party/rust/crates/regex/scripts/ |
D | scrape_crates_io.py | 65 with Crate(work_dir, name, vers) as c: 120 class Crate(object): class
|
/third_party/rust/crates/regex/regex-syntax/ |
D | Cargo.toml | 13 # Features are documented in the "Crate features" section of the crate docs:
|
D | README.md | 61 ### Crate features 70 [in the "Crate features" section of the documentation](https://docs.rs/regex-syntax/*/#crate-featur…
|
/third_party/rust/crates/bindgen/book/src/ |
D | tutorial-6.md | 1 # Publish Your Crate!
|
D | SUMMARY.md | 12 - [Publish Your Crate!](./tutorial-6.md)
|
/third_party/rust/crates/humantime/ |
D | README.md | 8 [Crate](https://crates.io/crates/humantime)
|
/third_party/rust/crates/regex/ |
D | README.md | 192 ### Crate features 216 [in the "Crate features" section of the documentation](https://docs.rs/regex/*/#crate-features).
|
/third_party/rust/crates/syn/src/ |
D | token.rs | 747 "crate" pub struct Crate 925 [crate] => { $crate::token::Crate };
|