MCPcopy Create free account
hub / github.com/RenderKit/embree / next

Method next

common/lexers/tokenstream.cpp:168–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 Token TokenStream::next()
169 {
170 Token token;
171 skipSeparators();
172 ParseLocation loc = cin->loc();
173 if (trySymbols (token,loc)) return token; /**< try to parse a symbol */
174 if (tryFloat (token,loc)) return token; /**< try to parse float */
175 if (tryInt (token,loc)) return token; /**< try to parse integer */
176 if (tryString (token,loc)) return token; /**< try to parse string */
177 if (tryIdentifier(token,loc)) return token; /**< try to parse identifier */
178 if (cin->peek() == EOF ) return Token(loc); /**< return EOF token */
179 return Token((char)cin->get(),loc); /**< return invalid character token */
180 }
181}

Callers 15

init_borderFunction · 0.45
init_cornerFunction · 0.45
initFunction · 0.45
initFunction · 0.45
rotateFunction · 0.45
vertexTypeFunction · 0.45
patchTypeFunction · 0.45
faceHasBorderFunction · 0.45
boundsFunction · 0.45
validFunction · 0.45
numEdgesFunction · 0.45

Calls 2

TokenClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected