• Home
  • Raw
  • Download

Lines Matching refs:parentPrecedence

170 void GLSLCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) {  in writeExpression()  argument
173 this->writeBinaryExpression(expr.as<BinaryExpression>(), parentPrecedence); in writeExpression()
177 parentPrecedence); in writeExpression()
180 this->writeExpression(*expr.as<ConstructorArrayCast>().argument(), parentPrecedence); in writeExpression()
187 this->writeAnyConstructor(expr.asAnyConstructor(), parentPrecedence); in writeExpression()
191 this->writeCastConstructor(expr.asAnyConstructor(), parentPrecedence); in writeExpression()
203 this->writePrefixExpression(expr.as<PrefixExpression>(), parentPrecedence); in writeExpression()
206 this->writePostfixExpression(expr.as<PostfixExpression>(), parentPrecedence); in writeExpression()
218 this->writeTernaryExpression(expr.as<TernaryExpression>(), parentPrecedence); in writeExpression()
692 Precedence parentPrecedence) { in writeConstructorDiagonalMatrix() argument
706 this->writeAnyConstructor(c, parentPrecedence); in writeConstructorDiagonalMatrix()
709 void GLSLCodeGenerator::writeCastConstructor(const AnyConstructor& c, Precedence parentPrecedence) { in writeCastConstructor() argument
719 this->writeExpression(argument, parentPrecedence); in writeCastConstructor()
724 return this->writeAnyConstructor(c, parentPrecedence); in writeCastConstructor()
727 void GLSLCodeGenerator::writeAnyConstructor(const AnyConstructor& c, Precedence parentPrecedence) { in writeAnyConstructor() argument
877 Precedence parentPrecedence) { in writeBinaryExpression() argument
883 this->writeShortCircuitWorkaroundExpression(b, parentPrecedence); in writeBinaryExpression()
895 if (precedence >= parentPrecedence) { in writeBinaryExpression()
915 if (precedence >= parentPrecedence) { in writeBinaryExpression()
921 Precedence parentPrecedence) { in writeShortCircuitWorkaroundExpression() argument
922 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression()
944 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression()
950 Precedence parentPrecedence) { in writeTernaryExpression() argument
951 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
959 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
965 Precedence parentPrecedence) { in writePrefixExpression() argument
966 if (Precedence::kPrefix >= parentPrecedence) { in writePrefixExpression()
971 if (Precedence::kPrefix >= parentPrecedence) { in writePrefixExpression()
977 Precedence parentPrecedence) { in writePostfixExpression() argument
978 if (Precedence::kPostfix >= parentPrecedence) { in writePostfixExpression()
983 if (Precedence::kPostfix >= parentPrecedence) { in writePostfixExpression()