• 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()
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 &paramName); 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()
256 …ir::TSIntersectionType *ParseTsIntersectionType(ir::Expression *type, bool inUnion, bool restrictE… in DEFINE_BITOPS()
257 bool throwError); in DEFINE_BITOPS()
258 ir::TSUnionType *ParseTsUnionType(ir::Expression *type, bool restrictExtends, bool throwError); in DEFINE_BITOPS()
259 …ir::Expression *ParseTsParenthesizedOrFunctionType(ir::Expression *typeAnnotation, bool throwError… in DEFINE_BITOPS()
261 bool IsTsFunctionType(); in DEFINE_BITOPS()
262 …pression *ParseTsFunctionType(lexer::SourcePosition startLoc, bool isConstructionType, bool throwE… in DEFINE_BITOPS()
263 bool abstractConstructor = false); in DEFINE_BITOPS()
268 void ParseTsTypeLiteralOrInterfaceKeyModifiers(bool *isGetAccessor, bool *isSetAccessor); in DEFINE_BITOPS()
269 …ir::Expression *ParseTsTypeLiteralOrInterfaceKey(bool *computed, bool *signature, bool *isIndexSig… in DEFINE_BITOPS()
271 ir::Expression *ParseTsConditionalType(ir::Expression *checkType, bool restrictExtends); in DEFINE_BITOPS()
274 ir::Expression *ParseTsThisType(bool throwError); in DEFINE_BITOPS()
275 ir::Expression *ParseTsIndexAccessType(ir::Expression *typeName, bool throwError); in DEFINE_BITOPS()
277 …ir::Expression *ParseTsTypeReferenceOrQuery(TypeAnnotationParsingOptions options, bool parseQuery … in DEFINE_BITOPS()
278 bool IsTSNamedTupleMember(); in DEFINE_BITOPS()
279 void HandleRestType(ir::AstNodeType elementType, bool *hasRestType) const; in DEFINE_BITOPS()
280 … ir::Expression *ParseTsTupleElement(ir::TSTupleKind *kind, bool *seenOptional, bool *hasRestType); in DEFINE_BITOPS()
282 … ir::TSImportType *ParseTsImportType(const lexer::SourcePosition &startLoc, bool isTypeof = false); in DEFINE_BITOPS()
285 …ir::Expression *ParseTsTypeReferenceOrTsTypePredicate(ir::Expression *typeAnnotation, bool canBeTs… in DEFINE_BITOPS()
286 bool throwError); in DEFINE_BITOPS()
287 …ir::Expression *ParseTsThisTypeOrTsTypePredicate(ir::Expression *typeAnnotation, bool canBeTsTypeP… in DEFINE_BITOPS()
288 bool throwError); in DEFINE_BITOPS()
289 ir::Expression *ParseTsTemplateLiteralType(bool throwError); in DEFINE_BITOPS()
294 void ValidateClassKey(ClassElmentDescriptor *desc, bool isDeclare); in DEFINE_BITOPS()
297 ir::Expression *ParseClassKey(ClassElmentDescriptor *desc, bool isDeclare); in DEFINE_BITOPS()
300 ir::Expression *propName, ir::ScriptFunction *func, bool hasDecorator, in DEFINE_BITOPS()
303 ir::Expression *propName, ir::ScriptFunction *func, bool hasDecorator, in DEFINE_BITOPS()
309 … ArenaVector<ir::Decorator *> &&decorators, bool isDeclare); in DEFINE_BITOPS()
313 ArenaVector<ir::Decorator *> &&decorators, bool isDeclare, in DEFINE_BITOPS()
323 … ArenaVector<ir::TSIndexSignature *> *indexSignatures, bool hasSuperClass, in DEFINE_BITOPS()
324 bool isDeclare, bool isAbstractClass, bool isExtendsFromNull, in DEFINE_BITOPS()
327 ir::MethodDefinition *CreateImplicitMethod(ir::Expression *superClass, bool hasSuperClass, in DEFINE_BITOPS()
328 … ir::ScriptFunctionFlags funcFlag, bool isDeclare = false); in DEFINE_BITOPS()
329 …ion *CheckClassMethodOverload(ir::Statement *property, ir::MethodDefinition **ctor, bool isDeclare, in DEFINE_BITOPS()
331 bool implExists, bool isAbstract = false); in DEFINE_BITOPS()
332 ir::Identifier *SetIdentNodeInClassDefinition(bool isDeclare, binder::ConstDecl **decl); in DEFINE_BITOPS()
333 …ir::ClassDefinition *ParseClassDefinition(bool isDeclaration, bool idRequired = true, bool isDecla… in DEFINE_BITOPS()
334 bool isAbstract = false); in DEFINE_BITOPS()
335 ir::Expression *ParseSuperClass(bool isDeclare, bool *hasSuperClass, bool *isExtendsFromNull); in DEFINE_BITOPS()
336 ArenaVector<ir::TSClassImplements *> ParseTSClassImplements(bool isDeclare); in DEFINE_BITOPS()
339 bool isDeclare, bool hasConstructorFuncBody, in DEFINE_BITOPS()
340 bool hasSuperClass, bool isExtendsFromNull); in DEFINE_BITOPS()
341 void FindSuperCall(const ir::AstNode *parent, bool *hasSuperCall); in DEFINE_BITOPS()
342 void FindSuperCallInCtorChildNode(const ir::AstNode *childNode, bool *hasSuperCall); in DEFINE_BITOPS()
343bool SuperCallShouldBeRootLevel(const ir::MethodDefinition *ctor, const ArenaVector<ir::Statement … in DEFINE_BITOPS()
344 … void ValidateSuperCallLocation(const ir::MethodDefinition *ctor, bool superCallShouldBeRootLevel); in DEFINE_BITOPS()
345 void FindThisOrSuperReference(const ir::AstNode *parent, bool *hasThisOrSuperReference); in DEFINE_BITOPS()
346 …void FindThisOrSuperReferenceInChildNode(const ir::AstNode *childNode, bool *hasThisOrSuperReferen… in DEFINE_BITOPS()
351bool ParsePropertyModifiers(ExpressionParseFlags flags, ir::PropertyKind *propertyKind, ParserStat… in DEFINE_BITOPS()
355 bool ParsePropertyEnd(); in DEFINE_BITOPS()
360 bool CheckOutIsIdentInTypeParameter(); in DEFINE_BITOPS()
361 void ParseTypeModifier(bool &isTypeIn, bool &isTypeOut, bool &isAllowInOut); in DEFINE_BITOPS()
362 …ir::TSTypeParameter *ParseTsTypeParameter(bool throwError, bool addBinding = false, bool isAllowIn… in DEFINE_BITOPS()
363 …ir::TSTypeParameterDeclaration *ParseTsTypeParameterDeclaration(bool throwError = true, bool isAll… in DEFINE_BITOPS()
364 ir::TSTypeParameterInstantiation *ParseTsTypeParameterInstantiation(bool throwError = true); in DEFINE_BITOPS()
366 bool isDeclare = false, in DEFINE_BITOPS()
369 bool *seenOptional); in DEFINE_BITOPS()
372 … ir::MethodDefinitionKind methodKind, ir::ModifierFlags access, bool hasDecorator, in DEFINE_BITOPS()
374 ArenaVector<ir::Expression *> ParseFunctionParams(bool isDeclare = false, in DEFINE_BITOPS()
378 ir::Expression *ParseFunctionParameter(bool isDeclare); in DEFINE_BITOPS()
394 ArrowFunctionDescriptor ConvertToArrowParameter(ir::Expression *expr, bool isAsync, in DEFINE_BITOPS()
403 … ir::Expression *returnTypeAnnotation, bool isAsync); in DEFINE_BITOPS()
407 …allExpression *ParseCallExpression(ir::Expression *callee, bool isOptionalChain = false, bool isAs… in DEFINE_BITOPS()
410 bool ignoreCallExpression); in DEFINE_BITOPS()
412 void ValidateUpdateExpression(ir::Expression *returnExpression, bool isChainExpression); in DEFINE_BITOPS()
413 bool IsGenericInstantiation(); in DEFINE_BITOPS()
414bool ParsePotentialTsGenericFunctionCall(ir::Expression **returnExpression, const lexer::SourcePos… in DEFINE_BITOPS()
415 bool ignoreCallExpression); in DEFINE_BITOPS()
417 bool ignoreCallExpression, bool *isChainExpression); in DEFINE_BITOPS()
418 ir::Expression *ParseMemberExpression(bool ignoreCallExpression = false, in DEFINE_BITOPS()
421 …ir::SequenceExpression *ParseSequenceExpression(ir::Expression *startExpr, bool acceptRest = false, in DEFINE_BITOPS()
422bool acceptTsParam = false, bool acceptPattern = false); in DEFINE_BITOPS()
433 bool isDeclare = false); in DEFINE_BITOPS()
435 bool allowDefault = true, bool isDeclare = false); in DEFINE_BITOPS()
436 ir::TemplateLiteral *ParseTemplateLiteral(bool isTaggedTemplate = false); in DEFINE_BITOPS()
445 void ParseNameSpaceImport(ArenaVector<ir::AstNode *> *specifiers, bool isType); in DEFINE_BITOPS()
447 binder::Decl *AddImportDecl(bool isType, in DEFINE_BITOPS()
452 ir::StringLiteral *ParseFromClause(bool requireFrom = true); in DEFINE_BITOPS()
453 … void ParseNamedImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy); in DEFINE_BITOPS()
454 bool HandleTypeImportOrExportSpecifier(); in DEFINE_BITOPS()
456 ir::AstNode *ParseImportDefaultSpecifier(ArenaVector<ir::AstNode *> *specifiers, bool isType); in DEFINE_BITOPS()
457 …ir::AstNode *ParseImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLaz… in DEFINE_BITOPS()
464 bool isExportEquals = false); in DEFINE_BITOPS()
466 …rtNamedDeclaration *ParseExportNamedSpecifiers(const lexer::SourcePosition &startLoc, bool isType); in DEFINE_BITOPS()
481 bool InDisallowConditionalTypesContext(); in DEFINE_BITOPS()
482 bool InContext(ParserStatus status); in DEFINE_BITOPS()
491 bool CheckDeclare(); in DEFINE_BITOPS()
493 bool IsLabelFollowedByIterationStatement(); in DEFINE_BITOPS()
495 …tryItem(const ir::StringLiteral *source, const ArenaVector<ir::AstNode *> *specifiers, bool isType, in DEFINE_BITOPS()
496 bool isLazy); in DEFINE_BITOPS()
498 bool isLazy); in DEFINE_BITOPS()
500 … const ir::AstNode *specifier, bool isType); in DEFINE_BITOPS()
502 const ir::StringLiteral *source, bool isType); in DEFINE_BITOPS()
506 void AddExportLocalEntryItem(const ir::Statement *declNode, bool isTsModule); in DEFINE_BITOPS()
507 void AddTsTypeExportLocalEntryItem(const ir::Statement *declNode, bool isTsModule, in DEFINE_BITOPS()
512 bool ParseDirective(ArenaVector<ir::Statement *> *statements); in DEFINE_BITOPS()
515 bool IsTsDeclarationStatement() const; in DEFINE_BITOPS()
517 ir::TSModuleDeclaration *ParseTsModuleDeclaration(bool isDeclare, bool isExport = false); in DEFINE_BITOPS()
519 bool isDeclare); in DEFINE_BITOPS()
521 bool isDeclare, in DEFINE_BITOPS()
522 bool isExport); in DEFINE_BITOPS()
523 bool IsInstantiatedInTsModuleBlock(ir::Statement **body); in DEFINE_BITOPS()
526 bool isExport = false); in DEFINE_BITOPS()
537 ir::Statement *ParsePotentialExpressionStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
538 ir::Statement *ParseVarStatement(bool isDeclare); in DEFINE_BITOPS()
539 ir::Statement *ParseLetStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
540 ir::Statement *ParseConstStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
542 ir::Statement *ParseFunctionStatement(StatementParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
543 ir::FunctionDeclaration *ParseFunctionDeclaration(bool canBeAnonymous = false, in DEFINE_BITOPS()
545 bool isDeclare = false); in DEFINE_BITOPS()
550 ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait); in DEFINE_BITOPS()
553 bool isAwait); in DEFINE_BITOPS()
554 std::tuple<ir::Expression *, ir::Expression *> ParseForUpdate(bool isAwait); in DEFINE_BITOPS()
561 ir::ClassDeclaration *ParseClassStatement(StatementParsingFlags flags, bool isDeclare, in DEFINE_BITOPS()
562 … ArenaVector<ir::Decorator *> &&decorators, bool isAbstract = false); in DEFINE_BITOPS()
563 …ir::ClassDeclaration *ParseClassDeclaration(bool idRequired, ArenaVector<ir::Decorator *> &&decora… in DEFINE_BITOPS()
564 bool isDeclare = false, bool isAbstract = false, in DEFINE_BITOPS()
565 bool isExported = false); in DEFINE_BITOPS()
566 ir::TSTypeAliasDeclaration *ParseTsTypeAliasDeclaration(bool isDeclare); in DEFINE_BITOPS()
568 bool isExport, bool isDeclare, bool isConst); in DEFINE_BITOPS()
569 …ir::TSEnumDeclaration *ParseEnumDeclaration(bool isExport = false, bool isDeclare = false, bool is… in DEFINE_BITOPS()
570 ir::TSInterfaceDeclaration *ParseTsInterfaceDeclaration(bool isDeclare); in DEFINE_BITOPS()
571 void ValidateTsInterfaceName(bool isDeclare); in DEFINE_BITOPS()
573 ir::SwitchCaseStatement *ParseSwitchCaseStatement(bool *seenDefault); in DEFINE_BITOPS()
579 void ValidateDeclaratorId(bool isDeclare); in DEFINE_BITOPS()
581 … const lexer::SourcePosition &startLoc, bool isDeclare); in DEFINE_BITOPS()
582 ir::VariableDeclarator *ParseVariableDeclarator(VariableParsingFlags flags, bool isDeclare); in DEFINE_BITOPS()
583 …ir::Expression *ParseVariableDeclaratorKey(VariableParsingFlags flags, bool isDeclare, bool *isDef… in DEFINE_BITOPS()
585 bool isDeclare = false, bool isExport = false); in DEFINE_BITOPS()
589 bool isDeclare = false); in DEFINE_BITOPS()
784 explicit ArrowFunctionContext(ParserImpl *parser, bool isAsync) in ArrowFunctionContext()