MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / reset

Method reset

src/core/parser.cpp:101–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void TeXParser::reset(const wstring& latex) {
102 _parseString = latex;
103 _len = latex.length();
104 _formula->_root = nullptr;
105 _pos = 0;
106 _spos = 0;
107 _line = 0;
108 _col = 0;
109 _group = 0;
110 _insertion = false;
111 _atIsLetter = 0;
112 _arrayMode = false;
113 _ignoreWhiteSpace = true;
114 firstpass();
115}
116
117sptr<Atom> TeXParser::popLastAtom() {
118 auto a = _formula->_root;

Callers 3

drawMethod · 0.45
setLaTeXMethod · 0.45
createBoxMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected