public GetPositionDescriptionString ( int codepos ) : string | ||
codepos | int | |
Résultat | string |
public virtual bool AddTrace(InterCodeObject context, int codepos) { int len = mTrace.Length; if (len >= MAX_TRACE_TEXT_LEN) { return false; } if (len != 0) { mTrace += " <-- "; } mTrace += context.GetPositionDescriptionString(codepos); return true; }
public static void ReportExceptionSource(string msg, InterCodeObject context, int codepos) { if (TJS.EnableDebugMode) { TJS.OutputExceptionToConsole(msg + " at " + context.GetPositionDescriptionString( codepos)); } }