Lines Matching refs:ASTExpression
438 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration()
492 std::vector<std::unique_ptr<ASTExpression>> currentVarSizes; in varDeclarationEnd()
497 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
507 std::unique_ptr<ASTExpression> value; in varDeclarationEnd()
526 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
962 std::vector<std::unique_ptr<ASTExpression>> sizes; in interfaceBlock()
967 std::unique_ptr<ASTExpression> size = this->expression(); in interfaceBlock()
995 std::unique_ptr<ASTExpression> test(this->expression()); in ifStatement()
1036 std::unique_ptr<ASTExpression> test(this->expression()); in doStatement()
1060 std::unique_ptr<ASTExpression> test(this->expression()); in whileStatement()
1082 std::unique_ptr<ASTExpression> value = this->expression(); in switchCase()
1112 std::unique_ptr<ASTExpression> value(this->expression()); in switchStatement()
1197 std::unique_ptr<ASTExpression> test; in forStatement()
1207 std::unique_ptr<ASTExpression> next; in forStatement()
1233 std::unique_ptr<ASTExpression> expression; in returnStatement()
1316 std::unique_ptr<ASTExpression> expr = this->expression(); in expressionStatement()
1327 std::unique_ptr<ASTExpression> Parser::expression() { in expression()
1336 std::unique_ptr<ASTExpression> Parser::commaExpression() { in commaExpression()
1337 std::unique_ptr<ASTExpression> result = this->assignmentExpression(); in commaExpression()
1343 std::unique_ptr<ASTExpression> right = this->commaExpression(); in commaExpression()
1356 std::unique_ptr<ASTExpression> Parser::assignmentExpression() { in assignmentExpression()
1357 std::unique_ptr<ASTExpression> result = this->ternaryExpression(); in assignmentExpression()
1378 std::unique_ptr<ASTExpression> right = this->assignmentExpression(); in assignmentExpression()
1382 result = std::unique_ptr<ASTExpression>(new ASTBinaryExpression(std::move(result), in assignmentExpression()
1393 std::unique_ptr<ASTExpression> Parser::ternaryExpression() { in ternaryExpression()
1394 std::unique_ptr<ASTExpression> result = this->logicalOrExpression(); in ternaryExpression()
1399 std::unique_ptr<ASTExpression> trueExpr = this->expression(); in ternaryExpression()
1404 std::unique_ptr<ASTExpression> falseExpr = this->assignmentExpression(); in ternaryExpression()
1405 return std::unique_ptr<ASTExpression>(new ASTTernaryExpression(std::move(result), in ternaryExpression()
1415 std::unique_ptr<ASTExpression> Parser::logicalOrExpression() { in logicalOrExpression()
1416 std::unique_ptr<ASTExpression> result = this->logicalXorExpression(); in logicalOrExpression()
1422 std::unique_ptr<ASTExpression> right = this->logicalXorExpression(); in logicalOrExpression()
1432 std::unique_ptr<ASTExpression> Parser::logicalXorExpression() { in logicalXorExpression()
1433 std::unique_ptr<ASTExpression> result = this->logicalAndExpression(); in logicalXorExpression()
1439 std::unique_ptr<ASTExpression> right = this->logicalAndExpression(); in logicalXorExpression()
1449 std::unique_ptr<ASTExpression> Parser::logicalAndExpression() { in logicalAndExpression()
1450 std::unique_ptr<ASTExpression> result = this->bitwiseOrExpression(); in logicalAndExpression()
1456 std::unique_ptr<ASTExpression> right = this->bitwiseOrExpression(); in logicalAndExpression()
1466 std::unique_ptr<ASTExpression> Parser::bitwiseOrExpression() { in bitwiseOrExpression()
1467 std::unique_ptr<ASTExpression> result = this->bitwiseXorExpression(); in bitwiseOrExpression()
1473 std::unique_ptr<ASTExpression> right = this->bitwiseXorExpression(); in bitwiseOrExpression()
1483 std::unique_ptr<ASTExpression> Parser::bitwiseXorExpression() { in bitwiseXorExpression()
1484 std::unique_ptr<ASTExpression> result = this->bitwiseAndExpression(); in bitwiseXorExpression()
1490 std::unique_ptr<ASTExpression> right = this->bitwiseAndExpression(); in bitwiseXorExpression()
1500 std::unique_ptr<ASTExpression> Parser::bitwiseAndExpression() { in bitwiseAndExpression()
1501 std::unique_ptr<ASTExpression> result = this->equalityExpression(); in bitwiseAndExpression()
1507 std::unique_ptr<ASTExpression> right = this->equalityExpression(); in bitwiseAndExpression()
1517 std::unique_ptr<ASTExpression> Parser::equalityExpression() { in equalityExpression()
1518 std::unique_ptr<ASTExpression> result = this->relationalExpression(); in equalityExpression()
1527 std::unique_ptr<ASTExpression> right = this->relationalExpression(); in equalityExpression()
1541 std::unique_ptr<ASTExpression> Parser::relationalExpression() { in relationalExpression()
1542 std::unique_ptr<ASTExpression> result = this->shiftExpression(); in relationalExpression()
1553 std::unique_ptr<ASTExpression> right = this->shiftExpression(); in relationalExpression()
1567 std::unique_ptr<ASTExpression> Parser::shiftExpression() { in shiftExpression()
1568 std::unique_ptr<ASTExpression> result = this->additiveExpression(); in shiftExpression()
1577 std::unique_ptr<ASTExpression> right = this->additiveExpression(); in shiftExpression()
1591 std::unique_ptr<ASTExpression> Parser::additiveExpression() { in additiveExpression()
1592 std::unique_ptr<ASTExpression> result = this->multiplicativeExpression(); in additiveExpression()
1601 std::unique_ptr<ASTExpression> right = this->multiplicativeExpression(); in additiveExpression()
1615 std::unique_ptr<ASTExpression> Parser::multiplicativeExpression() { in multiplicativeExpression()
1616 std::unique_ptr<ASTExpression> result = this->unaryExpression(); in multiplicativeExpression()
1626 std::unique_ptr<ASTExpression> right = this->unaryExpression(); in multiplicativeExpression()
1640 std::unique_ptr<ASTExpression> Parser::unaryExpression() { in unaryExpression()
1649 std::unique_ptr<ASTExpression> expr = this->unaryExpression(); in unaryExpression()
1653 return std::unique_ptr<ASTExpression>(new ASTPrefixExpression(t, std::move(expr))); in unaryExpression()
1661 std::unique_ptr<ASTExpression> Parser::postfixExpression() { in postfixExpression()
1662 std::unique_ptr<ASTExpression> result = this->term(); in postfixExpression()
1695 std::unique_ptr<ASTExpression> e = this->expression(); in suffix()
1711 std::vector<std::unique_ptr<ASTExpression>> parameters; in suffix()
1714 std::unique_ptr<ASTExpression> expr = this->assignmentExpression(); in suffix()
1743 std::unique_ptr<ASTExpression> Parser::term() { in term()
1744 std::unique_ptr<ASTExpression> result; in term()