Lines Matching refs:ASTExpression

360     std::vector<std::unique_ptr<ASTExpression>> values;  in enumDeclaration()
368 std::unique_ptr<ASTExpression> value = this->assignmentExpression(); in enumDeclaration()
385 std::unique_ptr<ASTExpression> value = this->assignmentExpression(); in enumDeclaration()
499 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration()
554 std::vector<std::unique_ptr<ASTExpression>> currentVarSizes; in varDeclarationEnd()
559 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
569 std::unique_ptr<ASTExpression> value; in varDeclarationEnd()
588 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
1125 std::vector<std::unique_ptr<ASTExpression>> sizes; in interfaceBlock()
1131 std::unique_ptr<ASTExpression> size = this->expression(); in interfaceBlock()
1161 std::unique_ptr<ASTExpression> test(this->expression()); in ifStatement()
1202 std::unique_ptr<ASTExpression> test(this->expression()); in doStatement()
1226 std::unique_ptr<ASTExpression> test(this->expression()); in whileStatement()
1248 std::unique_ptr<ASTExpression> value = this->expression(); in switchCase()
1278 std::unique_ptr<ASTExpression> value(this->expression()); in switchStatement()
1363 std::unique_ptr<ASTExpression> test; in forStatement()
1373 std::unique_ptr<ASTExpression> next; in forStatement()
1399 std::unique_ptr<ASTExpression> expression; in returnStatement()
1482 std::unique_ptr<ASTExpression> expr = this->expression(); in expressionStatement()
1493 std::unique_ptr<ASTExpression> Parser::expression() { in expression()
1502 std::unique_ptr<ASTExpression> Parser::commaExpression() { in commaExpression()
1503 std::unique_ptr<ASTExpression> result = this->assignmentExpression(); in commaExpression()
1509 std::unique_ptr<ASTExpression> right = this->commaExpression(); in commaExpression()
1522 std::unique_ptr<ASTExpression> Parser::assignmentExpression() { in assignmentExpression()
1523 std::unique_ptr<ASTExpression> result = this->ternaryExpression(); in assignmentExpression()
1544 std::unique_ptr<ASTExpression> right = this->assignmentExpression(); in assignmentExpression()
1548 result = std::unique_ptr<ASTExpression>(new ASTBinaryExpression(std::move(result), in assignmentExpression()
1560 std::unique_ptr<ASTExpression> Parser::ternaryExpression() { in ternaryExpression()
1561 std::unique_ptr<ASTExpression> result = this->logicalOrExpression(); in ternaryExpression()
1566 std::unique_ptr<ASTExpression> trueExpr = this->expression(); in ternaryExpression()
1571 std::unique_ptr<ASTExpression> falseExpr = this->assignmentExpression(); in ternaryExpression()
1572 return std::unique_ptr<ASTExpression>(new ASTTernaryExpression(std::move(result), in ternaryExpression()
1582 std::unique_ptr<ASTExpression> Parser::logicalOrExpression() { in logicalOrExpression()
1583 std::unique_ptr<ASTExpression> result = this->logicalXorExpression(); in logicalOrExpression()
1589 std::unique_ptr<ASTExpression> right = this->logicalXorExpression(); in logicalOrExpression()
1599 std::unique_ptr<ASTExpression> Parser::logicalXorExpression() { in logicalXorExpression()
1600 std::unique_ptr<ASTExpression> result = this->logicalAndExpression(); in logicalXorExpression()
1606 std::unique_ptr<ASTExpression> right = this->logicalAndExpression(); in logicalXorExpression()
1616 std::unique_ptr<ASTExpression> Parser::logicalAndExpression() { in logicalAndExpression()
1617 std::unique_ptr<ASTExpression> result = this->bitwiseOrExpression(); in logicalAndExpression()
1623 std::unique_ptr<ASTExpression> right = this->bitwiseOrExpression(); in logicalAndExpression()
1633 std::unique_ptr<ASTExpression> Parser::bitwiseOrExpression() { in bitwiseOrExpression()
1634 std::unique_ptr<ASTExpression> result = this->bitwiseXorExpression(); in bitwiseOrExpression()
1640 std::unique_ptr<ASTExpression> right = this->bitwiseXorExpression(); in bitwiseOrExpression()
1650 std::unique_ptr<ASTExpression> Parser::bitwiseXorExpression() { in bitwiseXorExpression()
1651 std::unique_ptr<ASTExpression> result = this->bitwiseAndExpression(); in bitwiseXorExpression()
1657 std::unique_ptr<ASTExpression> right = this->bitwiseAndExpression(); in bitwiseXorExpression()
1667 std::unique_ptr<ASTExpression> Parser::bitwiseAndExpression() { in bitwiseAndExpression()
1668 std::unique_ptr<ASTExpression> result = this->equalityExpression(); in bitwiseAndExpression()
1674 std::unique_ptr<ASTExpression> right = this->equalityExpression(); in bitwiseAndExpression()
1684 std::unique_ptr<ASTExpression> Parser::equalityExpression() { in equalityExpression()
1685 std::unique_ptr<ASTExpression> result = this->relationalExpression(); in equalityExpression()
1694 std::unique_ptr<ASTExpression> right = this->relationalExpression(); in equalityExpression()
1708 std::unique_ptr<ASTExpression> Parser::relationalExpression() { in relationalExpression()
1709 std::unique_ptr<ASTExpression> result = this->shiftExpression(); in relationalExpression()
1720 std::unique_ptr<ASTExpression> right = this->shiftExpression(); in relationalExpression()
1735 std::unique_ptr<ASTExpression> Parser::shiftExpression() { in shiftExpression()
1736 std::unique_ptr<ASTExpression> result = this->additiveExpression(); in shiftExpression()
1745 std::unique_ptr<ASTExpression> right = this->additiveExpression(); in shiftExpression()
1760 std::unique_ptr<ASTExpression> Parser::additiveExpression() { in additiveExpression()
1761 std::unique_ptr<ASTExpression> result = this->multiplicativeExpression(); in additiveExpression()
1770 std::unique_ptr<ASTExpression> right = this->multiplicativeExpression(); in additiveExpression()
1785 std::unique_ptr<ASTExpression> Parser::multiplicativeExpression() { in multiplicativeExpression()
1786 std::unique_ptr<ASTExpression> result = this->unaryExpression(); in multiplicativeExpression()
1796 std::unique_ptr<ASTExpression> right = this->unaryExpression(); in multiplicativeExpression()
1811 std::unique_ptr<ASTExpression> Parser::unaryExpression() { in unaryExpression()
1820 std::unique_ptr<ASTExpression> expr = this->unaryExpression(); in unaryExpression()
1824 return std::unique_ptr<ASTExpression>(new ASTPrefixExpression(std::move(t), in unaryExpression()
1833 std::unique_ptr<ASTExpression> Parser::postfixExpression() { in postfixExpression()
1834 std::unique_ptr<ASTExpression> result = this->term(); in postfixExpression()
1868 std::unique_ptr<ASTExpression> e = this->expression(); in suffix()
1885 std::vector<std::unique_ptr<ASTExpression>> parameters; in suffix()
1888 std::unique_ptr<ASTExpression> expr = this->assignmentExpression(); in suffix()
1917 std::unique_ptr<ASTExpression> Parser::term() { in term()
1918 std::unique_ptr<ASTExpression> result; in term()