ExplainedDiffEntry
이 페이지에서

ExplainedDiffEntry

인터페이스, 도구 분류

One diff line that a declared transform explains: applying transform to the reference side made line disappear from bucket.

import type { ExplainedDiffEntry } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

interface ExplainedDiffEntry {
readonly transform: string;
readonly bucket: SemanticDiffBucket;
readonly line: string;
}

설명

The line keeps its - or + prefix. A - line is a fact of a the transform rewrote away; a + line is a fact of b the transformed reference now also has. transform is the plugin’s identity ?? name, the same spelling emitIdentity reports.

인스턴스 속성

transform읽기 전용 string
bucket읽기 전용 SemanticDiffBucket
line읽기 전용 string

함께 보기

소스

src/core/semantic-diff.ts, 103행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고