• Home
  • Raw
  • Download

Lines Matching refs:parentPrecedence

131 void MetalCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) {  in writeExpression()  argument
134 this->writeBinaryExpression(expr.as<BinaryExpression>(), parentPrecedence); in writeExpression()
138 this->writeAnyConstructor(expr.asAnyConstructor(), "{", "}", parentPrecedence); in writeExpression()
141 this->writeConstructorArrayCast(expr.as<ConstructorArrayCast>(), parentPrecedence); in writeExpression()
144 this->writeConstructorCompound(expr.as<ConstructorCompound>(), parentPrecedence); in writeExpression()
148 this->writeAnyConstructor(expr.asAnyConstructor(), "(", ")", parentPrecedence); in writeExpression()
152 parentPrecedence); in writeExpression()
156 this->writeCastConstructor(expr.asAnyConstructor(), "(", ")", parentPrecedence); in writeExpression()
168 this->writePrefixExpression(expr.as<PrefixExpression>(), parentPrecedence); in writeExpression()
171 this->writePostfixExpression(expr.as<PostfixExpression>(), parentPrecedence); in writeExpression()
183 this->writeTernaryExpression(expr.as<TernaryExpression>(), parentPrecedence); in writeExpression()
1121 Precedence parentPrecedence) { in writeConstructorMatrixResize() argument
1131 Precedence parentPrecedence) { in writeConstructorCompound() argument
1133 this->writeConstructorCompoundVector(c, parentPrecedence); in writeConstructorCompound()
1135 this->writeConstructorCompoundMatrix(c, parentPrecedence); in writeConstructorCompound()
1142 Precedence parentPrecedence) { in writeConstructorArrayCast() argument
1193 Precedence parentPrecedence) { in writeConstructorCompoundVector() argument
1209 this->writeAnyConstructor(c, "(", ")", parentPrecedence); in writeConstructorCompoundVector()
1213 Precedence parentPrecedence) { in writeConstructorCompoundMatrix() argument
1266 Precedence parentPrecedence) { in writeAnyConstructor() argument
1281 Precedence parentPrecedence) { in writeCastConstructor() argument
1282 return this->writeAnyConstructor(c, leftBracket, rightBracket, parentPrecedence); in writeCastConstructor()
1589 Precedence parentPrecedence) { in writeBinaryExpression() argument
1596 bool needParens = precedence >= parentPrecedence; in writeBinaryExpression()
1666 Precedence parentPrecedence) { in writeTernaryExpression() argument
1667 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
1675 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
1681 Precedence parentPrecedence) { in writePrefixExpression() argument
1682 if (Precedence::kPrefix >= parentPrecedence) { in writePrefixExpression()
1687 if (Precedence::kPrefix >= parentPrecedence) { in writePrefixExpression()
1693 Precedence parentPrecedence) { in writePostfixExpression() argument
1694 if (Precedence::kPostfix >= parentPrecedence) { in writePostfixExpression()
1699 if (Precedence::kPostfix >= parentPrecedence) { in writePostfixExpression()