Home
last modified time | relevance | path

Searched refs:isJs (Results 1 – 10 of 10) sorted by relevance

/third_party/typescript/src/services/codefixes/
DfixStrictClassInitialization.ts49 isJs: boolean; property
57 return { type, prop: token.parent, isJs: isInJSFile(token.parent) };
64 if (info.isJs) return undefined;
91 if (info.isJs) {
100 if (info.isJs) return undefined;
Dhelpers.ts334 const isJs = isInJSFile(contextNode);
337 const contextualType = isJs ? undefined : checker.getContextualType(call);
340 const instanceTypes = isJs ? [] : map(args, arg => checker.getTypeAtLocation(arg));
351 …const typeParameters = isJs ? undefined : createTypeParametersForArguments(checker, argumentTypePa…
352 …createDummyParameters(args.length, names, argumentTypeNodes, /*minArgumentCount*/ undefined, isJs);
353 const type = isJs || contextualType === undefined
DimportFixes.ts661 const isJs = isSourceFileJS(sourceFile); constant
680 …!importedSymbolHasValueMeaning && isJs && position !== undefined ? { kind: ImportFixKind.JsdocType…
/third_party/node/test/es-module/
Dtest-esm-shebang.mjs4 const isJs = true; constant
5 export default isJs;
/third_party/node/test/fixtures/es-modules/
Dtest-esm-ok.mjs1 const isJs = true; constant
2 export default isJs;
/third_party/typescript/src/compiler/
Dprogram.ts2221 … const isJs = sourceFile.scriptKind === ScriptKind.JS || sourceFile.scriptKind === ScriptKind.JSX; constant
2222 const isCheckJs = isJs && isCheckJsEnabledForFile(sourceFile, options);
Dchecker.ts13903 const isJs = isInJSFile(node); constant
13904 const isJsImplicitAny = !noImplicitAny && isJs;
13906 …const missingAugmentsTag = isJs && isExpressionWithTypeArguments(node) && !isJSDocAugmentsTag(node…
13917 if (!isJs) {
13928 …peArguments(typeArgumentsFromTypeReferenceNode(node), typeParameters, minTypeArgumentCount, isJs));
31706 …mentNodes: readonly TypeNode[], typeParameters: readonly TypeParameter[], isJs: boolean): readonly…
31712 …nstraintOfTypeParameter(typeParameters[typeArguments.length]) || getDefaultTypeArgumentType(isJs));
40675 const isJs = isInJSFile(node); constant
40690 …if (isJs && lastJSDocParam && isIdentifier(lastJSDocParam.name) && lastJSDocParam.typeExpression &&
40701 if (isJs) {
[all …]
/third_party/typescript/lib/
DtypingsInstaller.js63129 var isJs = ts.isInJSFile(node);
63130 var isJsImplicitAny = !noImplicitAny && isJs;
63132 …var missingAugmentsTag = isJs && ts.isExpressionWithTypeArguments(node) && !ts.isJSDocAugmentsTag(…
63142 if (!isJs) {
63153 …peArguments(typeArgumentsFromTypeReferenceNode(node), typeParameters, minTypeArgumentCount, isJs));
79707 function getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isJs) { argument
79713 …nstraintOfTypeParameter(typeParameters[typeArguments.length]) || getDefaultTypeArgumentType(isJs));
87807 var isJs = ts.isInJSFile(node);
87822 …if (isJs && lastJSDocParam && ts.isIdentifier(lastJSDocParam.name) && lastJSDocParam.typeExpressio…
87834 if (isJs) {
[all …]
Dtsc.js52575 var isJs = ts.isInJSFile(node);
52576 var isJsImplicitAny = !noImplicitAny && isJs;
52578 …var missingAugmentsTag = isJs && ts.isExpressionWithTypeArguments(node) && !ts.isJSDocAugmentsTag(…
52588 if (!isJs) {
52595 …peArguments(typeArgumentsFromTypeReferenceNode(node), typeParameters, minTypeArgumentCount, isJs));
66872 function getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isJs) { argument
66878 …nstraintOfTypeParameter(typeParameters[typeArguments.length]) || getDefaultTypeArgumentType(isJs));
73872 var isJs = ts.isInJSFile(node);
73887 …if (isJs && lastJSDocParam && ts.isIdentifier(lastJSDocParam.name) && lastJSDocParam.typeExpressio…
73899 if (isJs) {
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp151625 bool isJs() const volatile { return !isCpp(); } in isJs() function in js::ProfileEntry