MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / findLine

Function findLine

test/dotnet-parser-tests.ts:603–605  ·  view source on GitHub ↗
(result: ParsedAsmResult, text: string)

Source from the content-addressed store, hash-verified

601const source = (line: number, column: number): AsmResultSource => ({file: null, line, column});
602
603function findLine(result: ParsedAsmResult, text: string) {
604 return result.asm.find(line => line.text.trim() === text);
605}
606
607function requestedMethod(typeArguments: string[] = [], methodArguments: string[] = []): DotNetMethodKey {
608 return {

Callers 1

Calls 1

findMethod · 0.80

Tested by

no test coverage detected