Lines Matching refs:eCurTok
204 SbiToken eFirstTok = eCurTok; in DefVar()
205 if( pProc && ( eCurTok == GLOBAL || eCurTok == PUBLIC || eCurTok == PRIVATE ) ) in DefVar()
206 Error( SbERR_NOT_IN_SUBR, eCurTok ); in DefVar()
207 if( eCurTok == PUBLIC || eCurTok == GLOBAL ) in DefVar()
210 if( eCurTok == GLOBAL ) in DefVar()
220 if( eCurTok == _CONST_ ) in DefVar()
226 if( !bConst && (eCurTok == SUB || eCurTok == FUNCTION || eCurTok == PROPERTY || in DefVar()
227 eCurTok == STATIC || eCurTok == ENUM || eCurTok == DECLARE || eCurTok == TYPE) ) in DefVar()
232 if( eCurTok == STATIC ) in DefVar()
237 else if( eCurTok == SUB || eCurTok == FUNCTION || eCurTok == PROPERTY ) in DefVar()
250 else if( eCurTok == ENUM ) in DefVar()
256 else if( eCurTok == DECLARE ) in DefVar()
263 else if( eCurTok == TYPE ) in DefVar()
288 Error( SbERR_UNEXPECTED, eCurTok ); in DefVar()
817 sal_Bool bFunc = sal_Bool( eCurTok == FUNCTION ); in ProcDecl()
818 sal_Bool bProp = sal_Bool( eCurTok == GET || eCurTok == SET || eCurTok == LET ); in ProcDecl()
954 if( eCurTok != SUB && eCurTok != FUNCTION ) in DefDeclare()
955 Error( SbERR_UNEXPECTED, eCurTok ); in DefDeclare()
958 bool bFunction = (eCurTok == FUNCTION); in DefDeclare()
1076 sal_Bool bSub = sal_Bool( eCurTok == SUB ); in DefProc()
1077 sal_Bool bProperty = sal_Bool( eCurTok == PROPERTY ); in DefProc()
1082 if( eCurTok == GET ) in DefProc()
1084 else if( eCurTok == LET ) in DefProc()
1086 else if( eCurTok == SET ) in DefProc()
1092 SbiToken eExit = eCurTok; in DefProc()