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

Method _init_

src/atom/atom_basic.cpp:253–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251bitset<16> SymbolAtom::_validSymbolTypes;
252
253void SymbolAtom::_init_() {
254 _validSymbolTypes
255 .set(TYPE_ORDINARY)
256 .set(TYPE_BIG_OPERATOR)
257 .set(TYPE_BINARY_OPERATOR)
258 .set(TYPE_RELATION)
259 .set(TYPE_OPENING)
260 .set(TYPE_CLOSING)
261 .set(TYPE_PUNCTUATION)
262 .set(TYPE_ACCENT);
263#ifdef HAVE_LOG
264 __log << "elements in _symbols" << endl;
265 for (auto i : _symbols)
266 __log << "\t" << *(i.second) << endl;
267 __log << endl;
268#endif // HAVE_LOG
269}
270
271#ifdef HAVE_LOG
272ostream& tex::operator<<(ostream& os, const SymbolAtom& s) {

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected