Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WheretIB/nullc
/ Clear
Method
Clear
NULLC/Lexer.cpp:3–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#include
"Lexer.h"
2
3
void Lexer::Clear(unsigned count)
4
{
5
if(count)
6
lexems.shrink(count);
7
else
8
lexems.clear();
9
}
10
11
void Lexer::Lexify(const char* code)
12
{
Callers
7
ResetTreeGlobals
Function · 0.45
ClearState
Method · 0.45
Compile
Method · 0.45
ResetPool
Method · 0.45
ClearStringList
Function · 0.45
clear
Method · 0.45
DeleteNodes
Method · 0.45
Calls
2
shrink
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected