MCPcopy Index your code
hub / github.com/IBM/Project_CodeNet / jsmn_fill_token

Function jsmn_fill_token

tools/json-graph/src/jsmn.h:125–131  ·  view source on GitHub ↗

* Fills token type and boundaries. */

Source from the content-addressed store, hash-verified

123 * Fills token type and boundaries.
124 */
125static void jsmn_fill_token(jsmntok_t *token, const jsmntype_t type,
126 const int start, const int end) {
127 token->type = type;
128 token->start = start;
129 token->end = end;
130 /*token->size = 0;*/
131}
132
133/**
134 * Fills next available token with JSON primitive.

Callers 2

jsmn_parse_primitiveFunction · 0.85
jsmn_parse_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected