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

Method WriteError

sdk/angelscript/source/as_builder.cpp:6030–6037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6028}
6029
6030void asCBuilder::WriteError(const asCString &message, asCScriptCode *file, asCScriptNode *node)
6031{
6032 int r = 0, c = 0;
6033 if( node && file )
6034 file->ConvertPosToRowCol(node->tokenPos, &r, &c);
6035
6036 WriteError(file ? file->name : asCString(""), message, r, c);
6037}
6038
6039void asCBuilder::WriteError(const asCString &scriptname, const asCString &message, int r, int c)
6040{

Callers 2

ErrorMethod · 0.80
ErrorMethod · 0.80

Calls 4

asCStringClass · 0.85
ConvertPosToRowColMethod · 0.80
WriteMessageMethod · 0.80
AddressOfMethod · 0.45

Tested by

no test coverage detected