func (this *Token) HashCode() int { if this.hash == 0 { result := tk.HashType(tk.HASH_SEED, this) result = tk.HashString(result, this.Operator) result = tk.HashString(result, this.Alias) result = tk.Hash(result, this.Members) this.hash = result } return this.hash }
func (this *Column) HashCode() int { if this.hash == 0 { result := tk.HashType(tk.HASH_SEED, this) result = tk.HashString(result, this.table.String()+"."+this.name) this.hash = result } return this.hash }
func (this Str) HashCode() int { return tk.HashString(tk.HASH_SEED, string(this)) }