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"
12 /include "libxmlrpg/tree"
14 /if defined(LIBXML_REGEXP_ENABLED)
15 /if defined(LIBXML_AUTOMATA_ENABLED)
17 /include "libxmlrpg/xmlregexp"
21 * A libxml automata description, It can be compiled into a regexp
23 d xmlAutomataPtr s * based(######typedef######)
25 * xmlAutomataStatePtr:
27 * A state int the automata description,
29 d xmlAutomataStatePtr...
30 d s * based(######typedef######)
34 d xmlNewAutomata pr extproc('xmlNewAutomata')
35 d like(xmlAutomataPtr)
38 d pr extproc('xmlFreeAutomata')
39 d am value like(xmlAutomataPtr)
41 d xmlAutomataGetInitState...
42 d pr extproc('xmlAutomataGetInitState')
43 d like(xmlAutomataStatePtr)
44 d am value like(xmlAutomataPtr)
46 d xmlAutomataSetFinalState...
47 d pr 10i 0 extproc('xmlAutomataSetFinalState')
48 d am value like(xmlAutomataPtr)
49 d state value like(xmlAutomataStatePtr)
51 d xmlAutomataNewState...
52 d pr extproc('xmlAutomataNewState')
53 d like(xmlAutomataStatePtr)
54 d am value like(xmlAutomataPtr)
56 d xmlAutomataNewTransition...
57 d pr extproc('xmlAutomataNewTransition')
58 d like(xmlAutomataStatePtr)
59 d am value like(xmlAutomataPtr)
60 d from value like(xmlAutomataStatePtr)
61 d to value like(xmlAutomataStatePtr)
62 d token * value options(*string) const xmlChar *
63 d data * value options(*string) void *
65 d xmlAutomataNewTransition2...
66 d pr extproc('xmlAutomataNewTransition2')
67 d like(xmlAutomataStatePtr)
68 d am value like(xmlAutomataPtr)
69 d from value like(xmlAutomataStatePtr)
70 d to value like(xmlAutomataStatePtr)
71 d token * value options(*string) const xmlChar *
72 d token2 * value options(*string) const xmlChar *
73 d data * value options(*string) void *
75 d xmlAutomataNewNegTrans...
76 d pr extproc('xmlAutomataNewNegTrans')
77 d like(xmlAutomataStatePtr)
78 d am value like(xmlAutomataPtr)
79 d from value like(xmlAutomataStatePtr)
80 d to value like(xmlAutomataStatePtr)
81 d token * value options(*string) const xmlChar *
82 d token2 * value options(*string) const xmlChar *
83 d data * value options(*string) void *
85 d xmlAutomataNewCountTrans...
86 d pr extproc('xmlAutomataNewCountTrans')
87 d like(xmlAutomataStatePtr)
88 d am value like(xmlAutomataPtr)
89 d from value like(xmlAutomataStatePtr)
90 d to value like(xmlAutomataStatePtr)
91 d token * value options(*string) const xmlChar *
94 d data * value options(*string) void *
96 d xmlAutomataNewCountTrans2...
97 d pr extproc('xmlAutomataNewCountTrans2')
98 d like(xmlAutomataStatePtr)
99 d am value like(xmlAutomataPtr)
100 d from value like(xmlAutomataStatePtr)
101 d to value like(xmlAutomataStatePtr)
102 d token * value options(*string) const xmlChar *
103 d token2 * value options(*string) const xmlChar *
106 d data * value options(*string) void *
108 d xmlAutomataNewOnceTrans...
109 d pr extproc('xmlAutomataNewOnceTrans')
110 d like(xmlAutomataStatePtr)
111 d am value like(xmlAutomataPtr)
112 d from value like(xmlAutomataStatePtr)
113 d to value like(xmlAutomataStatePtr)
114 d token * value options(*string) const xmlChar *
117 d data * value options(*string) void *
119 d xmlAutomataNewOnceTrans2...
120 d pr extproc('xmlAutomataNewOnceTrans2')
121 d like(xmlAutomataStatePtr)
122 d am value like(xmlAutomataPtr)
123 d from value like(xmlAutomataStatePtr)
124 d to value like(xmlAutomataStatePtr)
125 d token * value options(*string) const xmlChar *
126 d token2 * value options(*string) const xmlChar *
129 d data * value options(*string) void *
131 d xmlAutomataNewAllTrans...
132 d pr extproc('xmlAutomataNewAllTrans')
133 d like(xmlAutomataStatePtr)
134 d am value like(xmlAutomataPtr)
135 d from value like(xmlAutomataStatePtr)
136 d to value like(xmlAutomataStatePtr)
139 d xmlAutomataNewEpsilon...
140 d pr extproc('xmlAutomataNewEpsilon')
141 d like(xmlAutomataStatePtr)
142 d am value like(xmlAutomataPtr)
143 d from value like(xmlAutomataStatePtr)
144 d to value like(xmlAutomataStatePtr)
146 d xmlAutomataNewCountedTrans...
147 d pr extproc('xmlAutomataNewCountedTrans')
148 d like(xmlAutomataStatePtr)
149 d am value like(xmlAutomataPtr)
150 d from value like(xmlAutomataStatePtr)
151 d to value like(xmlAutomataStatePtr)
152 d counter 10i 0 value
154 d xmlAutomataNewCounterTrans...
155 d pr extproc('xmlAutomataNewCounterTrans')
156 d like(xmlAutomataStatePtr)
157 d am value like(xmlAutomataPtr)
158 d from value like(xmlAutomataStatePtr)
159 d to value like(xmlAutomataStatePtr)
160 d counter 10i 0 value
162 d xmlAutomataNewCounter...
163 d pr 10i 0 extproc('xmlAutomataNewCounter')
164 d am value like(xmlAutomataPtr)
168 d xmlAutomataCompile...
169 d pr extproc('xmlAutomataCompile')
171 d am value like(xmlAutomataPtr)
173 d xmlAutomataIsDeterminist...
174 d pr 10i 0 extproc('xmlAutomataIsDeterminist')
175 d am value like(xmlAutomataPtr)
177 /endif AUTOMATA_ENABLED
178 /endif LIBXML_REGEXP_ENABLD
179 /endif XML_AUTOMATA_H__