| 795 | } |
| 796 | |
| 797 | std::pair<Path, int> ASContext::GetCallFile() { |
| 798 | const char *scriptSection; |
| 799 | int line, column; |
| 800 | line = ctx->GetLineNumber(0, &column, &scriptSection); |
| 801 | LineFile lf = module.GetCorrectedLine(line); |
| 802 | |
| 803 | return std::pair<Path, int>(lf.file, lf.line_number); |
| 804 | } |
| 805 | |
| 806 | std::string ASContext::GetASFunctionNameFromMPState(uint32_t state) { |
| 807 | if (HasFunction(mpCallBacks[state])) { |
no test coverage detected