Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / nsgmls / token.h
1 /* $XConsortium: token.h /main/1 1996/07/29 17:10:14 cde-hp $ */
2 // Copyright (c) 1994 James Clark
3 // See the file COPYING for copying permission.
4
5 #ifndef token_INCLUDED
6 #define token_INCLUDED 1
7
8 #ifdef SP_NAMESPACE
9 namespace SP_NAMESPACE {
10 #endif
11
12 enum EnumToken {
13   // tokenUnrecognized must be 0
14   tokenUnrecognized,            // no token could be recognized
15   tokenEe,                      // end of entity
16   tokenS,                       // RS RE SPACE SEPCHAR
17   tokenRe,                      // RE
18   tokenRs,                      // RS
19   tokenSpace,                   // SPACE
20   tokenSepchar,                 // SEPCHAR
21   tokenNameStart,               // X
22   tokenDigit,                   // 1
23   tokenLcUcNmchar,              // LCNMCHAR or UCNMCHAR
24   tokenChar,                    // a legal data character
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   tokenLit,
44   tokenLita,
45   tokenMdc,
46   tokenMdoNameStart,
47   tokenMdoMdc,
48   tokenMdoCom,
49   tokenMdoDso,
50   tokenMinus,
51   tokenMinusGrpo,
52   tokenMscMdc,
53   tokenNet,
54   tokenOpt,
55   tokenOr,
56   tokenPero,
57   tokenPeroNameStart,
58   tokenPeroGrpo,
59   tokenPic,
60   tokenPio,
61   tokenPlus,
62   tokenPlusGrpo,
63   tokenRefc,
64   tokenRep,
65   tokenRni,
66   tokenSeq,
67   tokenStago,
68   tokenStagoNameStart,
69   tokenStagoTagc,
70   tokenStagoGrpo,
71   tokenTagc,
72   tokenVi,
73   // short references start here
74   tokenFirstShortref
75 };
76
77 #ifdef SP_NAMESPACE
78 }
79 #endif
80
81 #endif /* not token_INCLUDED */