Home
last modified time | relevance | path

Searched refs:Crate (Results 1 – 25 of 34) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DtypeGuardFunctionOfFormThis.symbols207 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 …]
DtypeGuardFunctionOfFormThis.types217 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 …]
DtypeGuardFunctionOfFormThis.js93 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<{}>;
DstrictFunctionTypesErrors.types356 // 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 …]
DstrictFunctionTypesErrors.symbols367 // 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))
DstrictFunctionTypesErrors.errors.txt64 …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>'.
DstrictFunctionTypesErrors.js117 interface Crate<T> {
122 declare let animalCrate: Crate<Animal>;
123 declare let dogCrate: Crate<Dog>;
/third_party/rust/crates/cxx/macro/src/
Dtype_id.rs6 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
Dlib.rs47 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/
DtypeGuardFunctionOfFormThis.ts93 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/
Ddeps.rs7 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()
Dlib.rs97 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/
Drust_project_writer_helpers.h35 class Crate {
37 Crate(SourceFile root, in Crate() function
48 ~Crate() = default;
126 using CrateList = std::vector<Crate>;
Drust_project_writer_helpers_unittest.cc30 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()
Drust_project_writer.cc211 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/
DstrictFunctionTypesErrors.ts117 interface Crate<T> { interface
122 declare let animalCrate: Crate<Animal>;
123 declare let dogCrate: Crate<Dog>;
/third_party/rust/crates/syn/tests/
Dtest_round_trip.rs27 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/
Dscrape_crates_io.py65 with Crate(work_dir, name, vers) as c:
120 class Crate(object): class
/third_party/rust/crates/regex/regex-syntax/
DCargo.toml13 # Features are documented in the "Crate features" section of the crate docs:
DREADME.md61 ### 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/
Dtutorial-6.md1 # Publish Your Crate!
DSUMMARY.md12 - [Publish Your Crate!](./tutorial-6.md)
/third_party/rust/crates/humantime/
DREADME.md8 [Crate](https://crates.io/crates/humantime)
/third_party/rust/crates/regex/
DREADME.md192 ### Crate features
216 [in the "Crate features" section of the documentation](https://docs.rs/regex/*/#crate-features).
/third_party/rust/crates/syn/src/
Dtoken.rs747 "crate" pub struct Crate
925 [crate] => { $crate::token::Crate };

12