1 * Summary: API to build regexp automata
2 * Description: the API to build regexp automata
4 * Copy: See Copyright for the status of this software.
6 * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
8 /if not defined(XML_AUTOMATA_H__)
9 /define XML_AUTOMATA_H__
11 /include "libxmlrpg/xmlversion"
13 /if defined(LIBXML_REGEXP_ENABLED)
14 /if defined(LIBXML_AUTOMATA_ENABLED)
16 /include "libxmlrpg/xmlTypesC"
17 /include "libxmlrpg/tree"
18 /include "libxmlrpg/xmlregexp"
22 * A libxml automata description, It can be compiled into a regexp
24 d xmlAutomataPtr s * based(######typedef######)
26 * xmlAutomataStatePtr:
28 * A state int the automata description,
30 d xmlAutomataStatePtr...
31 d s * based(######typedef######)
35 d xmlNewAutomata pr extproc('xmlNewAutomata')
36 d like(xmlAutomataPtr)
39 d pr extproc('xmlFreeAutomata')
40 d am value like(xmlAutomataPtr)
42 d xmlAutomataGetInitState...
43 d pr extproc('xmlAutomataGetInitState')
44 d like(xmlAutomataStatePtr)
45 d am value like(xmlAutomataPtr)
47 d xmlAutomataSetFinalState...
48 d pr extproc('xmlAutomataSetFinalState')
50 d am value like(xmlAutomataPtr)
51 d state value like(xmlAutomataStatePtr)
53 d xmlAutomataNewState...
54 d pr extproc('xmlAutomataNewState')
55 d like(xmlAutomataStatePtr)
56 d am value like(xmlAutomataPtr)
58 d xmlAutomataNewTransition...
59 d pr extproc('xmlAutomataNewTransition')
60 d like(xmlAutomataStatePtr)
61 d am value like(xmlAutomataPtr)
62 d from value like(xmlAutomataStatePtr)
63 d to value like(xmlAutomataStatePtr)
64 d token * value options(*string) const xmlChar *
65 d data * value options(*string) void *
67 d xmlAutomataNewTransition2...
68 d pr extproc('xmlAutomataNewTransition2')
69 d like(xmlAutomataStatePtr)
70 d am value like(xmlAutomataPtr)
71 d from value like(xmlAutomataStatePtr)
72 d to value like(xmlAutomataStatePtr)
73 d token * value options(*string) const xmlChar *
74 d token2 * value options(*string) const xmlChar *
75 d data * value options(*string) void *
77 d xmlAutomataNewNegTrans...
78 d pr extproc('xmlAutomataNewNegTrans')
79 d like(xmlAutomataStatePtr)
80 d am value like(xmlAutomataPtr)
81 d from value like(xmlAutomataStatePtr)
82 d to value like(xmlAutomataStatePtr)
83 d token * value options(*string) const xmlChar *
84 d token2 * value options(*string) const xmlChar *
85 d data * value options(*string) void *
87 d xmlAutomataNewCountTrans...
88 d pr extproc('xmlAutomataNewCountTrans')
89 d like(xmlAutomataStatePtr)
90 d am value like(xmlAutomataPtr)
91 d from value like(xmlAutomataStatePtr)
92 d to value like(xmlAutomataStatePtr)
93 d token * value options(*string) const xmlChar *
94 d min value like(xmlCint)
95 d max value like(xmlCint)
96 d data * value options(*string) void *
98 d xmlAutomataNewCountTrans2...
99 d pr extproc('xmlAutomataNewCountTrans2')
100 d like(xmlAutomataStatePtr)
101 d am value like(xmlAutomataPtr)
102 d from value like(xmlAutomataStatePtr)
103 d to value like(xmlAutomataStatePtr)
104 d token * value options(*string) const xmlChar *
105 d token2 * value options(*string) const xmlChar *
106 d min value like(xmlCint)
107 d max value like(xmlCint)
108 d data * value options(*string) void *
110 d xmlAutomataNewOnceTrans...
111 d pr extproc('xmlAutomataNewOnceTrans')
112 d like(xmlAutomataStatePtr)
113 d am value like(xmlAutomataPtr)
114 d from value like(xmlAutomataStatePtr)
115 d to value like(xmlAutomataStatePtr)
116 d token * value options(*string) const xmlChar *
117 d min value like(xmlCint)
118 d max value like(xmlCint)
119 d data * value options(*string) void *
121 d xmlAutomataNewOnceTrans2...
122 d pr extproc('xmlAutomataNewOnceTrans2')
123 d like(xmlAutomataStatePtr)
124 d am value like(xmlAutomataPtr)
125 d from value like(xmlAutomataStatePtr)
126 d to value like(xmlAutomataStatePtr)
127 d token * value options(*string) const xmlChar *
128 d token2 * value options(*string) const xmlChar *
129 d min value like(xmlCint)
130 d max value like(xmlCint)
131 d data * value options(*string) void *
133 d xmlAutomataNewAllTrans...
134 d pr extproc('xmlAutomataNewAllTrans')
135 d like(xmlAutomataStatePtr)
136 d am value like(xmlAutomataPtr)
137 d from value like(xmlAutomataStatePtr)
138 d to value like(xmlAutomataStatePtr)
139 d lax value like(xmlCint)
141 d xmlAutomataNewEpsilon...
142 d pr extproc('xmlAutomataNewEpsilon')
143 d like(xmlAutomataStatePtr)
144 d am value like(xmlAutomataPtr)
145 d from value like(xmlAutomataStatePtr)
146 d to value like(xmlAutomataStatePtr)
148 d xmlAutomataNewCountedTrans...
149 d pr extproc('xmlAutomataNewCountedTrans')
150 d like(xmlAutomataStatePtr)
151 d am value like(xmlAutomataPtr)
152 d from value like(xmlAutomataStatePtr)
153 d to value like(xmlAutomataStatePtr)
154 d counter value like(xmlCint)
156 d xmlAutomataNewCounterTrans...
157 d pr extproc('xmlAutomataNewCounterTrans')
158 d like(xmlAutomataStatePtr)
159 d am value like(xmlAutomataPtr)
160 d from value like(xmlAutomataStatePtr)
161 d to value like(xmlAutomataStatePtr)
162 d counter value like(xmlCint)
164 d xmlAutomataNewCounter...
165 d pr extproc('xmlAutomataNewCounter')
167 d am value like(xmlAutomataPtr)
168 d min value like(xmlCint)
169 d max value like(xmlCint)
171 d xmlAutomataCompile...
172 d pr extproc('xmlAutomataCompile')
174 d am value like(xmlAutomataPtr)
176 d xmlAutomataIsDeterminist...
177 d pr extproc('xmlAutomataIsDeterminist')
179 d am value like(xmlAutomataPtr)
181 /endif AUTOMATA_ENABLED
182 /endif LIBXML_REGEXP_ENABLD
183 /endif XML_AUTOMATA_H__