"Fossies" - the Fresh Open Source Software Archive

Member "OpenSP-1.5.2/lib/token.h" (21 Jul 2005, 1589 Bytes) of package /linux/misc/old/OpenSP-1.5.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "token.h" see the Fossies "Dox" file reference documentation.

    1 // Copyright (c) 1994 James Clark
    2 // See the file COPYING for copying permission.
    3 
    4 #ifndef token_INCLUDED
    5 #define token_INCLUDED 1
    6 
    7 #ifdef SP_NAMESPACE
    8 namespace SP_NAMESPACE {
    9 #endif
   10 
   11 enum EnumToken {
   12   // tokenUnrecognized must be 0
   13   tokenUnrecognized,        // no token could be recognized
   14   tokenEe,          // end of entity
   15   tokenS,           // RS RE SPACE SEPCHAR
   16   tokenRe,          // RE
   17   tokenRs,          // RS
   18   tokenSpace,           // SPACE
   19   tokenSepchar,         // SEPCHAR
   20   tokenNameStart,       // X
   21   tokenDigit,           // 1
   22   tokenLcUcNmchar,      // LCNMCHAR or UCNMCHAR
   23   tokenChar,            // a legal data character
   24   tokenCharDelim,           // a data character which starts a delimiter
   25   tokenIgnoredChar,     // character in ignored marked section
   26   // delimiters and delimiters in context
   27   tokenAnd,
   28   tokenCom,
   29   tokenCroDigit,
   30   tokenCroNameStart,
   31   tokenDsc,
   32   tokenDso,
   33   tokenDtgc,
   34   tokenDtgo,
   35   tokenEroNameStart,
   36   tokenEroGrpo,
   37   tokenEtago,
   38   tokenEtagoNameStart,
   39   tokenEtagoTagc,
   40   tokenEtagoGrpo,
   41   tokenGrpc,
   42   tokenGrpo,
   43   tokenHcroHexDigit,
   44   tokenLit,
   45   tokenLita,
   46   tokenMdc,
   47   tokenMdoNameStart,
   48   tokenMdoMdc,
   49   tokenMdoCom,
   50   tokenMdoDso,
   51   tokenMinus,
   52   tokenMinusGrpo,
   53   tokenMscMdc,
   54   tokenNet,
   55   tokenNestc,
   56   tokenOpt,
   57   tokenOr,
   58   tokenPero,
   59   tokenPeroNameStart,
   60   tokenPeroGrpo,
   61   tokenPic,
   62   tokenPio,
   63   tokenPlus,
   64   tokenPlusGrpo,
   65   tokenRefc,
   66   tokenRep,
   67   tokenRni,
   68   tokenSeq,
   69   tokenStago,
   70   tokenStagoNameStart,
   71   tokenStagoTagc,
   72   tokenStagoGrpo,
   73   tokenTagc,
   74   tokenVi,
   75   // short references start here
   76   tokenFirstShortref
   77 };
   78 
   79 #ifdef SP_NAMESPACE
   80 }
   81 #endif
   82 
   83 #endif /* not token_INCLUDED */