reportAssist method

void reportAssist(
  1. SyntacticEntity entity, {
  2. EditsComputer? editsComputer,
})
inherited

Implementation

void reportAssist(
  SyntacticEntity entity, {
  EditsComputer? editsComputer,
}) {
  final result = AssistResult(
    code: code,
    span: entity.toSourceSpan(unit),
    editsComputer: editsComputer,
  );
  results.add(result);
}