Lines Matching refs:eTok
106 static sal_Bool DoParametersFollow( SbiParser* p, SbiExprType eCurExpr, SbiToken eTok ) in DoParametersFollow() argument
108 if( eTok == LPAREN ) in DoParametersFollow()
113 if ( eTok == NUMBER || eTok == MINUS || eTok == FIXSTRING in DoParametersFollow()
114 || eTok == SYMBOL || eTok == COMMA || eTok == DOT || eTok == NOT || eTok == BYVAL ) in DoParametersFollow()
132 ( SbiToken eTok, SbiSymPool& rPool, SbiExprType eCurExpr, in AddSym() argument
137 sal_Bool bHasType = sal_Bool( eTok == EQ || eTok == DOT ); in AddSym()
204 SbiToken eTok = (pKeywordSymbolInfo == NULL) ? pParser->Next() : pKeywordSymbolInfo->m_eTok; in Term() local
222 if( pParser->IsKwd( eTok ) ) in Term()
224 if( pParser->IsCompatible() && eTok == INPUT ) in Term()
226 eTok = SYMBOL; in Term()
235 if( DoParametersFollow( pParser, eCurExpr, eTok = eNextTok ) ) in Term()
242 eTok = pParser->Peek(); in Term()
245 while( eTok == LPAREN ) in Term()
252 eTok = pParser->Peek(); in Term()
258 sal_Bool bObj = sal_Bool( ( eTok == DOT || eTok == EXCLAM ) in Term()
293 pDef = AddSym( eTok, *pParser->pPool, eCurExpr, aSym, eType, pPar ); in Term()
389 SbiToken eTok = pParser->Next(); in ObjTerm() local
390 if( eTok != SYMBOL && !pParser->IsKwd( eTok ) && !pParser->IsExtra( eTok ) ) in ObjTerm()
394 if( eTok != MOD && eTok != NOT && eTok != AND && eTok != OR && in ObjTerm()
395 eTok != XOR && eTok != EQV && eTok != IMP && eTok != IS ) in ObjTerm()
415 eTok = pParser->Peek(); in ObjTerm()
417 if( DoParametersFollow( pParser, eCurExpr, eTok ) ) in ObjTerm()
422 eTok = pParser->Peek(); in ObjTerm()
425 while( eTok == LPAREN ) in ObjTerm()
432 eTok = pParser->Peek(); in ObjTerm()
436 sal_Bool bObj = sal_Bool( ( eTok == DOT || eTok == EXCLAM ) && !pParser->WhiteSpace() ); in ObjTerm()
455 pDef = AddSym( eTok, rPool, eCurExpr, aSym, eType, pPar ); in ObjTerm()
498 SbiToken eTok; in Operand() local
501 switch( eTok = pParser->Peek() ) in Operand()
508 eTok = pParser->Next(); in Operand()
509 pRes = new SbiExprNode( pParser, pRes, eTok, Like() ); in Operand()
557 if( pParser->IsKwd( eTok ) ) in Operand()
563 pParser->Error( SbERR_UNEXPECTED, eTok ); in Operand()
572 SbiToken eTok = pParser->Peek(); in Unary() local
573 switch( eTok ) in Unary()
576 eTok = NEG; in Unary()
578 pNd = new SbiExprNode( pParser, Unary(), eTok, NULL ); in Unary()
588 pNd = new SbiExprNode( pParser, Unary(), eTok, NULL ); in Unary()
628 SbiToken eTok = pParser->Next(); in Exp() local
629 pNd = new SbiExprNode( pParser, pNd, eTok, Unary() ); in Exp()
642 SbiToken eTok = pParser->Peek(); in MulDiv() local
643 if( eTok != MUL && eTok != DIV ) in MulDiv()
645 eTok = pParser->Next(); in MulDiv()
646 pNd = new SbiExprNode( pParser, pNd, eTok, Exp() ); in MulDiv()
658 SbiToken eTok = pParser->Next(); in IntDiv() local
659 pNd = new SbiExprNode( pParser, pNd, eTok, MulDiv() ); in IntDiv()
671 SbiToken eTok = pParser->Next(); in Mod() local
672 pNd = new SbiExprNode( pParser, pNd, eTok, IntDiv() ); in Mod()
685 SbiToken eTok = pParser->Peek(); in AddSub() local
686 if( eTok != PLUS && eTok != MINUS ) in AddSub()
688 eTok = pParser->Next(); in AddSub()
689 pNd = new SbiExprNode( pParser, pNd, eTok, Mod() ); in AddSub()
702 SbiToken eTok = pParser->Peek(); in Cat() local
703 if( eTok != CAT ) in Cat()
705 eTok = pParser->Next(); in Cat()
706 pNd = new SbiExprNode( pParser, pNd, eTok, AddSub() ); in Cat()
720 SbiToken eTok = pParser->Peek(); in Comp() local
723 if( eTok != EQ && eTok != NE && eTok != LT in Comp()
724 && eTok != GT && eTok != LE && eTok != GE ) in Comp()
726 eTok = pParser->Next(); in Comp()
727 pNd = new SbiExprNode( pParser, pNd, eTok, Cat() ); in Comp()
738 SbiToken eTok = pParser->Peek(); in VBA_Not() local
739 if( eTok == NOT ) in VBA_Not()
742 pNd = new SbiExprNode( pParser, VBA_Not(), eTok, NULL ); in VBA_Not()
758 SbiToken eTok = pParser->Next(); in Like() local
759 pNd = new SbiExprNode( pParser, pNd, eTok, Comp() ), nCount++; in Like()
778 SbiToken eTok = pParser->Peek(); in Boolean() local
779 if( eTok != AND && eTok != OR && eTok != XOR in Boolean()
780 && eTok != EQV && eTok != IMP && eTok != IS ) in Boolean()
782 eTok = pParser->Next(); in Boolean()
783 pNd = new SbiExprNode( pParser, pNd, eTok, Like() ); in Boolean()
944 SbiToken eTok = pParser->Peek(); in SbiParameters() local
949 if( eTok == LPAREN ) in SbiParameters()
959 eTok = pParser->Peek(); in SbiParameters()
964 if( ( bBracket && eTok == RPAREN ) || pParser->IsEoln( eTok ) ) in SbiParameters()
966 if( eTok == RPAREN ) in SbiParameters()
977 if( eTok == COMMA ) in SbiParameters()
987 if( eTok == BYVAL ) in SbiParameters()
991 eTok = pParser->Peek(); in SbiParameters()
1011 eTok = NIL; in SbiParameters()
1058 eTok = pParser->Peek(); in SbiParameters()
1059 if( eTok != COMMA ) in SbiParameters()
1061 if( ( bBracket && eTok == RPAREN ) || pParser->IsEoln( eTok ) ) in SbiParameters()
1071 eTok = pParser->Peek(); in SbiParameters()
1072 if( ( bBracket && eTok == RPAREN ) || pParser->IsEoln( eTok ) ) in SbiParameters()
1077 if( eTok == RPAREN ) in SbiParameters()
1114 SbiToken eTok; in SbiDimList() local
1118 eTok = pParser->Next(); in SbiDimList()
1119 if( eTok == TO ) in SbiDimList()
1122 eTok = pParser->Next(); in SbiDimList()
1148 if( eTok == RPAREN ) break; in SbiDimList()
1149 if( eTok != COMMA ) in SbiDimList()