Lines Matching full:bool
135 bool isPrivateIdent {};
136 bool hasSuperClass {};
137 bool isGenerator {};
138 bool invalidComputedProperty {};
139 bool isComputed {};
140 bool isIndexSignature {};
141 bool classMethod {};
142 bool classField {};
200 bool IsDtsFile() const; in DEFINE_BITOPS()
203 bool IsStartOfMappedType() const; in DEFINE_BITOPS()
204 bool IsStartOfTsTypePredicate() const; in DEFINE_BITOPS()
205 bool IsStartOfAbstractConstructorType() const; in DEFINE_BITOPS()
207 bool CurrentTokenIsModifier(char32_t nextCp) const; in DEFINE_BITOPS()
242 bool CheckTopStatementsForRequiredDeclare(const ArenaVector<ir::Statement *> &statements); in DEFINE_BITOPS()
246 bool CurrentIsBasicType(); in DEFINE_BITOPS()
247 bool CurrentLiteralIsBasicType(); in DEFINE_BITOPS()
248 static bool CheckTypeNameIsReserved(const util::StringView ¶mName); in DEFINE_BITOPS()
249 static bool IsPropertyKeysAreSame(const ir::Expression *exp1, const ir::Expression *exp2); in DEFINE_BITOPS()
250 …static bool IsMemberExpressionsAreSame(const ir::MemberExpression *mExp1, const ir::MemberExpressi… in DEFINE_BITOPS()
251 …static bool IsMethodDefinitionsAreSame(const ir::MethodDefinition *property, ir::MethodDefinition … in DEFINE_BITOPS()
253 ir::Expression *ParseTsTypeOperatorOrTypeReference(bool throwError); in DEFINE_BITOPS()
258 …ir::TSIntersectionType *ParseTsIntersectionType(ir::Expression *type, bool inUnion, bool restrictE… in DEFINE_BITOPS()
259 bool throwError); in DEFINE_BITOPS()
260 ir::TSUnionType *ParseTsUnionType(ir::Expression *type, bool restrictExtends, bool throwError); in DEFINE_BITOPS()
261 …ir::Expression *ParseTsParenthesizedOrFunctionType(ir::Expression *typeAnnotation, bool throwError… in DEFINE_BITOPS()
263 bool IsTsFunctionType(); in DEFINE_BITOPS()
264 …pression *ParseTsFunctionType(lexer::SourcePosition startLoc, bool isConstructionType, bool throwE… in DEFINE_BITOPS()
265 bool abstractConstructor = false); in DEFINE_BITOPS()
270 void ParseTsTypeLiteralOrInterfaceKeyModifiers(bool *isGetAccessor, bool *isSetAccessor); in DEFINE_BITOPS()
271 …ir::Expression *ParseTsTypeLiteralOrInterfaceKey(bool *computed, bool *signature, bool *isIndexSig… in DEFINE_BITOPS()
273 ir::Expression *ParseTsConditionalType(ir::Expression *checkType, bool restrictExtends); in DEFINE_BITOPS()
276 ir::Expression *ParseTsThisType(bool throwError); in DEFINE_BITOPS()
277 ir::Expression *ParseTsIndexAccessType(ir::Expression *typeName, bool throwError); in DEFINE_BITOPS()
279 …ir::Expression *ParseTsTypeReferenceOrQuery(TypeAnnotationParsingOptions options, bool parseQuery … in DEFINE_BITOPS()
280 bool IsTSNamedTupleMember(); in DEFINE_BITOPS()
281 void HandleRestType(ir::AstNodeType elementType, bool *hasRestType) const; in DEFINE_BITOPS()
282 … ir::Expression *ParseTsTupleElement(ir::TSTupleKind *kind, bool *seenOptional, bool *hasRestType); in DEFINE_BITOPS()
284 … ir::TSImportType *ParseTsImportType(const lexer::SourcePosition &startLoc, bool isTypeof = false); in DEFINE_BITOPS()
287 …ir::Expression *ParseTsTypeReferenceOrTsTypePredicate(ir::Expression *typeAnnotation, bool canBeTs… in DEFINE_BITOPS()
288 bool throwError); in DEFINE_BITOPS()
289 …ir::Expression *ParseTsThisTypeOrTsTypePredicate(ir::Expression *typeAnnotation, bool canBeTsTypeP… in DEFINE_BITOPS()
290 bool throwError); in DEFINE_BITOPS()
291 ir::Expression *ParseTsTemplateLiteralType(bool throwError); in DEFINE_BITOPS()
296 void ValidateClassKey(ClassElmentDescriptor *desc, bool isDeclare); in DEFINE_BITOPS()
299 ir::Expression *ParseClassKey(ClassElmentDescriptor *desc, bool isDeclare); in DEFINE_BITOPS()
302 ir::Expression *propName, ir::ScriptFunction *func, bool hasDecorator, in DEFINE_BITOPS()
305 ir::Expression *propName, ir::ScriptFunction *func, bool hasDecorator, in DEFINE_BITOPS()
311 … ArenaVector<ir::Decorator *> &&decorators, bool isDeclare); in DEFINE_BITOPS()
315 ArenaVector<ir::Decorator *> &&decorators, bool isDeclare, in DEFINE_BITOPS()
325 … ArenaVector<ir::TSIndexSignature *> *indexSignatures, bool hasSuperClass, in DEFINE_BITOPS()
326 bool isDeclare, bool isAbstractClass, bool isExtendsFromNull, in DEFINE_BITOPS()
329 ir::MethodDefinition *CreateImplicitMethod(ir::Expression *superClass, bool hasSuperClass, in DEFINE_BITOPS()
330 … ir::ScriptFunctionFlags funcFlag, bool isDeclare = false); in DEFINE_BITOPS()
331 …ion *CheckClassMethodOverload(ir::Statement *property, ir::MethodDefinition **ctor, bool isDeclare, in DEFINE_BITOPS()
333 bool implExists, bool isAbstract = false); in DEFINE_BITOPS()
334 ir::Identifier *SetIdentNodeInClassDefinition(bool isDeclare, binder::ConstDecl **decl); in DEFINE_BITOPS()
335 …ir::ClassDefinition *ParseClassDefinition(bool isDeclaration, bool idRequired = true, bool isDecla… in DEFINE_BITOPS()
336 bool isAbstract = false); in DEFINE_BITOPS()
337 ir::Expression *ParseSuperClass(bool isDeclare, bool *hasSuperClass, bool *isExtendsFromNull); in DEFINE_BITOPS()
338 ArenaVector<ir::TSClassImplements *> ParseTSClassImplements(bool isDeclare); in DEFINE_BITOPS()
341 bool isDeclare, bool hasConstructorFuncBody, in DEFINE_BITOPS()
342 bool hasSuperClass, bool isExtendsFromNull); in DEFINE_BITOPS()
343 void FindSuperCall(const ir::AstNode *parent, bool *hasSuperCall); in DEFINE_BITOPS()
344 void FindSuperCallInCtorChildNode(const ir::AstNode *childNode, bool *hasSuperCall); in DEFINE_BITOPS()
345 …bool SuperCallShouldBeRootLevel(const ir::MethodDefinition *ctor, const ArenaVector<ir::Statement … in DEFINE_BITOPS()
346 … void ValidateSuperCallLocation(const ir::MethodDefinition *ctor, bool superCallShouldBeRootLevel); in DEFINE_BITOPS()
347 void FindThisOrSuperReference(const ir::AstNode *parent, bool *hasThisOrSuperReference); in DEFINE_BITOPS()
348 …void FindThisOrSuperReferenceInChildNode(const ir::AstNode *childNode, bool *hasThisOrSuperReferen… in DEFINE_BITOPS()
353 …bool ParsePropertyModifiers(ExpressionParseFlags flags, ir::PropertyKind *propertyKind, ParserStat… in DEFINE_BITOPS()
357 bool ParsePropertyEnd(); in DEFINE_BITOPS()
362 bool CheckOutIsIdentInTypeParameter(); in DEFINE_BITOPS()
363 void ParseTypeModifier(bool &isTypeIn, bool &isTypeOut, bool &isAllowInOut); in DEFINE_BITOPS()
364 …ir::TSTypeParameter *ParseTsTypeParameter(bool throwError, bool addBinding = false, bool isAllowIn… in DEFINE_BITOPS()
365 …ir::TSTypeParameterDeclaration *ParseTsTypeParameterDeclaration(bool throwError = true, bool isAll… in DEFINE_BITOPS()
366 ir::TSTypeParameterInstantiation *ParseTsTypeParameterInstantiation(bool throwError = true); in DEFINE_BITOPS()
368 bool isDeclare = false, in DEFINE_BITOPS()
371 bool *seenOptional); in DEFINE_BITOPS()
374 … ir::MethodDefinitionKind methodKind, ir::ModifierFlags access, bool hasDecorator, in DEFINE_BITOPS()
376 ArenaVector<ir::Expression *> ParseFunctionParams(bool isDeclare = false, in DEFINE_BITOPS()
380 ir::Expression *ParseFunctionParameter(bool isDeclare); in DEFINE_BITOPS()
396 ArrowFunctionDescriptor ConvertToArrowParameter(ir::Expression *expr, bool isAsync, in DEFINE_BITOPS()
405 … ir::Expression *returnTypeAnnotation, bool isAsync); in DEFINE_BITOPS()
409 …allExpression *ParseCallExpression(ir::Expression *callee, bool isOptionalChain = false, bool isAs… in DEFINE_BITOPS()
412 bool ignoreCallExpression); in DEFINE_BITOPS()
414 void ValidateUpdateExpression(ir::Expression *returnExpression, bool isChainExpression); in DEFINE_BITOPS()
415 bool IsGenericInstantiation(); in DEFINE_BITOPS()
416 …bool ParsePotentialTsGenericFunctionCall(ir::Expression **returnExpression, const lexer::SourcePos… in DEFINE_BITOPS()
417 bool ignoreCallExpression); in DEFINE_BITOPS()
419 bool ignoreCallExpression, bool *isChainExpression); in DEFINE_BITOPS()
420 ir::Expression *ParseMemberExpression(bool ignoreCallExpression = false, in DEFINE_BITOPS()
423 …ir::SequenceExpression *ParseSequenceExpression(ir::Expression *startExpr, bool acceptRest = false, in DEFINE_BITOPS()
424 … bool acceptTsParam = false, bool acceptPattern = false); in DEFINE_BITOPS()
435 bool isDeclare = false); in DEFINE_BITOPS()
437 bool allowDefault = true, bool isDeclare = false); in DEFINE_BITOPS()
438 ir::TemplateLiteral *ParseTemplateLiteral(bool isTaggedTemplate = false); in DEFINE_BITOPS()
447 void ParseNameSpaceImport(ArenaVector<ir::AstNode *> *specifiers, bool isType); in DEFINE_BITOPS()
449 binder::Decl *AddImportDecl(bool isType, in DEFINE_BITOPS()
454 ir::StringLiteral *ParseFromClause(bool requireFrom = true); in DEFINE_BITOPS()
455 … void ParseNamedImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy); in DEFINE_BITOPS()
456 bool HandleTypeImportOrExportSpecifier(); in DEFINE_BITOPS()
458 ir::AstNode *ParseImportDefaultSpecifier(ArenaVector<ir::AstNode *> *specifiers, bool isType); in DEFINE_BITOPS()
459 …ir::AstNode *ParseImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLaz… in DEFINE_BITOPS()
466 bool isExportEquals = false); in DEFINE_BITOPS()
468 …rtNamedDeclaration *ParseExportNamedSpecifiers(const lexer::SourcePosition &startLoc, bool isType); in DEFINE_BITOPS()
483 bool InDisallowConditionalTypesContext(); in DEFINE_BITOPS()
484 bool InContext(ParserStatus status); in DEFINE_BITOPS()
493 bool CheckDeclare(); in DEFINE_BITOPS()
495 bool IsLabelFollowedByIterationStatement(); in DEFINE_BITOPS()
497 …tryItem(const ir::StringLiteral *source, const ArenaVector<ir::AstNode *> *specifiers, bool isType, in DEFINE_BITOPS()
498 bool isLazy); in DEFINE_BITOPS()
500 bool isLazy); in DEFINE_BITOPS()
502 … const ir::AstNode *specifier, bool isType); in DEFINE_BITOPS()
504 const ir::StringLiteral *source, bool isType); in DEFINE_BITOPS()
508 void AddExportLocalEntryItem(const ir::Statement *declNode, bool isTsModule); in DEFINE_BITOPS()
509 void AddTsTypeExportLocalEntryItem(const ir::Statement *declNode, bool isTsModule, in DEFINE_BITOPS()
514 bool ParseDirective(ArenaVector<ir::Statement *> *statements); in DEFINE_BITOPS()
517 bool IsTsDeclarationStatement() const; in DEFINE_BITOPS()
519 ir::TSModuleDeclaration *ParseTsModuleDeclaration(bool isDeclare, bool isExport = false); in DEFINE_BITOPS()
521 bool isDeclare); in DEFINE_BITOPS()
523 bool isDeclare, in DEFINE_BITOPS()
524 bool isExport); in DEFINE_BITOPS()
525 bool IsInstantiatedInTsModuleBlock(ir::Statement **body); in DEFINE_BITOPS()
528 bool isExport = false); in DEFINE_BITOPS()
539 ir::Statement *ParsePotentialExpressionStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
540 ir::Statement *ParseVarStatement(bool isDeclare); in DEFINE_BITOPS()
541 ir::Statement *ParseLetStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
542 ir::Statement *ParseConstStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
544 ir::Statement *ParseFunctionStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
545 ir::FunctionDeclaration *ParseFunctionDeclaration(bool canBeAnonymous = false, in DEFINE_BITOPS()
547 bool isDeclare = false); in DEFINE_BITOPS()
552 ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait); in DEFINE_BITOPS()
555 bool isAwait); in DEFINE_BITOPS()
556 std::tuple<ir::Expression *, ir::Expression *> ParseForUpdate(bool isAwait); in DEFINE_BITOPS()
563 ir::ClassDeclaration *ParseClassStatement(StatementParsingFlags flags, bool isDeclare, in DEFINE_BITOPS()
564 … ArenaVector<ir::Decorator *> &&decorators, bool isAbstract = false); in DEFINE_BITOPS()
565 …ir::ClassDeclaration *ParseClassDeclaration(bool idRequired, ArenaVector<ir::Decorator *> &&decora… in DEFINE_BITOPS()
566 bool isDeclare = false, bool isAbstract = false, in DEFINE_BITOPS()
567 bool isExported = false); in DEFINE_BITOPS()
568 ir::TSTypeAliasDeclaration *ParseTsTypeAliasDeclaration(bool isDeclare); in DEFINE_BITOPS()
570 bool isExport, bool isDeclare, bool isConst); in DEFINE_BITOPS()
571 …ir::TSEnumDeclaration *ParseEnumDeclaration(bool isExport = false, bool isDeclare = false, bool is… in DEFINE_BITOPS()
572 ir::TSInterfaceDeclaration *ParseTsInterfaceDeclaration(bool isDeclare); in DEFINE_BITOPS()
573 void ValidateTsInterfaceName(bool isDeclare); in DEFINE_BITOPS()
575 ir::SwitchCaseStatement *ParseSwitchCaseStatement(bool *seenDefault); in DEFINE_BITOPS()
581 void ValidateDeclaratorId(bool isDeclare); in DEFINE_BITOPS()
583 … const lexer::SourcePosition &startLoc, bool isDeclare); in DEFINE_BITOPS()
584 ir::VariableDeclarator *ParseVariableDeclarator(VariableParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
585 …ir::Expression *ParseVariableDeclaratorKey(VariableParsingFlags flags, bool isDeclare, bool *isDef… in DEFINE_BITOPS()
587 bool isDeclare = false, bool isExport = false); in DEFINE_BITOPS()
591 bool isDeclare = false); in DEFINE_BITOPS()
786 explicit ArrowFunctionContext(ParserImpl *parser, bool isAsync) in ArrowFunctionContext()