Lines Matching refs:pNode

156 							const ::connectivity::OSQLParseNode *pNode);
159 const ::connectivity::OSQLParseNode* pNode,
605 const ::connectivity::OSQLParseNode *pNode, in InsertJoinConnection()
611 if (pNode->count() == 3 && // Ausdruck is geklammert in InsertJoinConnection()
612 SQL_ISPUNCTUATION(pNode->getChild(0),"(") && in InsertJoinConnection()
613 SQL_ISPUNCTUATION(pNode->getChild(2),")")) in InsertJoinConnection()
615 eErrorCode = InsertJoinConnection(_pView,pNode->getChild(1), _eJoinType,pLeftTable,pRightTable); in InsertJoinConnection()
617 else if (SQL_ISRULEOR2(pNode,search_condition,boolean_term) && // AND/OR-Verknuepfung: in InsertJoinConnection()
618 pNode->count() == 3) in InsertJoinConnection()
621 if (!SQL_ISTOKEN(pNode->getChild(1),AND)) in InsertJoinConnection()
623 …else if ( eOk == (eErrorCode = InsertJoinConnection(_pView,pNode->getChild(0), _eJoinType,pLeftTab… in InsertJoinConnection()
624 … eErrorCode = InsertJoinConnection(_pView,pNode->getChild(2), _eJoinType,pLeftTable,pRightTable); in InsertJoinConnection()
626 else if (SQL_ISRULE(pNode,comparison_predicate)) in InsertJoinConnection()
629 DBG_ASSERT(pNode->count() == 3,"OQueryDesignView::InsertJoinConnection: Fehler im Parse Tree"); in InsertJoinConnection()
630 if (!(SQL_ISRULE(pNode->getChild(0),column_ref) && in InsertJoinConnection()
631 SQL_ISRULE(pNode->getChild(2),column_ref) && in InsertJoinConnection()
632 pNode->getChild(1)->getNodeType() == SQL_NODE_EQUAL)) in InsertJoinConnection()
641 if ( eOk != ( eErrorCode = FillDragInfo(_pView,pNode->getChild(0),aDragLeft)) || in InsertJoinConnection()
642 eOk != ( eErrorCode = FillDragInfo(_pView,pNode->getChild(2),aDragRight))) in InsertJoinConnection()
1299 const ::connectivity::OSQLParseNode* pNode, in GetSelectionCriteria()
1302 if (!SQL_ISRULE(pNode, select_statement)) in GetSelectionCriteria()
1306 pNode = pNode ? pNode->getChild(3)->getChild(1) : NULL; in GetSelectionCriteria()
1308 if (!pNode || pNode->isLeaf()) in GetSelectionCriteria()
1313 ::connectivity::OSQLParseNode * pCondition = pNode->getChild(1); in GetSelectionCriteria()
1319 ::connectivity::OSQLParseNode *pNodeTmp = pNode->getChild(1); in GetSelectionCriteria()
1322 pNodeTmp = pNode->getChild(1); in GetSelectionCriteria()
1324 pNodeTmp = pNode->getChild(1); in GetSelectionCriteria()
1327 pNodeTmp = pNode->getChild(1); in GetSelectionCriteria()
1333 pNodeTmp = pNode->getChild(1); in GetSelectionCriteria()
1927 const ::connectivity::OSQLParseNode *pNode) in InsertJoin()
1929 …DBG_ASSERT( SQL_ISRULE( pNode, qualified_join ) || SQL_ISRULE( pNode, joined_table ) || SQL_ISRULE… in InsertJoin()
1932 if (SQL_ISRULE(pNode,joined_table)) in InsertJoin()
1933 return InsertJoin(_pView,pNode->getChild(1)); in InsertJoin()
1936 const ::connectivity::OSQLParseNode* pRightTableRef = pNode->getChild(3); // table_ref in InsertJoin()
1937 if ( SQL_ISRULE(pNode, qualified_join) && SQL_ISTOKEN(pNode->getChild(1),NATURAL) ) in InsertJoin()
1938 pRightTableRef = pNode->getChild(4); // table_ref in InsertJoin()
1940 …if ( !checkJoinConditions(_pView,pNode->getChild(0)) || !checkJoinConditions(_pView,pRightTableRef… in InsertJoin()
1947 if ( SQL_ISRULE(pNode, qualified_join) ) in InsertJoin()
1949 ::connectivity::OSQLParseNode* pJoinType = pNode->getChild(1); // join_type in InsertJoin()
1953 pJoinType = pNode->getChild(2); in InsertJoin()
1972 if ( SQL_ISRULE(pNode->getChild(4),join_condition) ) in InsertJoin()
1974 …if ( InsertJoinConnection(_pView,pNode->getChild(4)->getChild(1), eJoinType,pNode->getChild(0),pRi… in InsertJoin()
1978 else if ( SQL_ISRULE(pNode, cross_union) ) in InsertJoin()
1981 pRightTableRef = pNode->getChild(pNode->count() - 1); in InsertJoin()
1989 …t<OQueryTableView*>(_pView->getTableView())->FindTable( getTableRange(_pView,pNode->getChild(0)) ); in InsertJoin()
2215 const ::connectivity::OSQLParseNode* pNode, in InstallFields()
2218 if( pNode==0 || !SQL_ISRULE(pNode,select_statement)) in InstallFields()
2221 ::connectivity::OSQLParseNode* pParseTree = pNode->getChild(2); // selection in InstallFields()
2405 ::connectivity::OSQLParseNode* pNode = pParseRoot->getChild(3)->getChild(4)->getChild(2); in GetOrderCriteria()
2411 for( sal_uInt32 i=0 ; i<pNode->count() ; i++ ) in GetOrderCriteria()
2414 ::connectivity::OSQLParseNode* pChild = pNode->getChild( i ); in GetOrderCriteria()
3038 OSQLParseNode* pNode = pParseNode->getChild(3)->getChild(1); in getStatement() local
3039 if ( pNode->count() > 1 ) in getStatement()
3041 ::connectivity::OSQLParseNode * pCondition = pNode->getChild(1); in getStatement()
3277 void OQueryDesignView::fillFunctionInfo( const ::connectivity::OSQLParseNode* pNode in fillFunctionInfo() argument
3285 OSQLParseNode* pFunctionName = pNode->getChild(0); in fillFunctionInfo()
3288 if ( SQL_ISRULEOR2(pNode,length_exp,char_value_fct) ) in fillFunctionInfo()