Home
last modified time | relevance | path

Searched refs:TypeAlias (Results 1 – 25 of 45) sorted by relevance

12

/third_party/node/deps/v8/src/torque/
Ddeclarations.cc60 const TypeAlias* Declarations::LookupTypeAlias(const QualifiedName& name) { in LookupTypeAlias()
61 TypeAlias* declaration = in LookupTypeAlias()
62 EnsureUnique(FilterDeclarables<TypeAlias>(Lookup(name)), name, "type"); in LookupTypeAlias()
71 const TypeAlias* alias = LookupTypeAlias(QualifiedName(name->value)); in LookupType()
81 auto decls = FilterDeclarables<TypeAlias>(TryLookup(name)); in TryLookupType()
87 TypeAlias* declaration = EnsureUnique( in LookupGlobalType()
88 FilterDeclarables<TypeAlias>(LookupGlobalScope(name)), name, "type"); in LookupGlobalType()
165 TypeAlias* Declarations::DeclareType(const Identifier* name, const Type* type) { in DeclareType()
166 CheckAlreadyDeclared<TypeAlias>(name->value, "type"); in DeclareType()
167 return Declare(name->value, std::unique_ptr<TypeAlias>( in DeclareType()
[all …]
Ddeclarations.h70 static const TypeAlias* LookupTypeAlias(const QualifiedName& name);
94 static TypeAlias* DeclareType(const Identifier* name, const Type* type);
96 static TypeAlias* PredeclareTypeAlias(const Identifier* name,
Ddeclaration-visitor.h38 TypeAlias* alias = in Predeclare()
47 TypeAlias* alias = in Predeclare()
Dtype-visitor.h40 friend class TypeAlias;
Ddeclarable.h653 class TypeAlias : public Declarable {
655 DECLARE_DECLARABLE_BOILERPLATE(TypeAlias, type_alias) in DECLARE_DECLARABLE_BOILERPLATE() argument
671 explicit TypeAlias(
678 explicit TypeAlias(
Ddeclaration-visitor.cc311 TypeAlias* alias = Declarations::DeclareType(generic_type_name, type); in DeclareSpecializedTypes()
408 if (const TypeAlias* alias = TypeAlias::DynamicCast(declarable)) { in ResolvePredeclarations()
Dinstance-type-generator.cc41 if (const TypeAlias* alias = TypeAlias::DynamicCast(p.get())) { in BuildInstanceTypeTree()
Dtype-visitor.cc36 TypeAlias* alias = in ComputeType()
240 const TypeAlias* alias = in ComputeType()
Ddeclarable.cc183 const Type* TypeAlias::Resolve() const { in Resolve()
Dtypes.h644 class TypeAlias; variable
779 const ClassDeclaration* decl, const TypeAlias* alias);
788 const TypeAlias* alias_;
Dtype-oracle.h59 const TypeAlias* alias) { in GetClassType()
/third_party/rust/crates/bindgen/bindgen-integration/cpp/
DTest.h63 typedef Test TypeAlias; typedef
67 typedef testing::TypeAlias TypeAlias; typedef
/third_party/rust/crates/cxx/syntax/
Dmod.rs59 TypeAlias(TypeAlias), enumerator
149 pub struct TypeAlias { struct
Dtypes.rs10 toposort, Api, Atom, Enum, EnumRepr, ExternType, Impl, Lifetimes, Pair, Struct, Type, TypeAlias,
21 pub aliases: UnorderedMap<&'a Ident, &'a TypeAlias>,
155 Api::TypeAlias(alias) => { in collect()
Dident.rs52 Api::TypeAlias(alias) => { in check_all()
Dtokens.rs4 Ref, Signature, SliceRef, Struct, Ty1, Type, TypeAlias, Var,
185 impl ToTokens for TypeAlias { implementation
Dcheck.rs6 NamedType, Ptr, Receiver, Ref, Signature, SliceRef, Struct, Trait, Ty1, Type, TypeAlias, Types,
70 Api::TypeAlias(alias) => check_api_type_alias(cx, alias), in do_typecheck()
496 fn check_api_type_alias(cx: &mut Check, alias: &TypeAlias) { in check_api_type_alias() argument
Dparse.rs10 Signature, SliceRef, Struct, Ty1, Type, TypeAlias, Var, Variant,
419 Api::TypeAlias(alias) => Some(&alias.name), in parse_foreign_mod()
886 Ok(Api::TypeAlias(TypeAlias { in parse_type_alias()
/third_party/rust/crates/cxx/gen/src/
Dnamespace.rs11 Api::Impl(_) | Api::Include(_) | Api::TypeAlias(_) => Default::default(), in namespace()
Dcfg.rs119 Api::TypeAlias(alias) => &alias.cfg, in cfg()
/third_party/typescript/src/services/
Dclassifier2020.ts154 else if (flags & SymbolFlags.TypeAlias) {
DsymbolDisplay.ts18 if (flags & SymbolFlags.TypeAlias) return ScriptElementKind.typeElement;
339 if ((symbolFlags & SymbolFlags.TypeAlias) && (semanticMeaning & SemanticMeaning.Type)) {
/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs949 AliasVariation::TypeAlias in codegen()
964 alias_style == AliasVariation::TypeAlias && in codegen()
980 AliasVariation::TypeAlias => quote! { in codegen()
1038 AliasVariation::TypeAlias => quote! { in codegen()
3389 TypeAlias, enumerator
3400 AliasVariation::TypeAlias => "type_alias", in as_str()
3409 AliasVariation::TypeAlias in default()
3419 "type_alias" => Ok(AliasVariation::TypeAlias), in from_str()
/third_party/node/deps/v8/src/torque/ls/
Dmessage-handler.cc332 const Type* type = TypeAlias::cast(symbol)->type(); in HandleDocumentSymbolRequest()
/third_party/python/Lib/test/
Dtest_typing.py27 from typing import TypeAlias
4586 Alias: TypeAlias = Employee
4593 TypeAlias()
4597 isinstance(42, TypeAlias)
4601 issubclass(Employee, TypeAlias)
4604 issubclass(TypeAlias, Employee)
4608 class C(TypeAlias):
4612 class C(type(TypeAlias)):
4616 self.assertEqual(repr(TypeAlias), 'typing.TypeAlias')
4620 TypeAlias[int]
[all …]

12