CodeDiffLine
One line of a code diff. Hunks are separated by gaps in the line numbers.
type CodeDiffLine {
kind: CodeDiffLineKind!
oldLine: Int
newLine: Int
text: String!
problems: [String!]!
}
Fields
CodeDiffLine.kind ● CodeDiffLineKind! non-null enum
CodeDiffLine.oldLine ● Int scalar
1-based line in the current code; null on an ADDED line.
CodeDiffLine.newLine ● Int scalar
1-based line in the proposed code; null on a REMOVED line.
CodeDiffLine.text ● String! non-null scalar
CodeDiffLine.problems ● [String!]! non-null scalar
The analyzer's problems on this line of the proposed code.
Member Of
StrategyCodeChangeProposal object