Lines Matching refs:pParseNode
102 MacabCondition *MacabCommonStatement::analyseWhereClause(const OSQLParseNode *pParseNode) const thr… in analyseWhereClause()
104 if (pParseNode->count() == 3) in analyseWhereClause()
106 const OSQLParseNode *pLeft = pParseNode->getChild(0), in analyseWhereClause()
107 *pMiddle = pParseNode->getChild(1), in analyseWhereClause()
108 *pRight = pParseNode->getChild(2); in analyseWhereClause()
115 else if (SQL_ISRULE(pParseNode, comparison_predicate)) in analyseWhereClause()
166 else if (SQL_ISRULE(pParseNode, search_condition)) in analyseWhereClause()
176 else if (SQL_ISRULE(pParseNode, boolean_term)) in analyseWhereClause()
187 else if (SQL_ISRULE(pParseNode, test_for_null) || SQL_ISRULE(pParseNode, like_predicate)) in analyseWhereClause()
189 const OSQLParseNode *pLeft = pParseNode->getChild(0); in analyseWhereClause()
190 const OSQLParseNode* pPart2 = pParseNode->getChild(1); in analyseWhereClause()
195 if (SQL_ISRULE(pParseNode, test_for_null)) in analyseWhereClause()
218 else if (SQL_ISRULE(pParseNode, like_predicate)) in analyseWhereClause()
247 MacabOrder *MacabCommonStatement::analyseOrderByClause(const OSQLParseNode *pParseNode) const throw… in analyseOrderByClause()
249 if (SQL_ISRULE(pParseNode, ordering_spec_commalist)) in analyseOrderByClause()
252 sal_uInt32 n = pParseNode->count(); in analyseOrderByClause()
258 (analyseOrderByClause(pParseNode->getChild(i))); in analyseOrderByClause()
263 else if (SQL_ISRULE(pParseNode, ordering_spec)) in analyseOrderByClause()
265 if (pParseNode->count() == 2) in analyseOrderByClause()
267 OSQLParseNode* pColumnRef = pParseNode->getChild(0); in analyseOrderByClause()
268 OSQLParseNode* pAscendingDescending = pParseNode->getChild(1); in analyseOrderByClause()
329 const OSQLParseNode *pParseNode; in selectRecords() local
332 pParseNode = m_aSQLIterator.getWhereTree(); in selectRecords()
333 if (pParseNode != NULL) in selectRecords()
335 if (SQL_ISRULE(pParseNode, where_clause)) in selectRecords()
340 pParseNode = pParseNode->getChild(1); in selectRecords()
341 pCondition = analyseWhereClause(pParseNode); in selectRecords()
357 const OSQLParseNode *pParseNode; in sortRecords() local
360 pParseNode = m_aSQLIterator.getOrderTree(); in sortRecords()
361 if (pParseNode != NULL) in sortRecords()
363 if (SQL_ISRULE(pParseNode, opt_order_by_clause)) in sortRecords()
365 pParseNode = pParseNode->getChild(2); in sortRecords()
366 pOrder = analyseOrderByClause(pParseNode); in sortRecords()