Home
last modified time | relevance | path

Searched refs:isOptional (Results 1 – 25 of 46) sorted by relevance

12

/third_party/node/deps/npm/lib/install/
Dis-only-optional.js2 module.exports = isOptional
7 function isOptional (node, seen) { function
18 return isOptDep(req, moduleName(node)) || isOptional(req, seen)
/third_party/protobuf/php/tests/
DGeneratedServiceTest.php91 $this->assertFalse($param->isOptional());
104 $this->assertFalse($param->isOptional());
/third_party/node/deps/npm/node_modules/lock-verify/
Dindex.js24 const isOptional = type[1]
29 if (isOptional) {
/third_party/typescript/src/services/codefixes/
DinferFromUsage.ts351 …return { name: factory.cloneNode(param.name), param, isOptional: !!inference.isOptional, typeNode …
376 const paramTags = map(inferences, ({ name, typeNode, isOptional }) =>
377 …createJSDocParameterTag(/*tagName*/ undefined, name, /*isBracketed*/ !!isOptional, factory.createJ…
471 readonly isOptional?: boolean; property
581 let isOptional = false;
584 isOptional = isInJSFile(declaration);
603 isOptional: isOptional && !isRest,
967 const isOptional = types.length < anons.length ? SymbolFlags.Optional : 0;
968 const s = checker.createSymbol(SymbolFlags.Property | isOptional, name as __String);
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dprefer-string-starts-ends-with.ts322 isOptional: boolean,
333 `${isOptional ? '?.' : '.'}${kind}sWith(`,
353 isOptional: boolean,
360 `${isOptional ? '?.' : '.'}${kind}sWith`,
/third_party/glslang/SPIRV/
Ddoc.h181 bool isOptional(int op) const { return optional[op]; } in isOptional() function
/third_party/typescript/tests/baselines/reference/
DparserRealSource7.js508 var isOptional = hasFlag(varDecl.id.flags, ASTFlags.OptionalName); variable
539 if (isOptional) {
596 var isOptional = funcDecl.name && hasFlag(funcDecl.name.flags, ASTFlags.OptionalName);
761 if (fgSym && isOptional) {
1237 var isOptional = hasFlag(varDecl.id.flags, ASTFlags.OptionalName);
1260 if (isOptional) {
1305 var isOptional = funcDecl.name && hasFlag(funcDecl.name.flags, ASTFlags.OptionalName);
1449 if (fgSym && isOptional) {
DparserRealSource7.symbols1396 var isOptional = hasFlag(varDecl.id.flags, ASTFlags.OptionalName);
1397 >isOptional : Symbol(isOptional, Decl(parserRealSource7.ts, 506, 11))
1474 if (isOptional) {
1475 >isOptional : Symbol(isOptional, Decl(parserRealSource7.ts, 506, 11))
1635 var isOptional = funcDecl.name && hasFlag(funcDecl.name.flags, ASTFlags.OptionalName);
1636 >isOptional : Symbol(isOptional, Decl(parserRealSource7.ts, 594, 11))
2004 if (fgSym && isOptional) {
2006 >isOptional : Symbol(isOptional, Decl(parserRealSource7.ts, 594, 11))
DparserRealSource7.types2829 var isOptional = hasFlag(varDecl.id.flags, ASTFlags.OptionalName);
2830 >isOptional : any
3005 if (isOptional) {
3006 >isOptional : any
3393 var isOptional = funcDecl.name && hasFlag(funcDecl.name.flags, ASTFlags.OptionalName);
3394 >isOptional : any
4301 if (fgSym && isOptional) {
4302 >fgSym && isOptional : any
4304 >isOptional : any
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource7.ts507 var isOptional = hasFlag(varDecl.id.flags, ASTFlags.OptionalName);
538 if (isOptional) {
595 var isOptional = funcDecl.name && hasFlag(funcDecl.name.flags, ASTFlags.OptionalName);
760 if (fgSym && isOptional) {
DparserRealSource11.ts936 public isOptional = false; property in ArgDecl
938 public isOptionalArg() { return this.isOptional || this.init; }
/third_party/typescript_eslint/packages/typescript-estree/src/
Dconvert.ts21 isOptional,
412 const { child, isOptional } = ((): { constant
414 isOptional: boolean;
417 return { child: node.object, isOptional: node.optional };
420 return { child: node.callee, isOptional: node.optional };
422 return { child: node.expression, isOptional: false };
426 if (!isChildUnwrappable && !isOptional) {
2333 if (isOptional(node)) {
2369 optional: isOptional(node) || undefined,
Dnode-utils.ts434 export function isOptional(node: { function
/third_party/protobuf/objectivec/
DGPBDescriptor.h182 @property(nonatomic, readonly, getter=isOptional) BOOL optional;
/third_party/flutter/flutter/packages/flutter_tools/lib/src/build_runner/
Dbuild_script.dart102 isOptional: true,
113 isOptional: true,
137 isOptional: true,
Dbuild_script_generator.dart138 if (definition.isOptional) {
139 namedArgs['isOptional'] = literalTrue;
/third_party/typescript/src/services/
DsignatureHelp.ts651 …const isOptional = checker.isOptionalParameter(parameter.valueDeclaration as ParameterDeclaration); constant
653 …ame, documentation: parameter.getDocumentationComment(checker), displayParts, isOptional, isRest };
661 …: typeParameter.symbol.getDocumentationComment(checker), displayParts, isOptional: false, isRest: …
Dtypes.ts1086 isOptional: boolean; property
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/
DjsonToSpirv.h131 bool isOptional(int op) const { return optional[op]; } in isOptional() function
/third_party/spirv-headers/tools/buildHeaders/
DjsonToSpirv.h124 bool isOptional(int op) const { return optional[op]; } in isOptional() function
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.h131 bool isOptional(int op) const { return optional[op]; } in isOptional() function
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionRegistry.java333 && field.isOptional() in add()
DDescriptors.java1075 public boolean isOptional() { in isOptional() method in Descriptors.FieldDescriptor
1158 || (file.getSyntax() == Syntax.PROTO2 && isOptional() && getContainingOneof() == null); in hasOptionalKeyword()
1610 if (!isOptional() || getType() != Type.MESSAGE) { in crossLink()
/third_party/typescript/src/server/
Dprotocol.ts2386 isOptional: boolean; property
/third_party/typescript/lib/
Dprotocol.d.ts1793 isOptional: boolean; property

12