MCPcopy 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
3void Lexer::Clear(unsigned count)
4{
5 if(count)
6 lexems.shrink(count);
7 else
8 lexems.clear();
9}
10
11void Lexer::Lexify(const char* code)
12{

Callers 7

ResetTreeGlobalsFunction · 0.45
ClearStateMethod · 0.45
CompileMethod · 0.45
ResetPoolMethod · 0.45
ClearStringListFunction · 0.45
clearMethod · 0.45
DeleteNodesMethod · 0.45

Calls 2

shrinkMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected