Home
last modified time | relevance | path

Searched refs:propertyAccess (Results 1 – 25 of 26) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DpropertyAccess.symbols1 === tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts ===
3 >A : Symbol(A, Decl(propertyAccess.ts, 0, 0))
6 >a : Symbol(A.a, Decl(propertyAccess.ts, 0, 9))
9 >B : Symbol(B, Decl(propertyAccess.ts, 2, 1))
10 >A : Symbol(A, Decl(propertyAccess.ts, 0, 0))
13 >b : Symbol(B.b, Decl(propertyAccess.ts, 3, 19))
16 >Compass : Symbol(Compass, Decl(propertyAccess.ts, 5, 1))
19 >North : Symbol(Compass.North, Decl(propertyAccess.ts, 6, 14))
20 >South : Symbol(Compass.South, Decl(propertyAccess.ts, 7, 10))
21 >East : Symbol(Compass.East, Decl(propertyAccess.ts, 7, 17))
[all …]
DpropertyAccess.errors.txt1 tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts(11,55): error TS2322: Type '{ …
3 tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts(45,14): error TS2339: Property…
4 tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts(80,19): error TS2538: Type '{ …
5 tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts(117,18): error TS2538: Type '{…
6 tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts(140,22): error TS2538: Type '{…
7 tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts(149,5): error TS2403: Subseque…
10 ==== tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts (6 errors) ====
173 !!! related TS6203 tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts:148:5: 'x3'…
DpropertyAccessStringIndexSignatureNoImplicitAny.errors.txt1 tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplicitAny.…
2 tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplicitAny.…
6 ==== tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplici…
DpropertyAccessWidening.errors.txt1 tests/cases/conformance/expressions/propertyAccess/propertyAccessWidening.ts(18,21): error TS2339: …
3 tests/cases/conformance/expressions/propertyAccess/propertyAccessWidening.ts(19,5): error TS7053: E…
7 ==== tests/cases/conformance/expressions/propertyAccess/propertyAccessWidening.ts (2 errors) ====
DpropertyAccessStringIndexSignature.errors.txt1 tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignature.ts(10,7): err…
4 ==== tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignature.ts (1 er…
DpropertyAccessNumericLiterals.es6.types1 === tests/cases/conformance/es6/propertyAccess/propertyAccessNumericLiterals.es6.ts ===
DpropertyAccessNumericLiterals.types1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessNumericLiterals.ts ===
DpropertyAccessStringIndexSignature.types1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignature.ts ===
DpropertyAccessStringIndexSignatureNoImplicitAny.types1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplicit…
DpropertyAccessNumericLiterals.es6.symbols1 === tests/cases/conformance/es6/propertyAccess/propertyAccessNumericLiterals.es6.ts ===
DpropertyAccessStringIndexSignatureNoImplicitAny.symbols1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplicit…
DpropertyAccessStringIndexSignature.symbols1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignature.ts ===
DpropertyAccessNumericLiterals.symbols1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessNumericLiterals.ts ===
DpropertyAccessWidening.symbols1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessWidening.ts ===
DpropertyAccessWidening.types1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessWidening.ts ===
DpropertyAccess.types1 === tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts ===
/third_party/typescript/src/testRunner/unittests/
DpublicApi.ts102 …const propertyAccess = classDeclaration.heritageClauses![0].types[0].expression as ts.PropertyAcce… constant
103 const type = checker.getTypeAtLocation(propertyAccess);
105 assert.equal(type, checker.getTypeAtLocation(propertyAccess.name));
/third_party/typescript/src/compiler/
Dbinder.ts1810 const propertyAccess = <PropertyAccessExpression>node.expression; constant
1811 …if (isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && isPushO…
3178 function isTopLevelNamespaceAssignment(propertyAccess: BindableAccessExpression) {
3179 return isBinaryExpression(propertyAccess.parent)
3180 … ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === SyntaxKind.SourceFile
3181 : propertyAccess.parent.parent.kind === SyntaxKind.SourceFile;
3184 …function bindPropertyAssignment(name: BindableStaticNameExpression, propertyAccess: BindableStatic…
3186 const isToplevel = isTopLevelNamespaceAssignment(propertyAccess);
3187 …namespaceSymbol = bindPotentiallyMissingNamespaces(namespaceSymbol, propertyAccess.expression, isT…
3188 … bindPotentiallyNewExpandoMemberToNamespace(propertyAccess, namespaceSymbol, isPrototypeProperty);
Dparser.ts5329 const propertyAccess = isOptionalChain ?
5332 if (isOptionalChain && isPrivateIdentifier(propertyAccess.name)) {
5333 …parseErrorAtRange(propertyAccess.name, Diagnostics.An_optional_chain_cannot_contain_private_identi…
5335 return finishNode(propertyAccess, pos);
/third_party/typescript/src/services/
Dcompletions.ts1294 …const propertyAccess = node.kind === SyntaxKind.ImportType ? <ImportTypeNode>node : <PropertyAcces… constant
1301 …ype, typeChecker), s => typeChecker.isValidPropertyAccessForCompletions(propertyAccess, type, s)));
1307 … if (typeChecker.isValidPropertyAccessForCompletions(propertyAccess, type, symbol)) {
1328 … if (typeChecker.isValidPropertyAccessForCompletions(propertyAccess, promiseType, symbol)) {
/third_party/typescript/lib/
DtypingsInstaller.js32646 var propertyAccess = isOptionalChain ?
32649 if (isOptionalChain && ts.isPrivateIdentifier(propertyAccess.name)) {
32650 …parseErrorAtRange(propertyAccess.name, ts.Diagnostics.An_optional_chain_cannot_contain_private_ide…
32652 return finishNode(propertyAccess, pos);
42087 var propertyAccess = node.expression;
42088 … (ts.isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && ts.isP…
43327 function isTopLevelNamespaceAssignment(propertyAccess) { argument
43328 return ts.isBinaryExpression(propertyAccess.parent)
43329 … ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === 300 /* SourceFile */
43330 : propertyAccess.parent.parent.kind === 300 /* SourceFile */;
[all …]
Dtsc.js26237 var propertyAccess = isOptionalChain ?
26240 if (isOptionalChain && ts.isPrivateIdentifier(propertyAccess.name)) {
26241 …parseErrorAtRange(propertyAccess.name, ts.Diagnostics.An_optional_chain_cannot_contain_private_ide…
26243 return finishNode(propertyAccess, pos);
34416 var propertyAccess = node.expression;
34417 … (ts.isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && ts.isP…
35472 function isTopLevelNamespaceAssignment(propertyAccess) { argument
35473 return ts.isBinaryExpression(propertyAccess.parent)
35474 ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === 300
35475 : propertyAccess.parent.parent.kind === 300;
[all …]
Dtsserver.js32657 var propertyAccess = isOptionalChain ?
32660 if (isOptionalChain && ts.isPrivateIdentifier(propertyAccess.name)) {
32661 …parseErrorAtRange(propertyAccess.name, ts.Diagnostics.An_optional_chain_cannot_contain_private_ide…
32663 return finishNode(propertyAccess, pos);
42098 var propertyAccess = node.expression;
42099 … (ts.isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && ts.isP…
43338 function isTopLevelNamespaceAssignment(propertyAccess) { argument
43339 return ts.isBinaryExpression(propertyAccess.parent)
43340 … ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === 300 /* SourceFile */
43341 : propertyAccess.parent.parent.kind === 300 /* SourceFile */;
[all …]
DtypescriptServices.js32851 var propertyAccess = isOptionalChain ?
32854 if (isOptionalChain && ts.isPrivateIdentifier(propertyAccess.name)) {
32855 …parseErrorAtRange(propertyAccess.name, ts.Diagnostics.An_optional_chain_cannot_contain_private_ide…
32857 return finishNode(propertyAccess, pos);
42292 var propertyAccess = node.expression;
42293 … (ts.isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && ts.isP…
43532 function isTopLevelNamespaceAssignment(propertyAccess) { argument
43533 return ts.isBinaryExpression(propertyAccess.parent)
43534 … ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === 300 /* SourceFile */
43535 : propertyAccess.parent.parent.kind === 300 /* SourceFile */;
[all …]
Dtsserverlibrary.js32851 var propertyAccess = isOptionalChain ?
32854 if (isOptionalChain && ts.isPrivateIdentifier(propertyAccess.name)) {
32855 …parseErrorAtRange(propertyAccess.name, ts.Diagnostics.An_optional_chain_cannot_contain_private_ide…
32857 return finishNode(propertyAccess, pos);
42292 var propertyAccess = node.expression;
42293 … (ts.isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && ts.isP…
43532 function isTopLevelNamespaceAssignment(propertyAccess) { argument
43533 return ts.isBinaryExpression(propertyAccess.parent)
43534 … ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === 300 /* SourceFile */
43535 : propertyAccess.parent.parent.kind === 300 /* SourceFile */;
[all …]

12