Lines Matching refs:getChild

510                             &&  pCol->getChild(0)->getTokenValue().equalsIgnoreAsciiCase(aFieldName)  in impl_parseNodeToString_throw()
581 ::rtl::OUString sTableOrQueryName( getChild(0)->getTokenValue() ); in impl_parseTableNameNodeToString_throw()
703 const OSQLParseNode* pCol = m_aChildren[0]->getChild(m_aChildren[0]->count()-1); in impl_parseLikeNodeToString_throw()
704 …if ((SQL_ISRULE(pCol,column_val) && pCol->getChild(0)->getTokenValue().equalsIgnoreAsciiCase(aFiel… in impl_parseLikeNodeToString_throw()
714 pPart2->getChild(0)->impl_parseNodeToString_throw( rString, aNewParam ); in impl_parseLikeNodeToString_throw()
715 pPart2->getChild(1)->impl_parseNodeToString_throw( rString, aNewParam ); in impl_parseLikeNodeToString_throw()
716 pParaNode = pPart2->getChild(2); in impl_parseLikeNodeToString_throw()
717 pEscNode = pPart2->getChild(3); in impl_parseLikeNodeToString_throw()
752 … OSL_ENSURE(pTableNode->getChild(0) && pTableNode->getChild(0)->isToken(),"Invalid parsenode!"); in getTableComponents()
753 _rCatalog <<= pTableNode->getChild(0)->getTokenValue(); in getTableComponents()
754 pTableNode = pTableNode->getChild(2); in getTableComponents()
760 _rCatalog <<= pTableNode->getChild(0)->getTokenValue(); in getTableComponents()
762 _rSchema = pTableNode->getChild(0)->getTokenValue(); in getTableComponents()
763 pTableNode = pTableNode->getChild(2); in getTableComponents()
768 _rTable = pTableNode->getChild(0)->getTokenValue(); in getTableComponents()
1479 OSQLParseNode* pChildNode = _pNode->getChild(i); in substituteParameterNames()
1483 delete pChildNode->replace(pChildNode->getChild(0),pNewNode); in substituteParameterNames()
1676 bResult = *getChild(i) == *rParseNode.getChild(i); in operator ==()
1765 … if (SQL_ISRULE(this,column_ref) && count() == 1 && getChild(0)->getTokenValue() == rColumnName) in replaceNodeValue()
1773 getChild(i)->replaceNodeValue(rTableAlias,rColumnName); in replaceNodeValue()
1820 OSQLParseNode* pLeft = pSearchCondition->getChild(1); in disjunctiveNormalForm()
1826 OSQLParseNode* pLeft = pSearchCondition->getChild(0); in disjunctiveNormalForm()
1829 OSQLParseNode* pRight = pSearchCondition->getChild(2); in disjunctiveNormalForm()
1835 OSQLParseNode* pLeft = pSearchCondition->getChild(0); in disjunctiveNormalForm()
1838 OSQLParseNode* pRight = pSearchCondition->getChild(2); in disjunctiveNormalForm()
1843 …if(pLeft->count() == 3 && SQL_ISRULE(pLeft,boolean_primary) && SQL_ISRULE(pLeft->getChild(1),searc… in disjunctiveNormalForm()
1846 OSQLParseNode* pOr = pLeft->getChild(1); in disjunctiveNormalForm()
1861 …ount() == 3 && SQL_ISRULE(pRight,boolean_primary) && SQL_ISRULE(pRight->getChild(1),search_conditi… in disjunctiveNormalForm()
1865 OSQLParseNode* pOr = pRight->getChild(1); in disjunctiveNormalForm()
1880 …pLeft,boolean_primary) && (!SQL_ISRULE(pLeft->getChild(1),search_condition) || !SQL_ISRULE(pLeft-> in disjunctiveNormalForm()
1882 …ight,boolean_primary) && (!SQL_ISRULE(pRight->getChild(1),search_condition) || !SQL_ISRULE(pRight-… in disjunctiveNormalForm()
1895 OSQLParseNode* pRight = pSearchCondition->getChild(1); in negateSearchCondition()
1901 OSQLParseNode* pLeft = pSearchCondition->getChild(0); in negateSearchCondition()
1902 OSQLParseNode* pRight = pSearchCondition->getChild(2); in negateSearchCondition()
1911 pLeft = pNewNode->getChild(0); in negateSearchCondition()
1912 pRight = pNewNode->getChild(2); in negateSearchCondition()
1921 OSQLParseNode* pLeft = pSearchCondition->getChild(0); in negateSearchCondition()
1922 OSQLParseNode* pRight = pSearchCondition->getChild(2); in negateSearchCondition()
1931 pLeft = pNewNode->getChild(0); in negateSearchCondition()
1932 pRight = pNewNode->getChild(2); in negateSearchCondition()
1954 OSQLParseNode* pComparison = pSearchCondition->getChild(1); in negateSearchCondition()
1989 pPart2 = pSearchCondition->getChild(1); in negateSearchCondition()
1996 OSQLParseNode* pNot = pPart2->getChild(nNotPos); in negateSearchCondition()
2007 OSQLParseNode* pNot = pSearchCondition->getChild( 1 )->getChild( 0 ); in negateSearchCondition()
2013 pSearchCondition->getChild( 1 )->replace(pNot, pNotNot); in negateSearchCondition()
2021 …mary) || (pSearchCondition->count() == 3 && SQL_ISPUNCTUATION(pSearchCondition->getChild(0),"(") && in eraseBraces()
2022 SQL_ISPUNCTUATION(pSearchCondition->getChild(2),")")))) in eraseBraces()
2024 OSQLParseNode* pRight = pSearchCondition->getChild(1); in eraseBraces()
2027 …if(!(SQL_ISRULE(pSearchCondition->getChild(1),boolean_term) || SQL_ISRULE(pSearchCondition->getChi… in eraseBraces()
2028 … SQL_ISRULE(pSearchCondition->getChild(1),boolean_term) || // and can always stand without () in eraseBraces()
2029 …(SQL_ISRULE(pSearchCondition->getChild(1),search_condition) && SQL_ISRULE(pSearchCondition->getPar… in eraseBraces()
2047 OSQLParseNode* pLeft = pSearchCondition->getChild(0); in absorptions()
2049 OSQLParseNode* pRight = pSearchCondition->getChild(2); in absorptions()
2057 && *pSearchCondition->getChild(0) == *pSearchCondition->getChild(2)) in absorptions()
2066 ( SQL_ISRULE(pSearchCondition->getChild(nPos = 0),boolean_primary) in absorptions()
2067 || SQL_ISRULE(pSearchCondition->getChild(nPos),search_condition) in absorptions()
2069 || ( SQL_ISRULE(pSearchCondition->getChild(nPos = 2),boolean_primary) in absorptions()
2070 || SQL_ISRULE(pSearchCondition->getChild(nPos),search_condition) in absorptions()
2075 OSQLParseNode* p2ndSearch = pSearchCondition->getChild(nPos); in absorptions()
2077 p2ndSearch = p2ndSearch->getChild(1); in absorptions()
2079 …if ( *p2ndSearch->getChild(0) == *pSearchCondition->getChild(2-nPos) ) // a and ( a or b) -> a or b in absorptions()
2085 …else if ( *p2ndSearch->getChild(2) == *pSearchCondition->getChild(2-nPos) ) // a and ( b or a) -> … in absorptions()
2111 …else if(SQL_ISRULE(pSearchCondition,search_condition) && SQL_ISRULE(pSearchCondition->getChild(2),… in absorptions()
2113 if(*pSearchCondition->getChild(2)->getChild(0) == *pSearchCondition->getChild(0)) in absorptions()
2118 else if(*pSearchCondition->getChild(2)->getChild(2) == *pSearchCondition->getChild(0)) in absorptions()
2125 …else if(SQL_ISRULE(pSearchCondition,search_condition) && SQL_ISRULE(pSearchCondition->getChild(0),… in absorptions()
2127 if(*pSearchCondition->getChild(0)->getChild(0) == *pSearchCondition->getChild(2)) in absorptions()
2132 else if(*pSearchCondition->getChild(0)->getChild(2) == *pSearchCondition->getChild(2)) in absorptions()
2151 OSQLParseNode* pLeft = pSearchCondition->getChild(0); in compress()
2154 OSQLParseNode* pRight = pSearchCondition->getChild(2); in compress()
2157 …mary) || (pSearchCondition->count() == 3 && SQL_ISPUNCTUATION(pSearchCondition->getChild(0),"(") && in compress()
2158 SQL_ISPUNCTUATION(pSearchCondition->getChild(2),")"))) in compress()
2160 OSQLParseNode* pRight = pSearchCondition->getChild(1); in compress()
2163 …if(!(SQL_ISRULE(pSearchCondition->getChild(1),boolean_term) || SQL_ISRULE(pSearchCondition->getChi… in compress()
2164 …(SQL_ISRULE(pSearchCondition->getChild(1),boolean_term) && SQL_ISRULE(pSearchCondition->getParent(… in compress()
2165 …(SQL_ISRULE(pSearchCondition->getChild(1),search_condition) && SQL_ISRULE(pSearchCondition->getPar… in compress()
2173 …condition) && SQL_ISRULE(pSearchCondition->getChild(0),boolean_term) && SQL_ISRULE(pSearchConditio… in compress()
2175 … if(*pSearchCondition->getChild(0)->getChild(0) == *pSearchCondition->getChild(2)->getChild(0)) in compress()
2177 OSQLParseNode* pLeft = pSearchCondition->getChild(0)->removeAt(2); in compress()
2178 OSQLParseNode* pRight = pSearchCondition->getChild(2)->removeAt(2); in compress()
2189 pNode = MakeANDNode(pSearchCondition->getChild(0)->removeAt((sal_uInt32)0),pNewRule); in compress()
2192 …else if(*pSearchCondition->getChild(0)->getChild(2) == *pSearchCondition->getChild(2)->getChild(0)) in compress()
2194 OSQLParseNode* pLeft = pSearchCondition->getChild(0)->removeAt((sal_uInt32)0); in compress()
2195 OSQLParseNode* pRight = pSearchCondition->getChild(2)->removeAt(2); in compress()
2206 pNode = MakeANDNode(pSearchCondition->getChild(0)->removeAt(1),pNewRule); in compress()
2209 …else if(*pSearchCondition->getChild(0)->getChild(0) == *pSearchCondition->getChild(2)->getChild(2)) in compress()
2211 OSQLParseNode* pLeft = pSearchCondition->getChild(0)->removeAt(2); in compress()
2212 OSQLParseNode* pRight = pSearchCondition->getChild(2)->removeAt((sal_uInt32)0); in compress()
2223 pNode = MakeANDNode(pSearchCondition->getChild(0)->removeAt((sal_uInt32)0),pNewRule); in compress()
2226 …else if(*pSearchCondition->getChild(0)->getChild(2) == *pSearchCondition->getChild(2)->getChild(2)) in compress()
2228 OSQLParseNode* pLeft = pSearchCondition->getChild(0)->removeAt((sal_uInt32)0); in compress()
2229 OSQLParseNode* pRight = pSearchCondition->getChild(2)->removeAt((sal_uInt32)0); in compress()
2240 pNode = MakeANDNode(pSearchCondition->getChild(0)->removeAt(1),pNewRule); in compress()
2767 if ( nCount == 2 || (nCount == 3 && !_pTableRef->getChild(0)->isToken()) || nCount == 5 ) in getTableRange()
2769 const OSQLParseNode* pNode = _pTableRef->getChild(nCount - (nCount == 2 ? 1 : 2)); in getTableRange()
2774 sTableRange = pNode->getChild(1)->getTokenValue(); in getTableRange()