Lines Matching refs:OSQLParseNode

50 											(pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e1) || \
51 (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e2)))
148 const OSQLParseNode* pRoot ) in OSQLParseTreeIterator()
157 …t OSQLParseTreeIterator& _rParentIterator, const OSQLParser& _rParser, const OSQLParseNode* pRoot ) in OSQLParseTreeIterator()
201 void OSQLParseTreeIterator::setParseTree(const OSQLParseNode * pNewParseTree) in setParseTree()
350 …::std::auto_ptr< OSQLParseNode > pSubQueryNode( const_cast< OSQLParser& >( m_rParser ).parseTree( … in impl_getQueryParameterColumns()
447 void OSQLParseTreeIterator::traverseOneTableName( OSQLTables& _rTables,const OSQLParseNode * pTable… in traverseOneTableName()
461OSQLParseNode::getTableComponents(pTableName,aCatalog,aSchema,aTableName,m_pImpl->m_xDatabaseMetaD… in traverseOneTableName()
481 void OSQLParseTreeIterator::impl_fillJoinConditions(const OSQLParseNode* i_pJoinCondition) in impl_fillJoinConditions()
517 void OSQLParseTreeIterator::getQualified_join( OSQLTables& _rTables, const OSQLParseNode *pTableRef… in getQualified_join()
525 const OSQLParseNode* pNode = getTableNode(_rTables,pTableRef->getChild(0),aTableRange); in getQualified_join()
536 const OSQLParseNode* pJoin_spec = pTableRef->getChild(4); in getQualified_join()
543 const OSQLParseNode* pColumnCommalist = pJoin_spec->getChild(2); in getQualified_join()
547 const OSQLParseNode * pCol = pColumnCommalist->getChild(i); in getQualified_join()
560 const OSQLParseNode* OSQLParseTreeIterator::getTableNode( OSQLTables& _rTables, const OSQLParseNode in getTableNode()
567 const OSQLParseNode* pTableNameNode = NULL; in getTableNode()
579 rTableRange = OSQLParseNode::getTableRange(pTableRef); in getTableNode()
588 const OSQLParseNode* pSubQuery = pTableRef->getChild(0); in getTableNode()
596 const OSQLParseNode* pQueryExpression = pSubQuery->getChild(1); in getTableNode()
618 void OSQLParseTreeIterator::getSelect_statement(OSQLTables& _rTables,const OSQLParseNode* pSelect) in getSelect_statement()
627 OSQLParseNode * pTableRefCommalist = pSelect->getChild(3)->getChild(0)->getChild(1); in getSelect_statement()
632 const OSQLParseNode* pTableName = NULL; in getSelect_statement()
638 const OSQLParseNode* pTableListElement = pTableRefCommalist->getChild(i); in getSelect_statement()
649 aTableRange = OSQLParseNode::getTableRange(pTableListElement); in getSelect_statement()
680 OSQLParseNode* pTableName = NULL; in traverseTableNames()
710 ::rtl::OUString OSQLParseTreeIterator::getColumnAlias(const OSQLParseNode* _pDerivedColumn) in getColumnAlias()
725 …void lcl_getColumnRange( const OSQLParseNode* _pColumnRef, const Reference< XConnection >& _rxConn… in lcl_getColumnRange()
775 void OSQLParseTreeIterator::getColumnRange( const OSQLParseNode* _pColumnRef, in getColumnRange()
785 void OSQLParseTreeIterator::getColumnRange( const OSQLParseNode* _pColumnRef, in getColumnRange()
795 void OSQLParseTreeIterator::getColumnRange( const OSQLParseNode* _pColumnRef, in getColumnRange()
804 sal_Bool OSQLParseTreeIterator::getColumnTableRange(const OSQLParseNode* pNode, ::rtl::OUString &rT… in getColumnTableRange()
860 void OSQLParseTreeIterator::traverseCreateColumns(const OSQLParseNode* pSelectNode) in traverseCreateColumns()
875 OSQLParseNode *pColumnRef = pSelectNode->getChild(i); in traverseCreateColumns()
886 OSQLParseNode *pDatatype = pColumnRef->getChild(1); in traverseCreateColumns()
889 const OSQLParseNode *pType = pDatatype->getChild(0); in traverseCreateColumns()
894 const OSQLParseNode *pParams = pDatatype->getChild(pDatatype->count()-1); in traverseCreateColumns()
921 bool OSQLParseTreeIterator::traverseSelectColumnNames(const OSQLParseNode* pSelectNode) in traverseSelectColumnNames()
949 OSQLParseNode * pSelection = pSelectNode->getChild(2); in traverseSelectColumnNames()
953 OSQLParseNode *pColumnRef = pSelection->getChild(i); in traverseSelectColumnNames()
1032 bool OSQLParseTreeIterator::traverseOrderByColumnNames(const OSQLParseNode* pSelectNode) in traverseOrderByColumnNames()
1039 void OSQLParseTreeIterator::traverseByColumnNames(const OSQLParseNode* pSelectNode,sal_Bool _bOrder) in traverseByColumnNames()
1064 OSQLParseNode * pTableExp = pSelectNode->getChild(3); in traverseByColumnNames()
1071 OSQLParseNode * pOptByClause = pTableExp->getChild(nPos); in traverseByColumnNames()
1078 OSQLParseNode * pOrderingSpecCommalist = pOptByClause->getChild(2); in traverseByColumnNames()
1088 OSQLParseNode* pColumnRef = pOrderingSpecCommalist->getChild(i); in traverseByColumnNames()
1117 OSQLParseNode * pOptAscDesc = pColumnRef->getParent()->getChild(1); in traverseByColumnNames()
1128 bool OSQLParseTreeIterator::traverseGroupByColumnNames(const OSQLParseNode* pSelectNode) in traverseGroupByColumnNames()
1138 …::rtl::OUString lcl_generateParameterName( const OSQLParseNode& _rParentNode, const OSQLParseNode&… in lcl_generateParameterName()
1155 void OSQLParseTreeIterator::traverseParameters(const OSQLParseNode* _pNode) in traverseParameters()
1162 const OSQLParseNode* pParent = _pNode->getParent(); in traverseParameters()
1170 const OSQLParseNode* pOther = pParent->getChild(nPos); in traverseParameters()
1178 const OSQLParseNode* pOther = pParent->getParent()->getChild(0); in traverseParameters()
1186 const OSQLParseNode* pOther = pParent->getParent()->getChild(0); in traverseParameters()
1204 const OSQLParseNode* pChild = _pNode->getChild(i); in traverseParameters()
1209 bool OSQLParseTreeIterator::traverseSelectionCriteria(const OSQLParseNode* pSelectNode) in traverseSelectionCriteria()
1218 OSQLParseNode * pWhereClause = NULL; in traverseSelectionCriteria()
1229 OSQLParseNode * pTableExp = pSelectNode->getChild(3); in traverseSelectionCriteria()
1259 OSQLParseNode * pComparisonPredicate = pWhereClause->getChild(1); in traverseSelectionCriteria()
1272 void OSQLParseTreeIterator::traverseORCriteria(OSQLParseNode * pSearchCondition) in traverseORCriteria()
1322 void OSQLParseTreeIterator::traverseANDCriteria(OSQLParseNode * pSearchCondition) in traverseANDCriteria()
1372 const OSQLParseNode* pPart2 = pSearchCondition->getChild(1); in traverseANDCriteria()
1376 OSQLParseNode * pNum_value_exp = pPart2->getChild(nCurentPos); in traverseANDCriteria()
1377 OSQLParseNode * pOptEscape = pPart2->getChild(nCurentPos+1); in traverseANDCriteria()
1389 OSQLParseNode * pParam = NULL; in traverseANDCriteria()
1408 const OSQLParseNode* pPart2 = pSearchCondition->getChild(1); in traverseANDCriteria()
1413 OSQLParseNode* pChild = pPart2->getChild(2); in traverseANDCriteria()
1432 const OSQLParseNode* pPart2 = pSearchCondition->getChild(1); in traverseANDCriteria()
1449 void OSQLParseTreeIterator::traverseParameter(const OSQLParseNode* _pParseNode in traverseParameter()
1450 ,const OSQLParseNode* _pParentNode in traverseParameter()
1464 OSQLParseNode * pMark = _pParseNode->getChild(0); in traverseParameter()
1551 OSQLParseNode* pParent = _pParentNode ? _pParentNode->getParent() : NULL; in traverseParameter()
1585 OSQLParseNode * pColumnRef, in traverseOnePredicate()
1587 OSQLParseNode * pParseNode) in traverseOnePredicate()
1638 const OSQLParseNode* pSelectNode = m_pParseTree; in impl_traverse()
1652 const OSQLParseNode* pCreateNode = m_pParseTree->getChild(4); in impl_traverse()
1949 const OSQLParseNode* OSQLParseTreeIterator::getWhereTree() const in getWhereTree()
1959 OSQLParseNode * pWhereClause = NULL; in getWhereTree()
1963 OSQLParseNode * pTableExp = m_pParseTree->getChild(3); in getWhereTree()
1981 const OSQLParseNode* OSQLParseTreeIterator::getOrderTree() const in getOrderTree()
1991 OSQLParseNode * pOrderClause = NULL; in getOrderTree()
1993 OSQLParseNode * pTableExp = m_pParseTree->getChild(3); in getOrderTree()
2005 const OSQLParseNode* OSQLParseTreeIterator::getGroupByTree() const in getGroupByTree()
2013 OSQLParseNode * pGroupClause = NULL; in getGroupByTree()
2015 OSQLParseNode * pTableExp = m_pParseTree->getChild(3); in getGroupByTree()
2027 const OSQLParseNode* OSQLParseTreeIterator::getHavingTree() const in getHavingTree()
2034 OSQLParseNode * pHavingClause = NULL; in getHavingTree()
2036 OSQLParseNode * pTableExp = m_pParseTree->getChild(3); in getHavingTree()
2048 sal_Bool OSQLParseTreeIterator::isTableNode(const OSQLParseNode* _pTableNode) const in isTableNode()
2056 const OSQLParseNode* OSQLParseTreeIterator::getSimpleWhereTree() const in getSimpleWhereTree()
2059 const OSQLParseNode* pNode = getWhereTree(); in getSimpleWhereTree()
2063 const OSQLParseNode* OSQLParseTreeIterator::getSimpleOrderTree() const in getSimpleOrderTree()
2066 const OSQLParseNode* pNode = getOrderTree(); in getSimpleOrderTree()
2070 const OSQLParseNode* OSQLParseTreeIterator::getSimpleGroupByTree() const in getSimpleGroupByTree()
2073 const OSQLParseNode* pNode = getGroupByTree(); in getSimpleGroupByTree()
2077 const OSQLParseNode* OSQLParseTreeIterator::getSimpleHavingTree() const in getSimpleHavingTree()
2080 const OSQLParseNode* pNode = getHavingTree(); in getSimpleHavingTree()
2163 sal_Int32 OSQLParseTreeIterator::getFunctionReturnType(const OSQLParseNode* _pNode ) in getFunctionReturnType()
2184 const OSQLParseNode* pValueExp = _pNode->getChild(3); in getFunctionReturnType()