?Routine Analyzer Source File Analysis - parser.h5

parser.h Source Code

LGo to: Contents; Previous section; Beginning of section; Next file in section; Previous file in section.

Q

Routines In This File (Alphabetical)



 Line Name
----- ----.   41 block_level_dec.   40 block_level_inc/   39 block_level_zero,   38 change_pstate.   44 paren_level_dec.   43 paren_level_inc/   42 paren_level_zero*   33 trace_blint*   32 trace_blmsg(   35 trace_msg*   31 trace_plint*   30 trace_plmsg*   34 trace_state


BEGINNING OF FILE


V     1: /****************************************************************************/     2: /*									    */1     3: /*  FACILITY:	Routine Analyzer					    */     4: /*									    */3     5: /*  MODULE:	Common Parser Header					    */     6: /*									    */O     7: /*  AUTHOR:	Steve Branam, Network Product Support Group, Digital	    */>     8: /*		Equipment Corporation, Littleton, MA, USA.		    */     9: /*									    */V    10: /*  DESCRIPTION: This module contains trace macros for the source parsers.  */    11: /*									    */*    12: /*  REVISION HISTORY:							    */    13: /*									    */7    14: /*  V0.1-00 24-AUG-1994 Steve Branam					    */    15: /*									    */(    16: /*	Original version.						    */    17: /*									    */V    18: /****************************************************************************/    19: *    20: 					    /* Trace strings.		    */A    21: #define PLZERO	"\nTRACE: parenthesis level set to zero\n"F    22: #define PLINC	"\nTRACE: parenthesis level incremented to %d\n"F    23: #define PLDEC	"\nTRACE: parenthesis level decremented to %d\n";    24: #define BLZERO	"\nTRACE: block level set to zero\n"@    25: #define BLINC	"\nTRACE: block level incremented to %d\n"@    26: #define BLDEC	"\nTRACE: block level decremented to %d\n"2    27: #define BLEND	"\nTRACE: block end found\n"    28: 0    29: 					    /* Guarded trace macros.	    */

dROUTINE trace_plmsg. Go to: mNext routine in file; Routines in this file.



K    30: #define trace_plmsg(m)   if(trace_plevel_enabled()) trace_parser(m)
IEND trace_plmsg. Go to: Beginning of routine.







dROUTINE trace_plint. Go to: mNext routine in file; Routines in this file.



Q    31: #define trace_plint(m,i) if(trace_plevel_enabled()) trace_parser_int(m,i)
IEND trace_plint. Go to: Beginning of routine.







dROUTINE trace_blmsg. Go to: mNext routine in file; Routines in this file.



J    32: #define trace_blmsg(m)	 if(trace_blevel_enabled()) trace_parser(m)
IEND trace_blmsg. Go to: Beginning of routine.







dROUTINE trace_blint. Go to: mNext routine in file; Routines in this file.



Q    33: #define trace_blint(m,i) if(trace_blevel_enabled()) trace_parser_int(m,i)
IEND trace_blint. Go to: Beginning of routine.







dROUTINE trace_state. Go to: mNext routine in file; Routines in this file.



S    34: #define trace_state(t,f) if(trace_parser_enabled()) trace_parser_state(t,f)
IEND trace_state. Go to: Beginning of routine.







bROUTINE trace_msg. Go to: mNext routine in file; Routines in this file.



H    35: #define trace_msg(m)	 if(trace_parser_enabled()) trace_parser(m)
GEND trace_msg. Go to: Beginning of routine.





    36: 3    37: 					    /* Traceable action macros.	    */

fROUTINE change_pstate. Go to: mNext routine in file; Routines in this file.



U    38: #define change_pstate(n) trace_state(mPSNames[state], mPSNames[n]); state = n
KEND change_pstate. Go to: Beginning of routine.







iROUTINE block_level_zero. Go to: mNext routine in file; Routines in this file.



D    39: #define block_level_zero()   blevel = 0; trace_blmsg(BLZERO)
NEND block_level_zero. Go to: Beginning of routine.







hROUTINE block_level_inc. Go to: mNext routine in file; Routines in this file.



I    40: #define block_level_inc()    blevel++; trace_blint(BLINC, blevel)
MEND block_level_inc. Go to: Beginning of routine.







hROUTINE block_level_dec. Go to: mNext routine in file; Routines in this file.



I    41: #define block_level_dec()    blevel--; trace_blint(BLDEC, blevel)
MEND block_level_dec. Go to: Beginning of routine.







iROUTINE paren_level_zero. Go to: mNext routine in file; Routines in this file.



D    42: #define paren_level_zero()   plevel = 0; trace_plmsg(PLZERO)
NEND paren_level_zero. Go to: Beginning of routine.







hROUTINE paren_level_inc. Go to: mNext routine in file; Routines in this file.



I    43: #define paren_level_inc()    plevel++; trace_plint(PLINC, plevel)
MEND paren_level_inc. Go to: Beginning of routine.







hROUTINE paren_level_dec. Go to: mNext routine in file; Routines in this file.



I    44: #define paren_level_dec()    plevel--; trace_plint(PLDEC, plevel)
MEND paren_level_dec. Go to: Beginning of routine.






END OF FILE TOTAL: 13 routines, 1 Avg Length

LGo to: Contents; Previous section; Beginning of section; Next file in section; Previous file in section.