Lines Matching refs:code_
731 bool IsIdentifier() const { return (code_ & kTypeMask) == kTypeIdentifier; } in IsIdentifier()
736 static_cast<PreParserIdentifier::Type>(code_ >> kIdentifierShift)); in AsIdentifier()
740 return (code_ & kTypeMask) == kTypeStringLiteral; in IsStringLiteral()
744 return (code_ & kUseStrictString) == kUseStrictString; in IsUseStrictLiteral()
747 bool IsThis() const { return (code_ & kThisExpression) == kThisExpression; } in IsThis()
750 return (code_ & kThisPropertyExpression) == kThisPropertyExpression; in IsThisProperty()
754 return (code_ & kPropertyExpression) == kPropertyExpression || in IsProperty()
755 (code_ & kThisPropertyExpression) == kThisPropertyExpression; in IsProperty()
758 bool IsCall() const { return (code_ & kCallExpression) == kCallExpression; } in IsCall()
766 (code_ & kMultiParenthesizedExpression) == 0; in IsValidArrowParamList()
776 return (code_ & kTypeMask) == kTypeBinaryOperation; in IsBinaryOperation()
780 return (code_ & kParenthesizedExpression) != 0; in is_parenthesized()
784 code_ |= is_parenthesized() ? kMultiParenthesizedExpression in increase_parenthesization_level()
802 return code_ == other.code_;
805 return code_ != other.code_;
844 explicit PreParserExpression(int expression_code) : code_(expression_code) {} in PreParserExpression()
847 if (IsBinaryOperation()) return code_ & kBinaryOperationArrowParamList; in ArrowParamListBit()
860 int code_; variable
903 return code_ == kStringLiteralExpressionStatement; in IsStringLiteral()
907 return code_ == kUseStrictExpressionStatement; in IsUseStrictLiteral()
911 return code_ == kFunctionDeclaration; in IsFunctionDeclaration()
922 explicit PreParserStatement(Type code) : code_(code) {} in PreParserStatement()
923 Type code_; variable