~ubuntu-branches/ubuntu/trusty/openjade1.3/trusty

« back to all changes in this revision

Viewing changes to lib/token.h

  • Committer: Bazaar Package Importer
  • Author(s): Yann Dirson
  • Date: 2002-04-09 00:01:50 UTC
  • Revision ID: james.westby@ubuntu.com-20020409000150-r9rkyalxlhvf9ba3
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 */