Remove another dead hash string impl

This commit is contained in:
Peter Boyer 2017-03-12 14:18:55 -04:00
parent e22d94a817
commit d43e63c362
1 changed files with 0 additions and 6 deletions

View File

@ -37,8 +37,6 @@ type ATNConfig interface {
getPrecedenceFilterSuppressed() bool
setPrecedenceFilterSuppressed(bool)
shortHash() string
}
type BaseATNConfig struct {
@ -169,10 +167,6 @@ func (b *BaseATNConfig) equals(o interface{}) bool {
return nums && alts && cons && sups && equal
}
func (b *BaseATNConfig) shortHash() string {
return strconv.Itoa(b.state.GetStateNumber()) + "/" + strconv.Itoa(b.alt) + "/" + b.semanticContext.String()
}
func (b *BaseATNConfig) HashCode() int {
var c int
if b.context != nil {