forked from jasder/antlr
Remove another dead hash string impl
This commit is contained in:
parent
e22d94a817
commit
d43e63c362
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue