Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
remove unused and deprecated functions in annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Smirnov <[email protected]>
  • Loading branch information
Denys Smirnov authored and dennwc committed Mar 26, 2019
1 parent 0d2b271 commit 85264dc
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions driver/normalizer/annotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,7 @@ var Native = Transformers([][]Transformer{
}...)

var Code = []CodeTransformer{
positioner.NewFillLineColFromOffset(),
}

// FIXME: move to the SDK and remove from here and the python driver
func annotateTypeToken(typ, token string, roles ...role.Role) Mapping {
return AnnotateType(typ,
FieldRoles{
uast.KeyToken: {Add: true, Op: String(token)},
}, roles...)
positioner.FromOffset(),
}

func mapInternalProperty(key string, roles ...role.Role) Mapping {
Expand Down

0 comments on commit 85264dc

Please sign in to comment.