Lines Matching refs:getChild
95 OSQLParseNode * pTableExp = pSQLParseNode->getChild(3); in start()
101 OSQLParseNode* pSelection = pSQLParseNode->getChild(2); in start()
106 OSQLParseNode *pColumnRef = pSelection->getChild(i)->getChild(0); in start()
115 pWhereClause = pTableExp->getChild(1); in start()
116 pOrderbyClause = pTableExp->getChild(ORDER_BY_CHILD_POS); in start()
121 pWhereClause = pSQLParseNode->getChild(4); in start()
126 pWhereClause = pSQLParseNode->getChild(3); in start()
137 OSQLParseNode * pComparisonPredicate = pWhereClause->getChild(1); in start()
155 SQL_ISPUNCTUATION(pPredicateNode->getChild(0),"(") && in execute()
156 SQL_ISPUNCTUATION(pPredicateNode->getChild(2),")")) in execute()
158 execute(pPredicateNode->getChild(1)); in execute()
164 execute(pPredicateNode->getChild(0)); // Bearbeiten des linken Zweigs in execute()
165 execute(pPredicateNode->getChild(2)); // Bearbeiten des rechten Zweigs in execute()
167 if (SQL_ISTOKEN(pPredicateNode->getChild(1),OR)) // OR-Operator in execute()
172 else if (SQL_ISTOKEN(pPredicateNode->getChild(1),AND)) // AND-Operator in execute()
181 execute(pPredicateNode->getChild(1)); in execute()
202 execute(pPredicateNode->getChild(0)); // Bearbeiten des linken Zweigs in execute()
203 execute(pPredicateNode->getChild(2)); // Bearbeiten des rechten Zweigs in execute()
204 if (SQL_ISPUNCTUATION(pPredicateNode->getChild(1),"+")) in execute()
208 else if (SQL_ISPUNCTUATION(pPredicateNode->getChild(1),"-")) in execute()
217 execute(pPredicateNode->getChild(0)); // Bearbeiten des linken Zweigs in execute()
218 execute(pPredicateNode->getChild(2)); // Bearbeiten des rechten Zweigs in execute()
219 if (SQL_ISPUNCTUATION(pPredicateNode->getChild(1),"*")) in execute()
223 else if (SQL_ISPUNCTUATION(pPredicateNode->getChild(1),"/")) in execute()
241 if ( !(SQL_ISRULE(pPredicateNode->getChild(0),column_ref) || in execute_COMPARE()
242 pPredicateNode->getChild(2)->getNodeType() == SQL_NODE_STRING || in execute_COMPARE()
243 pPredicateNode->getChild(2)->getNodeType() == SQL_NODE_INTNUM || in execute_COMPARE()
244 pPredicateNode->getChild(2)->getNodeType() == SQL_NODE_APPROXNUM || in execute_COMPARE()
245 SQL_ISTOKEN(pPredicateNode->getChild(2),TRUE) || in execute_COMPARE()
246 SQL_ISTOKEN(pPredicateNode->getChild(2),FALSE) || in execute_COMPARE()
247 SQL_ISRULE(pPredicateNode->getChild(2),parameter) || in execute_COMPARE()
249 SQL_ISRULE(pPredicateNode->getChild(2),set_fct_spec) || in execute_COMPARE()
250 SQL_ISRULE(pPredicateNode->getChild(2),position_exp) || in execute_COMPARE()
251 SQL_ISRULE(pPredicateNode->getChild(2),char_substring_fct) || in execute_COMPARE()
253 SQL_ISRULE(pPredicateNode->getChild(2),fold)) ) in execute_COMPARE()
260 OSQLParseNode *pPrec = pPredicateNode->getChild(1); in execute_COMPARE()
277 execute(pPredicateNode->getChild(0)); in execute_COMPARE()
278 execute(pPredicateNode->getChild(2)); in execute_COMPARE()
288 const OSQLParseNode* pPart2 = pPredicateNode->getChild(1); in execute_LIKE()
291 const bool bNotLike = pPart2->getChild(0)->isToken(); in execute_LIKE()
293 OSQLParseNode* pAtom = pPart2->getChild(pPart2->count()-2); in execute_LIKE()
294 OSQLParseNode* pOptEscape = pPart2->getChild(pPart2->count()-1); in execute_LIKE()
315 OSQLParseNode *pEscNode = pOptEscape->getChild(1); in execute_LIKE()
324 execute(pPredicateNode->getChild(0)); in execute_LIKE()
339 OSQLParseNode* pColumn = pPredicateNode->getChild(0); in execute_BETWEEN()
340 const OSQLParseNode* pPart2 = pPredicateNode->getChild(1); in execute_BETWEEN()
341 OSQLParseNode* p1stValue = pPart2->getChild(2); in execute_BETWEEN()
342 OSQLParseNode* p2ndtValue = pPart2->getChild(4); in execute_BETWEEN()
352 sal_Bool bNot = SQL_ISTOKEN(pPart2->getChild(0),NOT); in execute_BETWEEN()
418 const OSQLParseNode* pPart2 = pPredicateNode->getChild(1); in execute_ISNULL()
419 DBG_ASSERT(SQL_ISTOKEN(pPart2->getChild(0),IS),"OFILECursor: Fehler im Parse Tree"); in execute_ISNULL()
422 if (SQL_ISTOKEN(pPart2->getChild(1),NOT)) in execute_ISNULL()
427 execute(pPredicateNode->getChild(0)); in execute_ISNULL()
444 aColumnName = pPredicateNode->getChild(0)->getTokenValue(); in execute_Operand()
448 ::rtl::OUString aTableName = pPredicateNode->getChild(0)->getTokenValue(); in execute_Operand()
449 if(SQL_ISRULE(pPredicateNode->getChild(2),column_val)) in execute_Operand()
450 aColumnName = pPredicateNode->getChild(2)->getChild(0)->getTokenValue(); in execute_Operand()
452 aColumnName = pPredicateNode->getChild(2)->getTokenValue(); in execute_Operand()
499 …(SQL_ISPUNCTUATION(pPredicateNode->getChild(0),"+") || SQL_ISPUNCTUATION(pPredicateNode->getChild(… in execute_Operand()
500 pPredicateNode->getChild(1)->getNodeType() == SQL_NODE_INTNUM) in execute_Operand()
502 ::rtl::OUString aValue(pPredicateNode->getChild(0)->getTokenValue()); in execute_Operand()
503 aValue += pPredicateNode->getChild(1)->getTokenValue(); in execute_Operand()
504 pOperand = new OOperandConst(*pPredicateNode->getChild(1), aValue); in execute_Operand()
506 …else if( SQL_ISRULE(pPredicateNode,set_fct_spec) && SQL_ISPUNCTUATION(pPredicateNode->getChild(0),… in execute_Operand()
508 const OSQLParseNode* pODBCNode = pPredicateNode->getChild(1); in execute_Operand()
509 const OSQLParseNode* pODBCNodeChild = pODBCNode->getChild(0); in execute_Operand()
517 ::rtl::OUString sDateTime = pODBCNode->getChild(1)->getTokenValue(); in execute_Operand()
518 pOperand = new OOperandConst(*pODBCNode->getChild(1), sDateTime); in execute_Operand()
549 executeFunction(pPredicateNode->getChild(0)); in execute_Operand()
620 sal_Bool bUpper = SQL_ISTOKEN(pPredicateNode->getChild(0),UPPER); in execute_Fold()
622 execute(pPredicateNode->getChild(2)); in execute_Fold()
637 …OSL_ENSURE(pPredicateNode->getChild(0)->isToken(),"The first one must be the name of the function!… in executeFunction()
638 sal_Int32 nTokenId = pPredicateNode->getChild(0)->getTokenID(); in executeFunction()
678 execute(pPredicateNode->getChild(2)); in executeFunction()
813 OSQLParseNode* pList = pPredicateNode->getChild(2); in executeFunction()
815 execute(pList->getChild(i)); in executeFunction()
885 OSQLParseNode* pList = pPredicateNode->getChild(2); in executeFunction()
887 execute(pList->getChild(i)); in executeFunction()
891 execute(pPredicateNode->getChild(2)); in executeFunction()
892 execute(pPredicateNode->getChild(4)); in executeFunction()
893 execute(pPredicateNode->getChild(5)->getChild(1)); in executeFunction()
902 OSQLParseNode* pList = pPredicateNode->getChild(2); in executeFunction()
904 execute(pList->getChild(i)); in executeFunction()
908 execute(pPredicateNode->getChild(2)); in executeFunction()
909 execute(pPredicateNode->getChild(4)); in executeFunction()