MCPcopy Create free account
hub / github.com/IBM/Project_CodeNet / C_tokenize

Function C_tokenize

tools/tokenizer/libtoken.c:1183–1190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1181}
1182
1183unsigned C_tokenize(const char **token, const char **type,
1184 unsigned *line, unsigned *col, unsigned *pos)
1185{
1186 enum TokenClass typeid;
1187 unsigned result = C_tokenize_int(token, &typeid, line, col, pos);
1188 *type = token_class[typeid];
1189 return result;
1190}
1191
1192// Escape hard newlines in a string.
1193void RAW_escape(FILE *out, const char *token)

Callers

nothing calls this directly

Calls 1

C_tokenize_intFunction · 0.85

Tested by

no test coverage detected