Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliveToolkit/alive2
/ peek
Method
peek
tools/alive_parser.cpp:103–108 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
101
}
102
103
token peek() {
104
if (returned)
105
return last;
106
returned = true;
107
return last = get_new_token();
108
}
109
110
bool consumeIf(token expected) {
111
auto token = peek();
Callers
3
alive_parser.cpp
File · 0.80
parse_memory_access
Function · 0.80
parse_call
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected