MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / isLiteralNumber

Function isLiteralNumber

Engine/source/console/optimizer.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#include "console/codeBlock.h"
26
27static bool isLiteralNumber(ExprNode* node)
28{
29 ExprNodeName name = node->getExprNodeNameEnum();
30 return name == NameFloatNode || name == NameIntNode;
31}
32
33static F64 getFloatValue(ExprNode* node)
34{

Callers 1

optimizeMethod · 0.85

Calls 1

getExprNodeNameEnumMethod · 0.45

Tested by

no test coverage detected