Lines Matching refs:getChild

221         const OSQLParseNode* pPunct = _rColumnRef.getChild( 1 );  in impl_getColumnRefColumnName_throw()
222 const OSQLParseNode* pColVal = _rColumnRef.getChild( 2 ); in impl_getColumnRefColumnName_throw()
227 sColumnName = pColVal->getChild( 0 )->getTokenValue(); in impl_getColumnRefColumnName_throw()
234 sColumnName = _rColumnRef.getChild( 0 )->getTokenValue(); in impl_getColumnRefColumnName_throw()
258 const OSQLParseNode* pOrderBy = pOrderList->getChild(i); in orderByAnalysis()
261 const OSQLParseNode* pColumnRef = pOrderBy->count() == 2 ? pOrderBy->getChild(0) : NULL; in orderByAnalysis()
262 const OSQLParseNode* pAscDesc = pOrderBy->count() == 2 ? pOrderBy->getChild(1) : NULL; in orderByAnalysis()
278 && SQL_ISTOKEN( pAscDesc->getChild( 0 ), DESC ) in orderByAnalysis()
295 SQL_ISPUNCTUATION( parseTree->getChild( 0 ), "(" ) && in whereAnalysis()
296 SQL_ISPUNCTUATION( parseTree->getChild( 2 ), ")" ) ) in whereAnalysis()
298 pResult = whereAnalysis( parseTree->getChild( 1 ) ); in whereAnalysis()
306 ENSURE_OR_THROW( SQL_ISTOKEN( parseTree->getChild( 1 ), OR ) in whereAnalysis()
307 || SQL_ISTOKEN( parseTree->getChild( 1 ), AND ), in whereAnalysis()
311 pArgs[0] = whereAnalysis( parseTree->getChild( 0 ) ); in whereAnalysis()
312 pArgs[1] = whereAnalysis( parseTree->getChild( 2 ) ); in whereAnalysis()
314 if( SQL_ISTOKEN( parseTree->getChild( 1 ), OR ) ) in whereAnalysis()
322 OSQLParseNode *pPrec = parseTree->getChild( 1 ); in whereAnalysis()
326 OSQLParseNode* pLHS = parseTree->getChild( 0 ); in whereAnalysis()
327 OSQLParseNode* pRHS = parseTree->getChild( 2 ); in whereAnalysis()
370 aMatchString = pRHS->getChild( 0 )->getTokenValue(); in whereAnalysis()
381 const OSQLParseNode* pPart2 = parseTree->getChild(1); in whereAnalysis()
383 if( ! SQL_ISRULE( parseTree->getChild( 0 ), column_ref) ) in whereAnalysis()
386 … ::rtl::OUString aColumnName( impl_getColumnRefColumnName_throw( *parseTree->getChild( 0 ) ) ); in whereAnalysis()
388 OSQLParseNode *pAtom = pPart2->getChild( pPart2->count() - 2 ); // Match String in whereAnalysis()
389 bool bNotLike = pPart2->getChild(0)->isToken(); in whereAnalysis()
394 ( pAtom->getChild( 0 ) && pAtom->getChild( 0 )->getNodeType() == SQL_NODE_NAME ) || in whereAnalysis()
395 ( pAtom->getChild( 0 ) && pAtom->getChild( 0 )->getNodeType() == SQL_NODE_STRING ) ) ) in whereAnalysis()
459 const OSQLParseNode *pAllTableNames = pSelectStmnt->getChild( 3 )->getChild( 0 )->getChild( 1 ); in getTableName()
461 if( m_aSQLIterator.isTableNode( pAllTableNames->getChild( 0 ) ) ) in getTableName()
462 OSQLParseNode::getTableComponents( pAllTableNames->getChild( 0 ), in getTableName()
465 else if( SQL_ISRULE( pAllTableNames->getChild( 0 ), table_ref ) ) in getTableName()
467 OSQLParseNode *pNodeForTableName = pAllTableNames->getChild( 0 )->getChild( 0 ); in getTableName()
470 aTableName = OSQLParseNode::getTableRange(pAllTableNames->getChild( 0 )); in getTableName()
516 EBookQuery* pQuery = whereAnalysis( pWhereClause->getChild( 1 ) ); in parseSql()