• Home
  • Raw
  • Download

Lines Matching refs:parentPrecedence

116 void MetalCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) {  in writeExpression()  argument
119 this->writeBinaryExpression((BinaryExpression&) expr, parentPrecedence); in writeExpression()
125 this->writeConstructor((Constructor&) expr, parentPrecedence); in writeExpression()
140 this->writePrefixExpression((PrefixExpression&) expr, parentPrecedence); in writeExpression()
143 this->writePostfixExpression((PostfixExpression&) expr, parentPrecedence); in writeExpression()
155 this->writeTernaryExpression((TernaryExpression&) expr, parentPrecedence); in writeExpression()
466 void MetalCodeGenerator::writeConstructor(const Constructor& c, Precedence parentPrecedence) { in writeConstructor() argument
468 this->writeExpression(*c.fArguments[0], parentPrecedence); in writeConstructor()
659 Precedence parentPrecedence) { in writeBinaryExpression() argument
661 bool needParens = precedence >= parentPrecedence; in writeBinaryExpression()
719 Precedence parentPrecedence) { in writeTernaryExpression() argument
720 if (kTernary_Precedence >= parentPrecedence) { in writeTernaryExpression()
728 if (kTernary_Precedence >= parentPrecedence) { in writeTernaryExpression()
734 Precedence parentPrecedence) { in writePrefixExpression() argument
735 if (kPrefix_Precedence >= parentPrecedence) { in writePrefixExpression()
740 if (kPrefix_Precedence >= parentPrecedence) { in writePrefixExpression()
746 Precedence parentPrecedence) { in writePostfixExpression() argument
747 if (kPostfix_Precedence >= parentPrecedence) { in writePostfixExpression()
752 if (kPostfix_Precedence >= parentPrecedence) { in writePostfixExpression()