MCPcopy
hub / github.com/witheve/Eve / onFixpoint

Method onFixpoint

src/runtime/analyzer.ts:355–368  ·  view source on GitHub ↗
(evaluation: Evaluation, changes: Changes)

Source from the content-addressed store, hash-verified

353 }
354
355 onFixpoint(evaluation: Evaluation, changes: Changes) {
356 super.onFixpoint(evaluation, changes);
357 let name = evaluation.databaseToName(this);
358 let index = this.index;
359 let comments = index.alookup("tag", "comment");
360 if(comments) {
361 for(let commentId of Object.keys(comments.index)) {
362 let comment = index.asObject(commentId, false, true);
363 this.spans.push(comment.start, comment.stop, "document_comment", commentId);
364 comment.spanId = commentId;
365 this.extraInfo[commentId] = comment;
366 }
367 }
368 }
369}
370
371function makeEveAnalyzer() {

Callers

nothing calls this directly

Calls 3

databaseToNameMethod · 0.80
alookupMethod · 0.80
asObjectMethod · 0.45

Tested by

no test coverage detected