MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / tokAt

Function tokAt

src/parser/ds_parser.cpp:12651–12655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12649}
12650
12651LineInfo tokAt ( yyscan_t scanner, const struct DAS_YYLTYPE & li ) {
12652 return LineInfo(yyextra->g_FileAccessStack.back(),
12653 li.first_column,li.first_line,
12654 li.last_column,li.last_line);
12655}
12656
12657LineInfo tokRangeAt ( yyscan_t scanner, const struct DAS_YYLTYPE & li, const struct DAS_YYLTYPE & lie ) {
12658 return LineInfo(yyextra->g_FileAccessStack.back(),

Callers 6

yyparseFunction · 0.70
ds_lexer.cppFile · 0.70
das_accept_cpp_commentFunction · 0.70
ds2_lexer.cppFile · 0.70
das_accept_cpp_commentFunction · 0.70
yyparseFunction · 0.50

Calls 1

LineInfoClass · 0.50

Tested by

no test coverage detected