Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | /**
* Dependencies needed for parameter dereference resolution
*/
interface IParameterDereferenceDeps {
/** Check if a type is a float type (f32, f64) */
isFloatType(typeName: string): boolean;
/** Check if a type is a known primitive */
isKnownPrimitive(typeName: string): boolean;
/** Set of known enum names */
knownEnums: ReadonlySet<string>;
/** Check if a parameter is pass-by-value by name */
isParameterPassByValue(functionName: string, paramName: string): boolean;
/** Current function name (null if at global scope) */
currentFunctionName: string | null;
/** In C++ mode, primitives become references and don't need dereferencing */
maybeDereference(id: string): string;
}
export default IParameterDereferenceDeps;
|