/third_party/typescript/tests/baselines/reference/ |
D | propertyAccess.symbols | 1 === 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 …]
|
D | propertyAccess.errors.txt | 1 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'…
|
D | propertyAccessStringIndexSignatureNoImplicitAny.errors.txt | 1 tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplicitAny.… 2 tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplicitAny.… 6 ==== tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplici…
|
D | propertyAccessWidening.errors.txt | 1 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) ====
|
D | propertyAccessStringIndexSignature.errors.txt | 1 tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignature.ts(10,7): err… 4 ==== tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignature.ts (1 er…
|
D | propertyAccessNumericLiterals.es6.types | 1 === tests/cases/conformance/es6/propertyAccess/propertyAccessNumericLiterals.es6.ts ===
|
D | propertyAccessNumericLiterals.types | 1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessNumericLiterals.ts ===
|
D | propertyAccessStringIndexSignature.types | 1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignature.ts ===
|
D | propertyAccessStringIndexSignatureNoImplicitAny.types | 1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplicit…
|
D | propertyAccessNumericLiterals.es6.symbols | 1 === tests/cases/conformance/es6/propertyAccess/propertyAccessNumericLiterals.es6.ts ===
|
D | propertyAccessStringIndexSignatureNoImplicitAny.symbols | 1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplicit…
|
D | propertyAccessStringIndexSignature.symbols | 1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessStringIndexSignature.ts ===
|
D | propertyAccessNumericLiterals.symbols | 1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessNumericLiterals.ts ===
|
D | propertyAccessWidening.symbols | 1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessWidening.ts ===
|
D | propertyAccessWidening.types | 1 === tests/cases/conformance/expressions/propertyAccess/propertyAccessWidening.ts ===
|
D | propertyAccess.types | 1 === tests/cases/conformance/expressions/propertyAccess/propertyAccess.ts ===
|
/third_party/typescript/src/testRunner/unittests/ |
D | publicApi.ts | 102 …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/ |
D | binder.ts | 1810 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);
|
D | parser.ts | 5329 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/ |
D | completions.ts | 1294 …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/ |
D | typingsInstaller.js | 32646 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 …]
|
D | tsc.js | 26237 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 …]
|
D | tsserver.js | 32657 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 …]
|
D | typescriptServices.js | 32851 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 …]
|
D | tsserverlibrary.js | 32851 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 …]
|