Searched refs:OperatorPrecedence (Results 1 – 25 of 47) sorted by relevance
12
21 OperatorPrecedence Operator::getBinaryPrecedence() const { in getBinaryPrecedence()25 case Kind::PERCENT: return OperatorPrecedence::kMultiplicative; in getBinaryPrecedence()27 case Kind::MINUS: return OperatorPrecedence::kAdditive; in getBinaryPrecedence()29 case Kind::SHR: return OperatorPrecedence::kShift; in getBinaryPrecedence()33 case Kind::GTEQ: return OperatorPrecedence::kRelational; in getBinaryPrecedence()35 case Kind::NEQ: return OperatorPrecedence::kEquality; in getBinaryPrecedence()36 case Kind::BITWISEAND: return OperatorPrecedence::kBitwiseAnd; in getBinaryPrecedence()37 case Kind::BITWISEXOR: return OperatorPrecedence::kBitwiseXor; in getBinaryPrecedence()38 case Kind::BITWISEOR: return OperatorPrecedence::kBitwiseOr; in getBinaryPrecedence()39 case Kind::LOGICALAND: return OperatorPrecedence::kLogicalAnd; in getBinaryPrecedence()[all …]
57 enum class OperatorPrecedence : uint8_t { enum91 OperatorPrecedence getBinaryPrecedence() const;
45 std::string PostfixExpression::description(OperatorPrecedence parentPrecedence) const { in description()46 bool needsParens = (OperatorPrecedence::kPostfix >= parentPrecedence); in description()48 this->operand()->description(OperatorPrecedence::kPostfix) + in description()
139 std::string TernaryExpression::description(OperatorPrecedence parentPrecedence) const { in description()140 bool needsParens = (OperatorPrecedence::kTernary >= parentPrecedence); in description()142 this->test()->description(OperatorPrecedence::kTernary) + " ? " + in description()143 this->ifTrue()->description(OperatorPrecedence::kTernary) + " : " + in description()144 this->ifFalse()->description(OperatorPrecedence::kTernary) + in description()
26 enum class OperatorPrecedence : uint8_t;61 std::string description(OperatorPrecedence) const override;
26 enum class OperatorPrecedence : uint8_t;65 std::string description(OperatorPrecedence) const override { in description() argument
23 enum class OperatorPrecedence : uint8_t;76 std::string description(OperatorPrecedence) const override;
24 enum class OperatorPrecedence : uint8_t;55 std::string description(OperatorPrecedence) const override { in description() argument
26 enum class OperatorPrecedence : uint8_t;86 std::string description(OperatorPrecedence) const override;
28 std::string ChildCall::description(OperatorPrecedence) const { in description()33 result += arg->description(OperatorPrecedence::kSequence); in description()
27 enum class OperatorPrecedence : uint8_t;90 std::string description(OperatorPrecedence) const override;
25 enum class OperatorPrecedence : uint8_t;132 virtual std::string description(OperatorPrecedence parentPrecedence) const = 0;
172 std::string IndexExpression::description(OperatorPrecedence) const { in description()173 return this->base()->description(OperatorPrecedence::kPostfix) + "[" + in description()174 this->index()->description(OperatorPrecedence::kExpression) + "]"; in description()
25 enum class OperatorPrecedence : uint8_t;88 std::string description(OperatorPrecedence parentPrecedence) const override;
24 enum class OperatorPrecedence : uint8_t;78 std::string description(OperatorPrecedence) const override;
26 enum class OperatorPrecedence : uint8_t;39 std::string description(OperatorPrecedence) const override; in description() argument
28 enum class OperatorPrecedence : uint8_t;105 std::string description(OperatorPrecedence) const override;
116 std::string FieldAccess::description(OperatorPrecedence) const { in description()117 std::string f = this->base()->description(OperatorPrecedence::kPostfix); in description()
13 std::string Literal::description(OperatorPrecedence) const { in description()
28 enum class OperatorPrecedence : uint8_t;111 std::string description(OperatorPrecedence) const override; in description() argument
21 std::string VariableReference::description(OperatorPrecedence) const { in description()
32 std::string description(OperatorPrecedence) const override { in description() argument
19 return this->description(OperatorPrecedence::kExpression); in description()
38 std::string description(OperatorPrecedence) const override { in description() argument
40 std::string description(OperatorPrecedence) const override { in description() argument