• Home
  • Raw
  • Download

Lines Matching refs:code_

96   PreParserExpression() : code_(TypeField::encode(kNull)) {}  in PreParserExpression()
192 return ExpressionTypeField::decode(code_) == kCallTaggedTemplateExpression; in is_tagged_template()
201 bool IsNull() const { return TypeField::decode(code_) == kNull; } in IsNull()
203 return TypeField::decode(code_) == kFailure; in IsFailureExpression()
207 return TypeField::decode(code_) == kIdentifierExpression; in IsIdentifier()
212 return PreParserIdentifier(IdentifierTypeField::decode(code_)); in AsIdentifier()
216 return TypeField::decode(code_) == kExpression && in IsAssignment()
217 ExpressionTypeField::decode(code_) == kAssignment; in IsAssignment()
221 return TypeField::decode(code_) == kObjectLiteralExpression; in IsObjectLiteral()
225 return TypeField::decode(code_) == kArrayLiteralExpression; in IsArrayLiteral()
230 return base::IsInRange(TypeField::decode(code_), kObjectLiteralExpression, in IsPattern()
235 return TypeField::decode(code_) == kStringLiteralExpression; in IsStringLiteral()
239 return TypeField::decode(code_) == kExpression && in IsThis()
240 ExpressionTypeField::decode(code_) == kThisExpression; in IsThis()
244 return TypeField::decode(code_) == kExpression && in IsThisProperty()
245 (ExpressionTypeField::decode(code_) == kThisPropertyExpression || in IsThisProperty()
246 ExpressionTypeField::decode(code_) == in IsThisProperty()
251 return TypeField::decode(code_) == kExpression && in IsProperty()
252 (ExpressionTypeField::decode(code_) == kPropertyExpression || in IsProperty()
253 ExpressionTypeField::decode(code_) == kThisPropertyExpression || in IsProperty()
254 ExpressionTypeField::decode(code_) == kPrivateReferenceExpression || in IsProperty()
255 ExpressionTypeField::decode(code_) == in IsProperty()
260 return TypeField::decode(code_) == kExpression && in IsPrivateReference()
261 (ExpressionTypeField::decode(code_) == kPrivateReferenceExpression || in IsPrivateReference()
262 ExpressionTypeField::decode(code_) == in IsPrivateReference()
267 return TypeField::decode(code_) == kExpression && in IsCall()
268 (ExpressionTypeField::decode(code_) == kCallExpression || in IsCall()
269 ExpressionTypeField::decode(code_) == kCallEvalExpression || in IsCall()
270 ExpressionTypeField::decode(code_) == in IsCall()
279 return TypeField::decode(code_) == kExpression && in IsSuperCallReference()
280 ExpressionTypeField::decode(code_) == kSuperCallReference; in IsSuperCallReference()
292 return TypeField::decode(code_) == kSpreadExpression; in IsSpread()
295 bool is_parenthesized() const { return IsParenthesizedField::decode(code_); } in is_parenthesized()
298 code_ = IsParenthesizedField::update(code_, true); in mark_parenthesized()
302 code_ = IsParenthesizedField::update(code_, false); in clear_parenthesized()
345 : code_(expression_code) {} in PreParserExpression()
364 uint32_t code_; variable
449 bool IsStringLiteral() { return code_ == kStringLiteralExpressionStatement; } in IsStringLiteral()
452 return code_ == kJumpStatement; in IsJumpStatement()
455 bool IsNull() { return code_ == kNullStatement; } in IsNull()
457 bool IsIterationStatement() { return code_ == kIterationStatement; } in IsIterationStatement()
461 return code_ == kEmptyStatement; in IsEmptyStatement()
491 explicit PreParserStatement(Type code) : code_(code) {} in PreParserStatement()
494 Type code_;