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

Method Evaluate

NULLC/SyntaxTreeEvaluate.cpp:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include "ConstantFold.h"
4
5NodeNumber* NodeZeroOP::Evaluate(char* memory, unsigned int size)
6{
7 (void)memory;
8 (void)size;
9 return NULL; // by default, node evaluation is unknown
10}
11
12NodeNumber* NodeNumber::Evaluate(char *memory, unsigned int size)
13{

Callers 1

AddFunctionCallNodeFunction · 0.80

Calls 12

CallMemoClass · 0.85
ChooseBinaryOpResultTypeFunction · 0.85
optDoOperationFunction · 0.85
NodeNumberClass · 0.85
ThrowErrorFunction · 0.85
GetIntegerMethod · 0.80
GetLongMethod · 0.80
GetDoubleMethod · 0.80
ConvertToMethod · 0.80
sizeMethod · 0.45
push_backMethod · 0.45
AllocateMethod · 0.45

Tested by

no test coverage detected