/third_party/typescript/src/compiler/transformers/ |
D | es2020.ts | 49 function flattenChain(chain: OptionalChain) { 51 const links: OptionalChain[] = [chain]; 123 …function visitOptionalExpression(node: OptionalChain, captureThisArg: boolean, isDelete: boolean):…
|
/third_party/typescript/src/compiler/ |
D | utilitiesPublic.ts | 1009 return isPropertyAccessExpression(node) && !!(node.flags & NodeFlags.OptionalChain); 1013 return isElementAccessExpression(node) && !!(node.flags & NodeFlags.OptionalChain); 1017 return isCallExpression(node) && !!(node.flags & NodeFlags.OptionalChain); 1022 return !!(node.flags & NodeFlags.OptionalChain) && 1054 export function isOutermostOptionalChain(node: OptionalChain) { 1076 return isNonNullExpression(node) && !!(node.flags & NodeFlags.OptionalChain);
|
D | binder.ts | 1724 function bindOptionalChainRest(node: OptionalChain) { 1742 … function bindOptionalChain(node: OptionalChain, trueTarget: FlowLabel, falseTarget: FlowLabel) { 1766 function bindOptionalChainFlow(node: OptionalChain) {
|
D | parser.ts | 6036 if (node.flags & NodeFlags.OptionalChain) { 6042 while (isNonNullExpression(expr) && !(expr.flags & NodeFlags.OptionalChain)) { 6045 if (expr.flags & NodeFlags.OptionalChain) { 6048 (node as Mutable<NonNullExpression>).flags |= NodeFlags.OptionalChain; 6155 if (questionDotToken || tag.flags & NodeFlags.OptionalChain) { 6156 (tagExpression as Mutable<Node>).flags |= NodeFlags.OptionalChain;
|
D | types.ts | 765 … OptionalChain = 1 << 5, // Chained MemberExpression rooted to a pseudo-OptionalExpression 2771 export type OptionalChain =
|
D | checker.ts | 21930 … function propagateOptionalTypeMarker(type: Type, node: OptionalChain, wasOptional: boolean) { 29560 …return node.flags & NodeFlags.OptionalChain ? checkPropertyAccessChain(node as PropertyAccessChain… 30435 …return node.flags & NodeFlags.OptionalChain ? checkElementAccessChain(node as ElementAccessChain, … 33123 return node.flags & NodeFlags.OptionalChain ? checkNonNullChain(node as NonNullChain) : 34247 if (node.flags & NodeFlags.OptionalChain) { 45675 if (node.questionDotToken || node.flags & NodeFlags.OptionalChain) {
|
/third_party/typescript/src/services/codefixes/ |
D | fixSpelling.ts | 56 if (parent.flags & NodeFlags.OptionalChain) {
|
/third_party/node/deps/v8/src/ast/ |
D | ast.h | 100 V(OptionalChain) \ 1583 class OptionalChain final : public Expression { 1591 explicit OptionalChain(Expression* expression) in OptionalChain() function 3086 OptionalChain* NewOptionalChain(Expression* expression) { in NewOptionalChain() 3087 return zone_->New<OptionalChain>(expression); in NewOptionalChain()
|
D | prettyprinter.cc | 390 void CallPrinter::VisitOptionalChain(OptionalChain* node) { in VisitOptionalChain() 1328 void AstPrinter::VisitOptionalChain(OptionalChain* node) { in VisitOptionalChain()
|
D | ast-traversal-visitor.h | 379 void AstTraversalVisitor<Subclass>::VisitOptionalChain(OptionalChain* expr) { in VisitOptionalChain()
|
/third_party/typescript/src/compiler/factory/ |
D | nodeFactory.ts | 2414 node.flags |= NodeFlags.OptionalChain; 2430 …Debug.assert(!!(node.flags & NodeFlags.OptionalChain), "Cannot update a PropertyAccessExpression u… 2472 node.flags |= NodeFlags.OptionalChain; 2486 …Debug.assert(!!(node.flags & NodeFlags.OptionalChain), "Cannot update a ElementAccessExpression us… 2533 node.flags |= NodeFlags.OptionalChain; 2555 …Debug.assert(!!(node.flags & NodeFlags.OptionalChain), "Cannot update a CallExpression using updat… 3250 node.flags |= NodeFlags.OptionalChain; 3260 …Debug.assert(!!(node.flags & NodeFlags.OptionalChain), "Cannot update a NonNullExpression using up…
|
/third_party/node/deps/v8/src/interpreter/ |
D | bytecode-generator.cc | 5347 void BytecodeGenerator::VisitOptionalChain(OptionalChain* expr) { in VisitOptionalChain() 5483 OptionalChain* chain = callee_expr->AsOptionalChain(); in VisitCall()
|
/third_party/typescript/lib/ |
D | typescript.d.ts | 521 OptionalChain = 32, enumerator 1343 export type OptionalChain = PropertyAccessChain | ElementAccessChain | CallChain | NonNullChain; alias
|
D | typescriptServices.d.ts | 521 OptionalChain = 32, enumerator 1343 export type OptionalChain = PropertyAccessChain | ElementAccessChain | CallChain | NonNullChain; alias
|
D | tsserverlibrary.d.ts | 521 OptionalChain = 32, enumerator 1343 export type OptionalChain = PropertyAccessChain | ElementAccessChain | CallChain | NonNullChain; alias
|
/third_party/typescript/tests/baselines/reference/api/ |
D | typescript.d.ts | 521 OptionalChain = 32, enumerator 1343 export type OptionalChain = PropertyAccessChain | ElementAccessChain | CallChain | NonNullChain; alias
|
D | tsserverlibrary.d.ts | 521 OptionalChain = 32, enumerator 1343 export type OptionalChain = PropertyAccessChain | ElementAccessChain | CallChain | NonNullChain; alias
|