Home
last modified time | relevance | path

Searched refs:declName (Results 1 – 7 of 7) sorted by relevance

/third_party/typescript/src/services/
DcallHierarchy.ts121 const declName = isConstNamedExpression(node) ? node.parent.name : constant
125 isIdentifier(declName) ? idText(declName) :
126 isStringOrNumericLiteralLike(declName) ? declName.text :
127 isComputedPropertyName(declName) ?
128 isStringOrNumericLiteralLike(declName.expression) ? declName.expression.text :
133 const symbol = typeChecker.getSymbolAtLocation(declName);
143 return { text, pos: declName.getStart(), end: declName.getEnd() };
DnavigationBar.ts473 const declName = child.name || getNameOfDeclaration(child.node as Declaration); constant
474 const name = declName && nodeText(declName);
693 const declName = getNameOfDeclaration(node as Declaration); constant
694 if (declName && isPropertyName(declName)) {
695 const propertyName = getPropertyNameForPropertyNameNode(declName);
/third_party/typescript/src/compiler/
Dbinder.ts600 const declName = getNameOfDeclaration(node); constant
601 if (!declName) return false;
602 …if (isPropertyAccessEntityNameExpression(declName.parent) && isTopLevelNamespaceAssignment(declNam…
603 …if (isDeclaration(declName.parent) && getCombinedModifierFlags(declName.parent) & ModifierFlags.Ex…
2123 const declName = getNameOfDeclaration(typeAlias); constant
2124 …ocEnumTag(typeAlias) || !typeAlias.fullName) && declName && isPropertyAccessEntityNameExpression(d…
2126 const isTopLevel = isTopLevelNamespaceAssignment(declName.parent);
2128 bindPotentiallyMissingNamespaces(file.symbol, declName.parent, isTopLevel,
2129 …!!findAncestor(declName, d => isPropertyAccessExpression(d) && d.name.escapedText === "prototype")…
2131 switch (getAssignmentDeclarationPropertyAccessKind(declName.parent)) {
[all …]
Dchecker.ts11195 const declName = isBinaryExpression(decl) ? decl.left : decl.name; constant
11196 … isElementAccessExpression(declName) ? checkExpressionCached(declName.argumentExpression) : checkC…
11213 …ags.UniqueESSymbol) && unescapeLeadingUnderscores(memberName) || declarationNameToString(declName);
11215 error(declName || decl, Diagnostics.Duplicate_property_0, name);
39220 const declName = declarationNameToString(nextDeclarationName); constant
39224 declName,
39230 … createDiagnosticForNode(firstDeclaration, Diagnostics._0_was_also_declared_here, declName)
/third_party/typescript/src/compiler/transformers/
DlegacyDecorators.ts244 const declName = languageVersion <= ScriptTarget.ES2015 ? constant
273 declName,
/third_party/typescript/lib/
Dtsc.js39209 var declName = ts.getNameOfDeclaration(node);
39210 if (!declName)
39212 …if (ts.isPropertyAccessEntityNameExpression(declName.parent) && isTopLevelNamespaceAssignment(decl…
39214 … if (ts.isDeclaration(declName.parent) && ts.getCombinedModifierFlags(declName.parent) & 1)
40471 var declName = ts.getNameOfDeclaration(typeAlias);
40472 …EnumTag(typeAlias) || !typeAlias.fullName) && declName && ts.isPropertyAccessEntityNameExpression(
40473 var isTopLevel = isTopLevelNamespaceAssignment(declName.parent);
40475 …bindPotentiallyMissingNamespaces(file.symbol, declName.parent, isTopLevel, !!ts.findAncestor(declN…
40477 switch (ts.getAssignmentDeclarationPropertyAccessKind(declName.parent)) {
40488 container = declName.parent.expression;
[all …]
DtypingsInstaller.js47650 var declName = ts.getNameOfDeclaration(node);
47651 if (!declName)
47653 …if (ts.isPropertyAccessEntityNameExpression(declName.parent) && isTopLevelNamespaceAssignment(decl…
47655 …if (ts.isDeclaration(declName.parent) && ts.getCombinedModifierFlags(declName.parent) & 1 /* Modif…
49058 var declName = ts.getNameOfDeclaration(typeAlias);
49059 …EnumTag(typeAlias) || !typeAlias.fullName) && declName && ts.isPropertyAccessEntityNameExpression(
49061 var isTopLevel = isTopLevelNamespaceAssignment(declName.parent);
49063 …bindPotentiallyMissingNamespaces(file.symbol, declName.parent, isTopLevel, !!ts.findAncestor(declN…
49065 switch (ts.getAssignmentDeclarationPropertyAccessKind(declName.parent)) {
49076 container = declName.parent.expression;
[all …]