| 6588 | } |
| 6589 | |
| 6590 | ResultType Script::ResolveClasses() |
| 6591 | { |
| 6592 | LPTSTR name; |
| 6593 | Object *base = mUnresolvedClasses->GetUnresolvedClass(name); |
| 6594 | if (!base) |
| 6595 | return OK; |
| 6596 | // There is at least one unresolved class. |
| 6597 | ExprTokenType token; |
| 6598 | if (base->GetOwnProp(token, _T("Line"))) |
| 6599 | { |
| 6600 | // In this case (an object in the mUnresolvedClasses list), it is always an integer |
| 6601 | // containing the file index and line number: |
| 6602 | mCurrFileIndex = int(token.value_int64 >> 32); |
| 6603 | mCombinedLineNumber = LineNumberType(token.value_int64); |
| 6604 | } |
| 6605 | mCurrLine = NULL; |
| 6606 | return ScriptError(_T("Unknown class."), name); |
| 6607 | } |
| 6608 | |
| 6609 | |
| 6610 |
nothing calls this directly
no test coverage detected