Home
last modified time | relevance | path

Searched refs:TypeReference (Results 1 – 25 of 69) sorted by relevance

123

/third_party/skia/src/sksl/ir/
DSkSLTypeReference.h20 class TypeReference final : public Expression {
24 TypeReference(const Context& context, int line, const Type* value) in TypeReference() function
25 : TypeReference(line, value, context.fTypes.fInvalid.get()) {} in TypeReference()
28 static std::unique_ptr<TypeReference> Convert(const Context& context,
33 static std::unique_ptr<TypeReference> Make(const Context& context, int line, const Type* type);
48 return std::unique_ptr<Expression>(new TypeReference(fLine, &this->value(), &this->type())); in clone()
52 TypeReference(int line, const Type* value, const Type* type) in TypeReference() function
DSkSLTypeReference.cpp15 std::unique_ptr<TypeReference> TypeReference::Convert(const Context& context, in Convert()
22 return TypeReference::Make(context, line, type); in Convert()
25 std::unique_ptr<TypeReference> TypeReference::Make(const Context& context, in Make()
29 return std::make_unique<TypeReference>(context, line, type); in Make()
DSkSLIndexExpression.cpp57 if (base->is<TypeReference>()) { in Convert()
58 const Type& baseType = base->as<TypeReference>().value(); in Convert()
63 return TypeReference::Convert(context, base->fLine, in Convert()
/third_party/flutter/skia/src/sksl/ir/
DSkSLTypeReference.h20 struct TypeReference : public Expression { struct
21 TypeReference(const Context& context, int offset, const Type& value) in TypeReference() argument
34 return std::unique_ptr<Expression>(new TypeReference(fOffset, fValue, &fType)); in clone() argument
42 TypeReference(int offset, const Type& value, const Type* type) in TypeReference() argument
/third_party/typescript/src/compiler/
DsymbolWalker.ts14 getTypeArguments: (type: TypeReference) => readonly Type[]) {
65 visitTypeReference(type as TypeReference);
91 function visitTypeReference(type: TypeReference): void {
Dtracing.ts219 const referenceType = type as TypeReference;
Dchecker.ts800 emptyGenericType.instantiations = new Map<string, TypeReference>();
4669 …return (<TypeReference>type).node ? visitAndTransformType(type, typeReferenceToTypeNode) : typeRef…
4844 …ObjectFlags(type) & ObjectFlags.Reference && (<TypeReference>type).node ? "N" + getNodeId((<TypeRe…
4933 function typeReferenceToTypeNode(type: TypeReference) {
5989 …|| length(existing.typeArguments) >= getMinTypeArgumentCount((type as TypeReference).target.typePa…
7551 …if ((t as TypeReference).target && isSymbolAccessibleByFlags((t as TypeReference).target.symbol, e…
7552 … typeArgs = map(getTypeArguments(t as TypeReference), t => typeToTypeNodeHelper(t, context));
7553 … reference = symbolToExpression((t as TypeReference).target.symbol, context, SymbolFlags.Type);
7864 case SyntaxKind.TypeReference:
7997 return !!(target as TypeReference).resolvedTypeArguments;
[all …]
/third_party/typescript/src/linter/
DUtils.ts309 export function isGenericArrayType(tsType: Type): tsType is TypeReference {
317 export function isDerivedFrom(tsType: Type, checkType: CheckType): tsType is TypeReference {
338 export function isTypeReference(tsType: Type): tsType is TypeReference {
368 export function isAnyType(tsType: Type): tsType is TypeReference {
950 … (type as ObjectType).objectFlags & ObjectFlags.Reference ? (type as TypeReference).target : type;
1185 const target = (type as TypeReference).target;
1502 const typeArgs = typeChecker.getTypeArguments(type as TypeReference);
/third_party/rust/crates/bindgen/bindgen/ir/
Dtraversal.rs177 TypeReference, enumerator
225 EdgeKind::TypeReference => cc.types(), in codegen_edges()
Dty.rs1250 tracer.visit_kind(inner.into(), EdgeKind::TypeReference); in trace()
1253 tracer.visit_kind(inner.into(), EdgeKind::TypeReference); in trace()
/third_party/rust/crates/syn/src/
Dty.rs52 Reference(TypeReference),
226 pub struct TypeReference {
704 impl Parse for TypeReference { implementation
706 Ok(TypeReference { in parse()
1163 impl ToTokens for TypeReference { implementation
Dlib.rs409 TypeMacro, TypeNever, TypeParen, TypePath, TypePtr, TypeReference, TypeSlice, TypeTraitObject,
/third_party/rust/crates/bindgen/bindgen/ir/analysis/
Dhas_destructor.rs48 EdgeKind::TypeReference | in consider_edge()
Dderive.rs90 EdgeKind::TypeReference | in consider_edge_default()
481 _ => |kind| kind == EdgeKind::TypeReference, in consider_edge_typeref()
Dhas_vtable.rs86 EdgeKind::TypeReference | in consider_edge()
Dhas_type_param_in_array.rs49 EdgeKind::TypeReference | in consider_edge()
Dhas_float.rs47 EdgeKind::TypeReference | in consider_edge()
Dsizedness.rs122 EdgeKind::TypeReference | in consider_edge()
Dtemplate_params.rs178 EdgeKind::TypeReference => true, in consider_edge()
/third_party/rust/crates/tracing/tracing-attributes/src/
Dexpand.rs443 Type::Reference(syn::TypeReference { elem, .. }) => RecordType::parse_from_ty(elem), in parse_from_ty()
637 if let Type::Reference(syn::TypeReference { elem, .. }) = ty { in from_fn()
/third_party/typescript/src/services/codefixes/
DannotateWithTypeFromJSDoc.ts91 case SyntaxKind.TypeReference:
DinferFromUsage.ts1056 const generic = (type as TypeReference).target;
1078 const genericArgs = checker.getTypeArguments(genericType as TypeReference);
1079 const usageArgs = checker.getTypeArguments(usageType as TypeReference);
/third_party/flutter/skia/src/sksl/
DSkSLIRGenerator.cpp1224 return std::unique_ptr<TypeReference>(new TypeReference(fContext, identifier.fOffset, in convertIdentifier()
1830 ((TypeReference&) *functionValue).fValue, in call()
2105 const Type& oldType = ((TypeReference&) *base).fValue; in convertIndex()
2110 return std::unique_ptr<Expression>(new TypeReference(fContext, base->fOffset, in convertIndex()
2363 const Type& oldType = ((TypeReference&) *base).fValue; in convertIndexExpression()
2369 return std::unique_ptr<Expression>(new TypeReference(fContext, base->fOffset, in convertIndexExpression()
2407 return this->convertTypeField(base->fOffset, ((TypeReference&) *base).fValue, in convertFieldExpression()
/third_party/typescript/tests/baselines/reference/
DparserRealSource11.js2066 export class TypeReference extends AST {
4367 var TypeReference = /** @class */ (function (_super) { class
4368 __extends(TypeReference, _super);
4369 function TypeReference(term, arrayCount) { class in anonymousFunction90e732bb0600.TypeReference
4375 TypeReference.prototype.emit = function (emitter, tokenId, startLine) { class
4378 TypeReference.prototype.typeCheck = function (typeFlow) {
4395 return TypeReference;
4397 TypeScript.TypeReference = TypeReference;
DparserRealSource11.symbols6232 export class TypeReference extends AST {
6233 >TypeReference : Symbol(TypeReference, Decl(parserRealSource11.ts, 2062, 5))
6237 >term : Symbol(TypeReference.term, Decl(parserRealSource11.ts, 2065, 21))
6239 >arrayCount : Symbol(TypeReference.arrayCount, Decl(parserRealSource11.ts, 2065, 38))
6246 >emit : Symbol(TypeReference.emit, Decl(parserRealSource11.ts, 2067, 9))
6256 >typeCheck : Symbol(TypeReference.typeCheck, Decl(parserRealSource11.ts, 2071, 9))
6268 >this : Symbol(TypeReference, Decl(parserRealSource11.ts, 2062, 5))
6277 >this.term : Symbol(TypeReference.term, Decl(parserRealSource11.ts, 2065, 21))
6278 >this : Symbol(TypeReference, Decl(parserRealSource11.ts, 2062, 5))
6279 >term : Symbol(TypeReference.term, Decl(parserRealSource11.ts, 2065, 21))
[all …]

123