MCPcopy Create free account
hub / github.com/LibreCAD/LibreCAD / AddAssignOp

Method AddAssignOp

libraries/muparser/src/muParserBytecode.cpp:363–371  ·  view source on GitHub ↗

\brief Add an assignment operator Operator entries in byte code consist of: cmASSIGN code the pointer of the destination variable \sa ParserToken::ECmdCode */

Source from the content-addressed store, hash-verified

361 \sa ParserToken::ECmdCode
362 */
363 void ParserByteCode::AddAssignOp(value_type* a_pVar)
364 {
365 --m_iStackPos;
366
367 SToken tok;
368 tok.Cmd = cmASSIGN;
369 tok.Oprt.ptr = a_pVar;
370 m_vRPN.push_back(tok);
371 }
372
373
374 /** \brief Add function to bytecode.

Callers 1

ApplyBinOprtMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected