• 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()
329 … ArenaVector<ir::TSIndexSignature *> *indexSignatures, bool hasSuperClass, in DEFINE_BITOPS()
330 bool isDeclare, bool isAbstractClass, bool isExtendsFromNull, in DEFINE_BITOPS()
333 ir::MethodDefinition *CreateImplicitMethod(ir::Expression *superClass, bool hasSuperClass, in DEFINE_BITOPS()
334 … ir::ScriptFunctionFlags funcFlag, bool isDeclare = false); in DEFINE_BITOPS()
335 …ion *CheckClassMethodOverload(ir::Statement *property, ir::MethodDefinition **ctor, bool isDeclare, in DEFINE_BITOPS()
337 bool implExists, bool isAbstract = false); in DEFINE_BITOPS()
338 ir::Identifier *SetIdentNodeInClassDefinition(bool isDeclare, binder::ConstDecl **decl); in DEFINE_BITOPS()
339 …ir::ClassDefinition *ParseClassDefinition(bool isDeclaration, bool idRequired = true, bool isDecla… in DEFINE_BITOPS()
340 bool isAbstract = false); in DEFINE_BITOPS()
341 ir::Expression *ParseSuperClass(bool isDeclare, bool *hasSuperClass, bool *isExtendsFromNull); in DEFINE_BITOPS()
342 ArenaVector<ir::TSClassImplements *> ParseTSClassImplements(bool isDeclare); in DEFINE_BITOPS()
345 bool isDeclare, bool hasConstructorFuncBody, in DEFINE_BITOPS()
346 bool hasSuperClass, bool isExtendsFromNull); in DEFINE_BITOPS()
347 void FindSuperCall(const ir::AstNode *parent, bool *hasSuperCall); in DEFINE_BITOPS()
348 void FindSuperCallInCtorChildNode(const ir::AstNode *childNode, bool *hasSuperCall); in DEFINE_BITOPS()
349bool SuperCallShouldBeRootLevel(const ir::MethodDefinition *ctor, const ArenaVector<ir::Statement … in DEFINE_BITOPS()
350 … void ValidateSuperCallLocation(const ir::MethodDefinition *ctor, bool superCallShouldBeRootLevel); in DEFINE_BITOPS()
351 void FindThisOrSuperReference(const ir::AstNode *parent, bool *hasThisOrSuperReference); in DEFINE_BITOPS()
352 …void FindThisOrSuperReferenceInChildNode(const ir::AstNode *childNode, bool *hasThisOrSuperReferen… in DEFINE_BITOPS()
357bool ParsePropertyModifiers(ExpressionParseFlags flags, ir::PropertyKind *propertyKind, ParserStat… in DEFINE_BITOPS()
361 bool ParsePropertyEnd(); in DEFINE_BITOPS()
366 bool CheckOutIsIdentInTypeParameter(); in DEFINE_BITOPS()
367 void ParseTypeModifier(bool &isTypeIn, bool &isTypeOut, bool &isAllowInOut); in DEFINE_BITOPS()
368 …ir::TSTypeParameter *ParseTsTypeParameter(bool throwError, bool addBinding = false, bool isAllowIn… in DEFINE_BITOPS()
369 …ir::TSTypeParameterDeclaration *ParseTsTypeParameterDeclaration(bool throwError = true, bool isAll… in DEFINE_BITOPS()
370 ir::TSTypeParameterInstantiation *ParseTsTypeParameterInstantiation(bool throwError = true); in DEFINE_BITOPS()
372 bool isDeclare = false, in DEFINE_BITOPS()
375 bool *seenOptional); in DEFINE_BITOPS()
378 … ir::MethodDefinitionKind methodKind, ir::ModifierFlags access, bool hasDecorator, in DEFINE_BITOPS()
380 ArenaVector<ir::Expression *> ParseFunctionParams(bool isDeclare = false, in DEFINE_BITOPS()
384 ir::Expression *ParseFunctionParameter(bool isDeclare); in DEFINE_BITOPS()
400 ArrowFunctionDescriptor ConvertToArrowParameter(ir::Expression *expr, bool isAsync, in DEFINE_BITOPS()
409 … ir::Expression *returnTypeAnnotation, bool isAsync); in DEFINE_BITOPS()
413 …allExpression *ParseCallExpression(ir::Expression *callee, bool isOptionalChain = false, bool isAs… in DEFINE_BITOPS()
416 bool ignoreCallExpression); in DEFINE_BITOPS()
418 void ValidateUpdateExpression(ir::Expression *returnExpression, bool isChainExpression); in DEFINE_BITOPS()
419 bool IsGenericInstantiation(); in DEFINE_BITOPS()
420bool ParsePotentialTsGenericFunctionCall(ir::Expression **returnExpression, const lexer::SourcePos… in DEFINE_BITOPS()
421 bool ignoreCallExpression); in DEFINE_BITOPS()
423 bool ignoreCallExpression, bool *isChainExpression); in DEFINE_BITOPS()
424 ir::Expression *ParseMemberExpression(bool ignoreCallExpression = false, in DEFINE_BITOPS()
427 …ir::SequenceExpression *ParseSequenceExpression(ir::Expression *startExpr, bool acceptRest = false, in DEFINE_BITOPS()
428bool acceptTsParam = false, bool acceptPattern = false); in DEFINE_BITOPS()
439 bool isDeclare = false); in DEFINE_BITOPS()
441 bool allowDefault = true, bool isDeclare = false); in DEFINE_BITOPS()
442 ir::TemplateLiteral *ParseTemplateLiteral(bool isTaggedTemplate = false); in DEFINE_BITOPS()
451 void ParseNameSpaceImport(ArenaVector<ir::AstNode *> *specifiers, bool isType); in DEFINE_BITOPS()
453 binder::Decl *AddImportDecl(bool isType, in DEFINE_BITOPS()
458 ir::StringLiteral *ParseFromClause(bool requireFrom = true); in DEFINE_BITOPS()
459 … void ParseNamedImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy); in DEFINE_BITOPS()
460 bool HandleTypeImportOrExportSpecifier(); in DEFINE_BITOPS()
462 …ode *ParseImportDefaultSpecifier(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy); in DEFINE_BITOPS()
463 …ir::AstNode *ParseImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLaz… in DEFINE_BITOPS()
471 bool isExportEquals = false); in DEFINE_BITOPS()
473 …rtNamedDeclaration *ParseExportNamedSpecifiers(const lexer::SourcePosition &startLoc, bool isType); in DEFINE_BITOPS()
489 bool InDisallowConditionalTypesContext(); in DEFINE_BITOPS()
490 bool InContext(ParserStatus status); in DEFINE_BITOPS()
499 bool CheckDeclare(); in DEFINE_BITOPS()
501 bool IsLabelFollowedByIterationStatement(); in DEFINE_BITOPS()
503 …tryItem(const ir::StringLiteral *source, const ArenaVector<ir::AstNode *> *specifiers, bool isType, in DEFINE_BITOPS()
504 bool isLazy); in DEFINE_BITOPS()
506 bool isLazy); in DEFINE_BITOPS()
508 bool isType, bool isLazy); in DEFINE_BITOPS()
510 const ir::AstNode *specifier, bool isType); in DEFINE_BITOPS()
512 const ir::StringLiteral *source, bool isType); in DEFINE_BITOPS()
516 void AddExportLocalEntryItem(const ir::Statement *declNode, bool isTsModule); in DEFINE_BITOPS()
517 void AddTsTypeExportLocalEntryItem(const ir::Statement *declNode, bool isTsModule, in DEFINE_BITOPS()
522 bool ParseDirective(ArenaVector<ir::Statement *> *statements); in DEFINE_BITOPS()
525 bool IsTsDeclarationStatement() const; in DEFINE_BITOPS()
527 ir::TSModuleDeclaration *ParseTsModuleDeclaration(bool isDeclare, bool isExport = false); in DEFINE_BITOPS()
529 bool isDeclare); in DEFINE_BITOPS()
531 bool isDeclare, in DEFINE_BITOPS()
532 bool isExport); in DEFINE_BITOPS()
533 bool IsInstantiatedInTsModuleBlock(ir::Statement **body); in DEFINE_BITOPS()
536 bool isExport = false); in DEFINE_BITOPS()
547 ir::Statement *ParsePotentialExpressionStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
548 ir::Statement *ParseVarStatement(bool isDeclare); in DEFINE_BITOPS()
549 ir::Statement *ParseLetStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
550 ir::Statement *ParseConstStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
552 ir::Statement *ParseFunctionStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
553 ir::FunctionDeclaration *ParseFunctionDeclaration(bool canBeAnonymous = false, in DEFINE_BITOPS()
555 bool isDeclare = false); in DEFINE_BITOPS()
561 ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait); in DEFINE_BITOPS()
564 bool isAwait); in DEFINE_BITOPS()
565 std::tuple<ir::Expression *, ir::Expression *> ParseForUpdate(bool isAwait); in DEFINE_BITOPS()
572 ir::ClassDeclaration *ParseClassStatement(StatementParsingFlags flags, bool isDeclare, in DEFINE_BITOPS()
574 … ArenaVector<ir::Annotation *> &&annotations, bool isAbstract = false); in DEFINE_BITOPS()
575 …ir::ClassDeclaration *ParseClassDeclaration(bool idRequired, ArenaVector<ir::Decorator *> &&decora… in DEFINE_BITOPS()
576 … ArenaVector<ir::Annotation *> &&annotations, bool isDeclare = false, in DEFINE_BITOPS()
577 bool isAbstract = false, bool isExported = false, in DEFINE_BITOPS()
578 bool isAnnotation = false); in DEFINE_BITOPS()
579 ir::TSTypeAliasDeclaration *ParseTsTypeAliasDeclaration(bool isDeclare); in DEFINE_BITOPS()
581 bool isDeclare); in DEFINE_BITOPS()
583 bool isExport, bool isDeclare, bool isConst); in DEFINE_BITOPS()
584 …ir::TSEnumDeclaration *ParseEnumDeclaration(bool isExport = false, bool isDeclare = false, bool is… in DEFINE_BITOPS()
585 ir::TSInterfaceDeclaration *ParseTsInterfaceDeclaration(bool isDeclare); in DEFINE_BITOPS()
586 void ValidateTsInterfaceName(bool isDeclare); in DEFINE_BITOPS()
588 ir::SwitchCaseStatement *ParseSwitchCaseStatement(bool *seenDefault); in DEFINE_BITOPS()
594 void ValidateDeclaratorId(bool isDeclare); in DEFINE_BITOPS()
596 … const lexer::SourcePosition &startLoc, bool isDeclare); in DEFINE_BITOPS()
597 ir::VariableDeclarator *ParseVariableDeclarator(VariableParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
598 …ir::Expression *ParseVariableDeclaratorKey(VariableParsingFlags flags, bool isDeclare, bool *isDef… in DEFINE_BITOPS()
600 bool isDeclare = false, bool isExport = false); in DEFINE_BITOPS()
604 bool isDeclare = false); in DEFINE_BITOPS()
605 void VerifySupportLazyImportVersion(bool isNamedImport); in DEFINE_BITOPS()
799 explicit ArrowFunctionContext(ParserImpl *parser, bool isAsync) in ArrowFunctionContext()