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

Method get

filters/private/expr/Lexer.cpp:39–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39Token Lexer::get()
40{
41 char c;
42 Token tok;
43
44 if (m_pos >= m_buf.size())
45 return Token(TokenType::Eof, m_buf.size(), m_buf.size(), "");
46 while (true)
47 {
48 m_tokPos = m_pos;
49 c = getChar();
50
51 if (std::isspace(c))
52 continue;
53
54 tok = top(c);
55 break;
56 }
57 return tok;
58}
59
60void Lexer::put(Token t)
61{

Callers 15

filterMethod · 0.45
readyMethod · 0.45
runMethod · 0.45
preparedMethod · 0.45
runMethod · 0.45
classifyGroundMethod · 0.45
progressiveFilterMethod · 0.45
filterMethod · 0.45
setDimensionalityMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45

Calls 2

TokenClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected