mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Terms are annotated with their categories in the JSON too.
This commit is contained in:
parent
edcb850f93
commit
ad3462b135
@ -160,7 +160,7 @@ case .Split:
|
||||
let JSON: Doubt.JSON = [
|
||||
"before": .String(aSource.contents),
|
||||
"after": .String(bSource.contents),
|
||||
"diff": diff.JSON(pure: { $0.JSON { $0.JSON(annotation: { $0.range.JSON }, leaf: Doubt.JSON.String) } }, leaf: Doubt.JSON.String, annotation: {
|
||||
"diff": diff.JSON(pure: { $0.JSON { $0.JSON(annotation: { $0.JSON }, leaf: Doubt.JSON.String) } }, leaf: Doubt.JSON.String, annotation: {
|
||||
[
|
||||
"before": $0.JSON,
|
||||
"after": $1.JSON,
|
||||
|
Loading…
Reference in New Issue
Block a user