Remove duplicated methods (#4985)

This commit is contained in:
Komal 2020-07-08 16:50:46 -07:00 committed by GitHub
parent 4d3545117f
commit 0ede17ced2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,12 +37,8 @@ type Expression interface {
// NodeTokens returns the syntax.Tokens associated with the expression.
NodeTokens() syntax.NodeTokens
// GetLeadingTrivia returns the leading trivia associated with the expression.
GetLeadingTrivia() syntax.TriviaList
// SetLeadingTrivia sets the leading trivia associated with the expression.
SetLeadingTrivia(syntax.TriviaList)
// GetTrailingTrivia returns the trailing trivia associated with the expression.
GetTrailingTrivia() syntax.TriviaList
// SetTrailingTrivia sets the trailing trivia associated with the expression.
SetTrailingTrivia(syntax.TriviaList)