Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ name_to_command
Function
name_to_command
crawl-ref/source/macro.cc:2157–2160 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2155
}
2156
2157
command_type name_to_command(string name)
2158
{
2159
return static_cast<command_type>(lookup(_names_to_cmds, name, CMD_NO_CMD));
2160
}
2161
2162
string command_to_name(command_type cmd)
2163
{
Callers
5
crawl_do_targeted_command
Function · 0.85
crawl_do_commands
Function · 0.85
crawl_get_command
Function · 0.85
_bindkey
Function · 0.85
hint_replace_cmds
Function · 0.85
Calls
1
lookup
Function · 0.85
Tested by
no test coverage detected