MCPcopy Create free account
hub / github.com/anjo76/angelscript / ParseToken

Method ParseToken

sdk/angelscript/source/as_scriptengine.cpp:1418–1431  ·  view source on GitHub ↗

interface

Source from the content-addressed store, hash-verified

1416
1417// interface
1418asETokenClass asCScriptEngine::ParseToken(const char *string, size_t stringLength, asUINT *tokenLength) const
1419{
1420 if( stringLength == 0 )
1421 stringLength = strlen(string);
1422
1423 size_t len;
1424 asETokenClass tc;
1425 tok.GetToken(string, stringLength, &len, &tc);
1426
1427 if( tokenLength )
1428 *tokenLength = (asUINT)len;
1429
1430 return tc;
1431}
1432
1433// interface
1434asIScriptModule *asCScriptEngine::GetModule(const char *module, asEGMFlags flag)

Callers

nothing calls this directly

Calls 1

GetTokenMethod · 0.45

Tested by

no test coverage detected