Lines Matching refs:SQL_ISRULE

228 	if (SQL_ISRULE(m_pParseTree,select_statement) || SQL_ISRULE(m_pParseTree,union_statement) )  in setParseTree()
232 else if (SQL_ISRULE(m_pParseTree,insert_statement)) in setParseTree()
236 else if (SQL_ISRULE(m_pParseTree,update_statement_searched)) in setParseTree()
240 else if (SQL_ISRULE(m_pParseTree,delete_statement_searched)) in setParseTree()
244 else if (m_pParseTree->count() == 3 && SQL_ISRULE(m_pParseTree->getChild(1),odbc_call_spec)) in setParseTree()
248 else if (SQL_ISRULE(m_pParseTree->getChild(0),base_table_def)) in setParseTree()
499 else if (SQL_ISRULE(i_pJoinCondition,comparison_predicate)) in impl_fillJoinConditions()
503 if (SQL_ISRULE(i_pJoinCondition->getChild(0),column_ref) && in impl_fillJoinConditions()
504 SQL_ISRULE(i_pJoinCondition->getChild(2),column_ref) && in impl_fillJoinConditions()
520 OSL_PRECOND( SQL_ISRULE( pTableRef, cross_union ) || SQL_ISRULE( pTableRef, qualified_join ) , 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()
537 if ( SQL_ISRULE( pJoin_spec, join_condition ) ) in getQualified_join()
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()
573 if ( SQL_ISRULE( pTableRef, qualified_join ) || SQL_ISRULE( pTableRef, cross_union ) ) in getTableNode()
597 if ( SQL_ISRULE( pQueryExpression, select_statement ) ) in getTableNode()
621 if(SQL_ISRULE(pSelect,union_statement)) in getSelect_statement()
630 …OSL_ENSURE(SQL_ISRULE(pTableRefCommalist,table_ref_commalist),"OSQLParseTreeIterator: error in par… in getSelect_statement()
643 else if ( SQL_ISRULE( pTableListElement, table_ref ) ) in getSelect_statement()
661 …else if (SQL_ISRULE( pTableListElement, qualified_join ) || SQL_ISRULE( pTableListElement, cross_u… in getSelect_statement()
665 else if ( SQL_ISRULE( pTableListElement, joined_table ) ) in getSelect_statement()
713 OSL_ENSURE(SQL_ISRULE(_pDerivedColumn,derived_column),"No derived column!"); in getColumnAlias()
730 if ( SQL_ISRULE( _pColumnRef, column_ref ) ) in lcl_getColumnRange()
765 else if(SQL_ISRULE(_pColumnRef,general_set_fct) || SQL_ISRULE(_pColumnRef,set_fct_spec)) in lcl_getColumnRange()
808 if (SQL_ISRULE(pNode,column_ref)) in getColumnTableRange()
870 if (!SQL_ISRULE(pSelectNode,base_table_element_commalist)) in traverseCreateColumns()
877 if (SQL_ISRULE(pColumnRef,column_def)) in traverseCreateColumns()
887 if (pDatatype && SQL_ISRULE(pDatatype,character_string_type)) in traverseCreateColumns()
933 if(SQL_ISRULE(pSelectNode,union_statement)) in traverseSelectColumnNames()
946 else if (SQL_ISRULE(pSelectNode->getChild(2),scalar_exp_commalist)) in traverseSelectColumnNames()
956 if (SQL_ISRULE(pColumnRef,derived_column) && in traverseSelectColumnNames()
957 SQL_ISRULE(pColumnRef->getChild(0),column_ref) && in traverseSelectColumnNames()
967 else if (SQL_ISRULE(pColumnRef,derived_column)) in traverseSelectColumnNames()
982 if (SQL_ISRULE(pColumnRef,column_ref)) in traverseSelectColumnNames()
1022 …s,sColumnName,aColumnAlias,aTableRange,bFkt,nType,SQL_ISRULE(pColumnRef,general_set_fct) || SQL_IS… in traverseSelectColumnNames()
1056 if(SQL_ISRULE(pSelectNode,union_statement)) in traverseByColumnNames()
1066 OSL_ENSURE(SQL_ISRULE(pTableExp,table_exp),"OSQLParseTreeIterator:table_exp error in parse tree!"); in traverseByColumnNames()
1080 …OSL_ENSURE(!_bOrder || SQL_ISRULE(pOrderingSpecCommalist,ordering_spec_commalist),"OSQLParseTreeIt… in traverseByColumnNames()
1092 …OSL_ENSURE(SQL_ISRULE(pColumnRef,ordering_spec),"OSQLParseTreeIterator:ordering_spec error in pars… in traverseByColumnNames()
1099 if ( SQL_ISRULE(pColumnRef,column_ref) ) in traverseByColumnNames()
1102 if(SQL_ISRULE(pColumnRef,column_ref)) in traverseByColumnNames()
1165 if ( SQL_ISRULE(pParent,comparison_predicate) ) // x = X in traverseParameters()
1171 if ( SQL_ISRULE( pOther, column_ref ) ) in traverseParameters()
1176 else if ( SQL_ISRULE(pParent,other_like_predicate_part_2) ) in traverseParameters()
1179 if ( SQL_ISRULE( pOther, column_ref ) ) in traverseParameters()
1184 else if ( SQL_ISRULE(pParent,between_predicate_part_2) ) in traverseParameters()
1187 if ( SQL_ISRULE( pOther, column_ref ) ) in traverseParameters()
1222 if(SQL_ISRULE(pSelectNode,union_statement)) in traverseSelectionCriteria()
1231 OSL_ENSURE(SQL_ISRULE(pTableExp,table_exp),"OSQLParseTreeIterator: error in parse tree!"); in traverseSelectionCriteria()
1235 } else if (SQL_ISRULE(pSelectNode,update_statement_searched)) { in traverseSelectionCriteria()
1238 } else if (SQL_ISRULE(pSelectNode,delete_statement_searched)) { in traverseSelectionCriteria()
1241 } else if (SQL_ISRULE(pSelectNode,delete_statement_positioned)) { in traverseSelectionCriteria()
1249 if (! SQL_ISRULE(pWhereClause,where_clause)) { in traverseSelectionCriteria()
1252 …OSL_ENSURE(SQL_ISRULE(pWhereClause,opt_where_clause),"OSQLParseTreeIterator: error in parse tree!"… in traverseSelectionCriteria()
1285 } else if (SQL_ISRULE(pSearchCondition,search_condition) && in traverseORCriteria()
1296 SQL_ISRULE(pSearchCondition->getChild(0),search_condition) && in traverseORCriteria()
1328 SQL_ISRULE(pSearchCondition,boolean_primary) && in traverseANDCriteria()
1338 else if ( SQL_ISRULE(pSearchCondition,search_condition) && pSearchCondition->count() == 3 ) in traverseANDCriteria()
1349 else if ( SQL_ISRULE(pSearchCondition,boolean_term) && pSearchCondition->count() == 3 ) in traverseANDCriteria()
1360 else if (SQL_ISRULE(pSearchCondition,comparison_predicate) ) in traverseANDCriteria()
1369 …else if (SQL_ISRULE(pSearchCondition,like_predicate) /*&& SQL_ISRULE(pSearchCondition->getChild(0)… in traverseANDCriteria()
1390 if (SQL_ISRULE(pNum_value_exp,parameter)) in traverseANDCriteria()
1405 else if (SQL_ISRULE(pSearchCondition,in_predicate)) in traverseANDCriteria()
1414 if ( SQL_ISRULE(pChild->getChild(0),subquery) ) in traverseANDCriteria()
1429 …else if (SQL_ISRULE(pSearchCondition,test_for_null) /*&& SQL_ISRULE(pSearchCondition->getChild(0),… in traverseANDCriteria()
1440 else if (SQL_ISRULE(pSearchCondition,num_value_exp) || SQL_ISRULE(pSearchCondition,term)) in traverseANDCriteria()
1456 if ( !SQL_ISRULE( _pParseNode, parameter ) ) in traverseParameter()
1489 …if ( _pParentNode && (SQL_ISRULE(_pParentNode,general_set_fct) || SQL_ISRULE(_pParentNode,set_fct_… in traverseParameter()
1552 … if ( pParent && (SQL_ISRULE(pParent,general_set_fct) || SQL_ISRULE(pParent,set_fct_spec)) ) in traverseParameter()
1601 else */if (SQL_ISRULE(pParseNode,column_ref))// Column-Name (und TableRange): in traverseOnePredicate()
1965 OSL_ENSURE(SQL_ISRULE(pTableExp,table_exp),"OSQLParseTreeIterator: error in parse tree!"); in getWhereTree()
1970 else if (SQL_ISRULE(m_pParseTree,update_statement_searched) || in getWhereTree()
1971 SQL_ISRULE(m_pParseTree,delete_statement_searched)) in getWhereTree()
1995 OSL_ENSURE(SQL_ISRULE(pTableExp,table_exp),"OSQLParseTreeIterator: error in parse tree!"); in getOrderTree()
2017 OSL_ENSURE(SQL_ISRULE(pTableExp,table_exp),"OSQLParseTreeIterator: error in parse tree!"); in getGroupByTree()
2038 OSL_ENSURE(SQL_ISRULE(pTableExp,table_exp),"OSQLParseTreeIterator: error in parse tree!"); in getHavingTree()
2051 return _pTableNode && (SQL_ISRULE(_pTableNode,catalog_name) || in isTableNode()
2052 SQL_ISRULE(_pTableNode,schema_name) || in isTableNode()
2053 SQL_ISRULE(_pTableNode,table_name)); in isTableNode()
2167 if ( SQL_ISRULE(_pNode,length_exp) ) in getFunctionReturnType()
2172 …else if ( SQL_ISRULE(_pNode,num_value_exp) || SQL_ISRULE(_pNode,term) || SQL_ISRULE(_pNode,factor)… in getFunctionReturnType()
2182 …if ( SQL_ISRULE(_pNode,general_set_fct) && (SQL_ISTOKEN(_pNode->getChild(0),MIN) || SQL_ISTOKEN(_p… in getFunctionReturnType()
2185 if (SQL_ISRULE(pValueExp,column_ref)) in getFunctionReturnType()
2200 …if ( SQL_ISRULE(pValueExp,num_value_exp) || SQL_ISRULE(pValueExp,term) || SQL_ISRULE(pValueExp,fac… in getFunctionReturnType()
2204 else if ( SQL_ISRULE(pValueExp,datetime_primary) ) in getFunctionReturnType()
2219 else if ( SQL_ISRULE(pValueExp,value_exp_primary) ) in getFunctionReturnType()
2223 else if ( SQL_ISRULE(pValueExp,concatenation) in getFunctionReturnType()
2224 || SQL_ISRULE(pValueExp,char_factor) in getFunctionReturnType()
2225 || SQL_ISRULE(pValueExp,bit_value_fct) in getFunctionReturnType()
2226 || SQL_ISRULE(pValueExp,char_value_fct) in getFunctionReturnType()
2227 || SQL_ISRULE(pValueExp,char_substring_fct) in getFunctionReturnType()
2228 || SQL_ISRULE(pValueExp,fold) in getFunctionReturnType()