MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlAutomataNewState

Function xmlAutomataNewState

ThirdParty/libxml2/vtklibxml2/xmlregexp.c:6149–6154  ·  view source on GitHub ↗

* xmlAutomataNewState: * @am: an automata * * Create a new disconnected state in the automata * * Returns the new state or NULL in case of error */

Source from the content-addressed store, hash-verified

6147 * Returns the new state or NULL in case of error
6148 */
6149xmlAutomataStatePtr
6150xmlAutomataNewState(xmlAutomataPtr am) {
6151 if (am == NULL)
6152 return(NULL);
6153 return(xmlRegStatePush(am));
6154}
6155
6156/**
6157 * xmlAutomataNewEpsilon:

Callers 4

automataTestFunction · 0.85

Calls 1

xmlRegStatePushFunction · 0.85

Tested by 1

automataTestFunction · 0.68