MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / parse

Method parse

MonaBase/sources/XMLParser.cpp:51–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51bool XMLParser::parse(Exception& ex) {
52 if (_running) {
53 ex.set(Exception::SOFTWARE, "Impossible to call recursively XMLParser::parse function");
54 return false;
55 }
56 _running = true;
57 bool rest(false);
58 if (_ex)
59 ex = _ex;
60 else {
61 rest = parse();
62 if (!rest)
63 onEndXMLDocument(_ex ? (ex=_ex).error() : NULL);
64 }
65 _running = false;
66 return rest;
67}
68
69bool XMLParser::parse() {
70

Callers 1

XMLToLUAMethod · 0.45

Calls 9

isspaceFunction · 0.85
ifFunction · 0.85
errorMethod · 0.80
setMethod · 0.45
emptyMethod · 0.45
clearMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45
setStringMethod · 0.45

Tested by

no test coverage detected