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

Function AddTwoExpressionNode

NULLC/Callbacks.cpp:2404–2416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2402}
2403
2404void AddTwoExpressionNode(TypeInfo *retType)
2405{
2406 if(CodeInfo::nodeList.back()->nodeType != typeNodeExpressionList)
2407 AddOneExpressionNode(retType);
2408 // Take the expression list from the top
2409 NodeZeroOP* temp = CodeInfo::nodeList.back();
2410 CodeInfo::nodeList.pop_back();
2411 if(CodeInfo::nodeList.back()->nodeType == typeNodeZeroOp)
2412 CodeInfo::nodeList.pop_back();
2413 else
2414 static_cast<NodeExpressionList*>(temp)->AddNode();
2415 CodeInfo::nodeList.push_back(temp);
2416}
2417
2418void AddArrayConstructor(const char* pos, unsigned int arrElementCount)
2419{

Callers 15

AddArrayIndexNodeFunction · 0.85
AddMemberAccessNodeFunction · 0.85
HandlePointerToObjectFunction · 0.85
AddArrayIteratorFunction · 0.85
MergeArrayIteratorsFunction · 0.85
AddForEachNodeFunction · 0.85
FinishConstructorCallFunction · 0.85
FunctionStartFunction · 0.85
FunctionEndFunction · 0.85
AddFunctionCallNodeFunction · 0.85
TypeFinishFunction · 0.85
CreateRedirectionTablesFunction · 0.85

Calls 4

AddOneExpressionNodeFunction · 0.85
AddNodeMethod · 0.80
pop_backMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected