MCPcopy Create free account
hub / github.com/WheretIB/nullc / TakeLastNode

Function TakeLastNode

NULLC/SyntaxTree.cpp:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using CodeInfo::cmdInfoList;
9
10NodeZeroOP* TakeLastNode()
11{
12 NodeZeroOP* last = nodeList.back();
13 nodeList.pop_back();
14 return last;
15}
16
17const char* binCommandToText[] = { "+", "-", "*", "/", "**", "%", "<", ">", "<=", ">=", "==", "!=", "<<", ">>", "&", "|", "^", "&&", "||", "^^"};
18const char* unaryCommandToText[] = { "-", "-", "-", "~", "~", "!", "!" };

Callers 15

AddExtraNodeMethod · 0.85
NodePopOpMethod · 0.85
NodeUnaryOpMethod · 0.85
NodeReturnOpMethod · 0.85
NodeBlockMethod · 0.85
NodeFuncDefMethod · 0.85
NodeFuncCallMethod · 0.85
NodeConvertPtrMethod · 0.85
NodeVariableSetMethod · 0.85
NodeVariableModifyMethod · 0.85
NodeArrayIndexMethod · 0.85
NodeDereferenceMethod · 0.85

Calls 1

pop_backMethod · 0.45

Tested by

no test coverage detected