MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / ValueBase

Method ValueBase

source/script_object.cpp:3103–3112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3101Object *Object::sFloatPrototype;
3102
3103Object *Object::ValueBase(ExprTokenType &aValue)
3104{
3105 switch (TypeOfToken(aValue))
3106 {
3107 case SYM_STRING: return Object::sStringPrototype;
3108 case SYM_INTEGER: return Object::sIntegerPrototype;
3109 case SYM_FLOAT: return Object::sFloatPrototype;
3110 }
3111 return nullptr;
3112}
3113
3114
3115

Callers

nothing calls this directly

Calls 1

TypeOfTokenFunction · 0.85

Tested by

no test coverage detected