interface
| 1416 | |
| 1417 | // interface |
| 1418 | asETokenClass 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 |
| 1434 | asIScriptModule *asCScriptEngine::GetModule(const char *module, asEGMFlags flag) |