Lines Matching refs:pTableRef
517 void OSQLParseTreeIterator::getQualified_join( OSQLTables& _rTables, const OSQLParseNode *pTableRef… in getQualified_join() argument
520 OSL_PRECOND( SQL_ISRULE( pTableRef, cross_union ) || SQL_ISRULE( pTableRef, qualified_join ) , in getQualified_join()
525 const OSQLParseNode* pNode = getTableNode(_rTables,pTableRef->getChild(0),aTableRange); in getQualified_join()
530 if( SQL_ISRULE(pTableRef,cross_union) || pTableRef->getChild(1)->getTokenID() != SQL_TOKEN_NATURAL) in getQualified_join()
534 if ( SQL_ISRULE( pTableRef, qualified_join ) ) in getQualified_join()
536 const OSQLParseNode* pJoin_spec = pTableRef->getChild(4); in getQualified_join()
555 pNode = getTableNode(_rTables,pTableRef->getChild(nPos),aTableRange); in getQualified_join()
560 …eTreeIterator::getTableNode( OSQLTables& _rTables, const OSQLParseNode *pTableRef,::rtl::OUString&… in getTableNode() argument
563 OSL_PRECOND( SQL_ISRULE( pTableRef, table_ref ) || SQL_ISRULE( pTableRef, joined_table ) in getTableNode()
564 || SQL_ISRULE( pTableRef, qualified_join ) || SQL_ISRULE( pTableRef, cross_union ), in getTableNode()
569 if ( SQL_ISRULE( pTableRef, joined_table ) ) in getTableNode()
571 getQualified_join( _rTables, pTableRef->getChild(1), rTableRange ); in getTableNode()
573 if ( SQL_ISRULE( pTableRef, qualified_join ) || SQL_ISRULE( pTableRef, cross_union ) ) in getTableNode()
575 getQualified_join( _rTables, pTableRef, rTableRange ); in getTableNode()
579 rTableRange = OSQLParseNode::getTableRange(pTableRef); in getTableNode()
580 if ( ( pTableRef->count() == 4 ) // '{' SQL_TOKEN_OJ joined_table '}' in getTableNode()
581 … || ( pTableRef->count() == 5 ) // '(' joined_table ')' range_variable op_column_commalist in getTableNode()
584 getQualified_join( _rTables, pTableRef->getChild(6 - pTableRef->count()), rTableRange ); in getTableNode()
586 …else if ( pTableRef->count() == 3 ) // subquery range_variable op_column_commalist || '(' joined_t… in getTableNode()
588 const OSQLParseNode* pSubQuery = pTableRef->getChild(0); in getTableNode()
591 getQualified_join( _rTables, pTableRef->getChild(1), rTableRange ); in getTableNode()
607 else if ( pTableRef->count() == 2 ) // table_node table_primary_as_range_column in getTableNode()
609 pTableNameNode = pTableRef->getChild(0); in getTableNode()