Lines Matching refs:pLiteral

4698 …uildNode(OSQLParseNode*& pAppend,OSQLParseNode* pCompare,OSQLParseNode* pLiteral,OSQLParseNode* pL…
4710 pComp->append(pLiteral);
4720 sal_Int16 OSQLParser::buildStringNodes(OSQLParseNode*& pLiteral)
4722 if(!pLiteral)
4725 …if(SQL_ISRULE(pLiteral,set_fct_spec) || SQL_ISRULE(pLiteral,general_set_fct) || SQL_ISRULE(pLitera…
4726 || SQL_ISRULE(pLiteral,subquery))
4729 …if(pLiteral->getNodeType() == SQL_NODE_INTNUM || pLiteral->getNodeType() == SQL_NODE_APPROXNUM ||
4731 OSQLParseNode* pParent = pLiteral->getParent();
4733 OSQLParseNode* pNewNode = new OSQLInternalNode(pLiteral->getTokenValue(), SQL_NODE_STRING);
4734 pParent->replace(pLiteral, pNewNode);
4735 delete pLiteral;
4736 pLiteral = NULL;
4740 for(sal_uInt32 i=0;i<pLiteral->count();++i)
4742 OSQLParseNode* pChild = pLiteral->getChild(i);
4745 if(SQL_ISRULE(pLiteral,term) || SQL_ISRULE(pLiteral,value_exp_primary))
4753 sal_Int16 OSQLParser::buildComparsionRule(OSQLParseNode*& pAppend,OSQLParseNode* pLiteral)
4756 return buildPredicateRule(pAppend,pLiteral,pComp);
4761 void OSQLParser::reduceLiteral(OSQLParseNode*& pLiteral, sal_Bool bAppendBlank)
4763 OSL_ENSURE(pLiteral->isRule(), "This is no ::com::sun::star::chaos::Rule");
4764 OSL_ENSURE(pLiteral->count() == 2, "OSQLParser::ReduceLiteral() Invalid count");
4765 OSQLParseNode* pTemp = pLiteral;
4766 ::rtl::OUStringBuffer aValue(pLiteral->getChild(0)->getTokenValue());
4772 aValue.append(pLiteral->getChild(1)->getTokenValue());
4774 pLiteral = new OSQLInternalNode(aValue.makeStringAndClear(),SQL_NODE_STRING);