• Home
  • Raw
  • Download

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()
209 bool CurrentTokenIsModifier(char32_t nextCp) const; in DEFINE_BITOPS()
244 bool CheckTopStatementsForRequiredDeclare(const ArenaVector<ir::Statement *> &statements); in DEFINE_BITOPS()
248 bool CurrentIsBasicType(); in DEFINE_BITOPS()
249 bool CurrentLiteralIsBasicType(); in DEFINE_BITOPS()
250 static bool CheckTypeNameIsReserved(const util::StringView &paramName); in DEFINE_BITOPS()
251 static bool IsPropertyKeysAreSame(const ir::Expression *exp1, const ir::Expression *exp2); in DEFINE_BITOPS()
252 …static bool IsMemberExpressionsAreSame(const ir::MemberExpression *mExp1, const ir::MemberExpressi… in DEFINE_BITOPS()
253 …static bool IsMethodDefinitionsAreSame(const ir::MethodDefinition *property, ir::MethodDefinition … in DEFINE_BITOPS()
255 ir::Expression *ParseTsTypeOperatorOrTypeReference(bool throwError); in DEFINE_BITOPS()
260 …ir::TSIntersectionType *ParseTsIntersectionType(ir::Expression *type, bool inUnion, bool restrictE… in DEFINE_BITOPS()
261 bool throwError); in DEFINE_BITOPS()
262 ir::TSUnionType *ParseTsUnionType(ir::Expression *type, bool restrictExtends, bool throwError); in DEFINE_BITOPS()
263 …ir::Expression *ParseTsParenthesizedOrFunctionType(ir::Expression *typeAnnotation, bool throwError… in DEFINE_BITOPS()
265 bool IsTsFunctionType(); in DEFINE_BITOPS()
266 …pression *ParseTsFunctionType(lexer::SourcePosition startLoc, bool isConstructionType, bool throwE… in DEFINE_BITOPS()
267 bool abstractConstructor = false); in DEFINE_BITOPS()
272 void ParseTsTypeLiteralOrInterfaceKeyModifiers(bool *isGetAccessor, bool *isSetAccessor); in DEFINE_BITOPS()
273 …ir::Expression *ParseTsTypeLiteralOrInterfaceKey(bool *computed, bool *signature, bool *isIndexSig… in DEFINE_BITOPS()
275 ir::Expression *ParseTsConditionalType(ir::Expression *checkType, bool restrictExtends); in DEFINE_BITOPS()
278 ir::Expression *ParseTsThisType(bool throwError); in DEFINE_BITOPS()
279 ir::Expression *ParseTsIndexAccessType(ir::Expression *typeName, bool throwError); in DEFINE_BITOPS()
281 …ir::Expression *ParseTsTypeReferenceOrQuery(TypeAnnotationParsingOptions options, bool parseQuery … in DEFINE_BITOPS()
282 bool IsTSNamedTupleMember(); in DEFINE_BITOPS()
283 void HandleRestType(ir::AstNodeType elementType, bool *hasRestType) const; in DEFINE_BITOPS()
284 … ir::Expression *ParseTsTupleElement(ir::TSTupleKind *kind, bool *seenOptional, bool *hasRestType); in DEFINE_BITOPS()
286 … ir::TSImportType *ParseTsImportType(const lexer::SourcePosition &startLoc, bool isTypeof = false); in DEFINE_BITOPS()
289 …ir::Expression *ParseTsTypeReferenceOrTsTypePredicate(ir::Expression *typeAnnotation, bool canBeTs… in DEFINE_BITOPS()
290 bool throwError); in DEFINE_BITOPS()
291 …ir::Expression *ParseTsThisTypeOrTsTypePredicate(ir::Expression *typeAnnotation, bool canBeTsTypeP… in DEFINE_BITOPS()
292 bool throwError); in DEFINE_BITOPS()
293 ir::Expression *ParseTsTemplateLiteralType(bool throwError); in DEFINE_BITOPS()
298 void ValidateClassKey(ClassElmentDescriptor *desc, bool isDeclare); in DEFINE_BITOPS()
301 ir::Expression *ParseClassKey(ClassElmentDescriptor *desc, bool isDeclare); in DEFINE_BITOPS()
304 ir::Expression *propName, ir::ScriptFunction *func, bool hasDecorator, in DEFINE_BITOPS()
307 ir::Expression *propName, ir::ScriptFunction *func, bool hasDecorator, in DEFINE_BITOPS()
314 … ArenaVector<ir::Annotation *> &&annotations, bool isDeclare); in DEFINE_BITOPS()
319 ArenaVector<ir::Annotation *> &&annotations, bool isDeclare, in DEFINE_BITOPS()
325 bool CheckAnnotationPrefix(const util::StringView &Ident); in DEFINE_BITOPS()
333 … ArenaVector<ir::TSIndexSignature *> *indexSignatures, bool hasSuperClass, in DEFINE_BITOPS()
334 bool isDeclare, bool isAbstractClass, bool isExtendsFromNull, in DEFINE_BITOPS()
337 ir::MethodDefinition *CreateImplicitMethod(ir::Expression *superClass, bool hasSuperClass, in DEFINE_BITOPS()
338 … ir::ScriptFunctionFlags funcFlag, bool isDeclare = false); in DEFINE_BITOPS()
339 …ion *CheckClassMethodOverload(ir::Statement *property, ir::MethodDefinition **ctor, bool isDeclare, in DEFINE_BITOPS()
341 bool implExists, bool isAbstract = false); in DEFINE_BITOPS()
342 …ir::Identifier *SetIdentNodeInClassDefinition(bool isDeclare, binder::ConstDecl **decl, bool isAnn… in DEFINE_BITOPS()
343 …ir::ClassDefinition *ParseClassDefinition(bool isDeclaration, bool idRequired = true, bool isDecla… in DEFINE_BITOPS()
344 bool isAbstract = false, bool isAnnotation = false); in DEFINE_BITOPS()
345 ir::Expression *ParseSuperClass(bool isDeclare, bool *hasSuperClass, bool *isExtendsFromNull); in DEFINE_BITOPS()
346 ArenaVector<ir::TSClassImplements *> ParseTSClassImplements(bool isDeclare); in DEFINE_BITOPS()
349 bool isDeclare, bool hasConstructorFuncBody, in DEFINE_BITOPS()
350 bool hasSuperClass, bool isExtendsFromNull); in DEFINE_BITOPS()
351 void FindSuperCall(const ir::AstNode *parent, bool *hasSuperCall); in DEFINE_BITOPS()
352 void FindSuperCallInCtorChildNode(const ir::AstNode *childNode, bool *hasSuperCall); in DEFINE_BITOPS()
353bool SuperCallShouldBeRootLevel(const ir::MethodDefinition *ctor, const ArenaVector<ir::Statement … in DEFINE_BITOPS()
354 … void ValidateSuperCallLocation(const ir::MethodDefinition *ctor, bool superCallShouldBeRootLevel); in DEFINE_BITOPS()
355 void FindThisOrSuperReference(const ir::AstNode *parent, bool *hasThisOrSuperReference); in DEFINE_BITOPS()
356 …void FindThisOrSuperReferenceInChildNode(const ir::AstNode *childNode, bool *hasThisOrSuperReferen… in DEFINE_BITOPS()
361bool ParsePropertyModifiers(ExpressionParseFlags flags, ir::PropertyKind *propertyKind, ParserStat… in DEFINE_BITOPS()
365 bool ParsePropertyEnd(); in DEFINE_BITOPS()
370 bool CheckOutIsIdentInTypeParameter(); in DEFINE_BITOPS()
371 void ParseTypeModifier(bool &isTypeIn, bool &isTypeOut, bool &isAllowInOut); in DEFINE_BITOPS()
372 …ir::TSTypeParameter *ParseTsTypeParameter(bool throwError, bool addBinding = false, bool isAllowIn… in DEFINE_BITOPS()
373 …ir::TSTypeParameterDeclaration *ParseTsTypeParameterDeclaration(bool throwError = true, bool isAll… in DEFINE_BITOPS()
374 ir::TSTypeParameterInstantiation *ParseTsTypeParameterInstantiation(bool throwError = true); in DEFINE_BITOPS()
376 bool isDeclare = false, in DEFINE_BITOPS()
379 bool *seenOptional); in DEFINE_BITOPS()
382 … ir::MethodDefinitionKind methodKind, ir::ModifierFlags access, bool hasDecorator, in DEFINE_BITOPS()
384 ArenaVector<ir::Expression *> ParseFunctionParams(bool isDeclare = false, in DEFINE_BITOPS()
388 ir::Expression *ParseFunctionParameter(bool isDeclare); in DEFINE_BITOPS()
404 ArrowFunctionDescriptor ConvertToArrowParameter(ir::Expression *expr, bool isAsync, in DEFINE_BITOPS()
413 … ir::Expression *returnTypeAnnotation, bool isAsync); in DEFINE_BITOPS()
417 …allExpression *ParseCallExpression(ir::Expression *callee, bool isOptionalChain = false, bool isAs… in DEFINE_BITOPS()
420 bool ignoreCallExpression); in DEFINE_BITOPS()
422 void ValidateUpdateExpression(ir::Expression *returnExpression, bool isChainExpression); in DEFINE_BITOPS()
423 bool IsGenericInstantiation(); in DEFINE_BITOPS()
424bool ParsePotentialTsGenericFunctionCall(ir::Expression **returnExpression, const lexer::SourcePos… in DEFINE_BITOPS()
425 bool ignoreCallExpression); in DEFINE_BITOPS()
427 bool ignoreCallExpression, bool *isChainExpression); in DEFINE_BITOPS()
428 ir::Expression *ParseMemberExpression(bool ignoreCallExpression = false, in DEFINE_BITOPS()
431 …ir::SequenceExpression *ParseSequenceExpression(ir::Expression *startExpr, bool acceptRest = false, in DEFINE_BITOPS()
432bool acceptTsParam = false, bool acceptPattern = false); in DEFINE_BITOPS()
443 bool isDeclare = false); in DEFINE_BITOPS()
445 bool allowDefault = true, bool isDeclare = false); in DEFINE_BITOPS()
446 ir::TemplateLiteral *ParseTemplateLiteral(bool isTaggedTemplate = false); in DEFINE_BITOPS()
455 void ParseNameSpaceImport(ArenaVector<ir::AstNode *> *specifiers, bool isType); in DEFINE_BITOPS()
457 binder::Decl *AddImportDecl(bool isType, in DEFINE_BITOPS()
462 ir::StringLiteral *ParseFromClause(bool requireFrom = true); in DEFINE_BITOPS()
463 … void ParseNamedImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy); in DEFINE_BITOPS()
464 bool HandleTypeImportOrExportSpecifier(); in DEFINE_BITOPS()
466 …ode *ParseImportDefaultSpecifier(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy); in DEFINE_BITOPS()
467 …ir::AstNode *ParseImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLaz… in DEFINE_BITOPS()
475 bool isExportEquals = false); in DEFINE_BITOPS()
477 …rtNamedDeclaration *ParseExportNamedSpecifiers(const lexer::SourcePosition &startLoc, bool isType); in DEFINE_BITOPS()
493 bool InDisallowConditionalTypesContext(); in DEFINE_BITOPS()
494 bool InContext(ParserStatus status); in DEFINE_BITOPS()
503 bool CheckDeclare(); in DEFINE_BITOPS()
505 bool IsLabelFollowedByIterationStatement(); in DEFINE_BITOPS()
507 …tryItem(const ir::StringLiteral *source, const ArenaVector<ir::AstNode *> *specifiers, bool isType, in DEFINE_BITOPS()
508 bool isLazy); in DEFINE_BITOPS()
510 bool isLazy); in DEFINE_BITOPS()
512 bool isType, bool isLazy); in DEFINE_BITOPS()
514 const ir::AstNode *specifier, bool isType); in DEFINE_BITOPS()
516 const ir::StringLiteral *source, bool isType); in DEFINE_BITOPS()
520 void AddExportLocalEntryItem(const ir::Statement *declNode, bool isTsModule); in DEFINE_BITOPS()
521 void AddTsTypeExportLocalEntryItem(const ir::Statement *declNode, bool isTsModule, in DEFINE_BITOPS()
526 bool ParseDirective(ArenaVector<ir::Statement *> *statements); in DEFINE_BITOPS()
529 bool IsTsDeclarationStatement() const; in DEFINE_BITOPS()
531 ir::TSModuleDeclaration *ParseTsModuleDeclaration(bool isDeclare, bool isExport = false); in DEFINE_BITOPS()
533 bool isDeclare); in DEFINE_BITOPS()
535 bool isDeclare, in DEFINE_BITOPS()
536 bool isExport); in DEFINE_BITOPS()
537 bool IsInstantiatedInTsModuleBlock(ir::Statement **body); in DEFINE_BITOPS()
540 bool isExport = false); in DEFINE_BITOPS()
551 ir::Statement *ParsePotentialExpressionStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
552 ir::Statement *ParseVarStatement(bool isDeclare); in DEFINE_BITOPS()
553 ir::Statement *ParseLetStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
554 ir::Statement *ParseConstStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
556 ir::Statement *ParseFunctionStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
557 ir::FunctionDeclaration *ParseFunctionDeclaration(bool canBeAnonymous = false, in DEFINE_BITOPS()
559 bool isDeclare = false); in DEFINE_BITOPS()
565 ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait); in DEFINE_BITOPS()
568 bool isAwait); in DEFINE_BITOPS()
569 std::tuple<ir::Expression *, ir::Expression *> ParseForUpdate(bool isAwait); in DEFINE_BITOPS()
576 ir::ClassDeclaration *ParseClassStatement(StatementParsingFlags flags, bool isDeclare, in DEFINE_BITOPS()
578 … ArenaVector<ir::Annotation *> &&annotations, bool isAbstract = false); in DEFINE_BITOPS()
579 …ir::ClassDeclaration *ParseClassDeclaration(bool idRequired, ArenaVector<ir::Decorator *> &&decora… in DEFINE_BITOPS()
580 … ArenaVector<ir::Annotation *> &&annotations, bool isDeclare = false, in DEFINE_BITOPS()
581 bool isAbstract = false, bool isExported = false, in DEFINE_BITOPS()
582 bool isAnnotation = false); in DEFINE_BITOPS()
583 ir::TSTypeAliasDeclaration *ParseTsTypeAliasDeclaration(bool isDeclare); in DEFINE_BITOPS()
585 bool isDeclare); in DEFINE_BITOPS()
587 bool isExport, bool isDeclare, bool isConst); in DEFINE_BITOPS()
588 …ir::TSEnumDeclaration *ParseEnumDeclaration(bool isExport = false, bool isDeclare = false, bool is… in DEFINE_BITOPS()
589 ir::TSInterfaceDeclaration *ParseTsInterfaceDeclaration(bool isDeclare); in DEFINE_BITOPS()
590 void ValidateTsInterfaceName(bool isDeclare); in DEFINE_BITOPS()
592 ir::SwitchCaseStatement *ParseSwitchCaseStatement(bool *seenDefault); in DEFINE_BITOPS()
598 void ValidateDeclaratorId(bool isDeclare); in DEFINE_BITOPS()
600 … const lexer::SourcePosition &startLoc, bool isDeclare); in DEFINE_BITOPS()
601 ir::VariableDeclarator *ParseVariableDeclarator(VariableParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
602 …ir::Expression *ParseVariableDeclaratorKey(VariableParsingFlags flags, bool isDeclare, bool *isDef… in DEFINE_BITOPS()
604 bool isDeclare = false, bool isExport = false); in DEFINE_BITOPS()
608 bool isDeclare = false); in DEFINE_BITOPS()
803 explicit ArrowFunctionContext(ParserImpl *parser, bool isAsync) in ArrowFunctionContext()