MCPcopy Create free account
hub / github.com/PDAL/PDAL / match

Method match

filters/private/expr/BaseParser.cpp:26–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26bool BaseParser::match(TokenType type)
27{
28 Token t = m_lexer.get();
29 if (t.type() == type)
30 {
31 m_curTok = t;
32 return true;
33 }
34 m_lexer.put(t);
35 return false;
36}
37
38void BaseParser::setError(const std::string& err)
39{

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
typeMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected