Sha256: af1a3b91d1ebbb0ef08c7f9a0e19a88bf96d2ffcb349834a30e79453d2fd9340
Contents?: true
Size: 663 Bytes
Versions: 1
Compression:
Stored size: 663 Bytes
Contents
# finished # frozen_string_literal: true module Antlr4ruby class ConflictInfo def initialize(conflicted_alts, exact) @conflicted_alts, @exact = conflicted_alts, exact end private attr_accessor :conflicted_alts, :exact public def get_conflicted_alts @conflicted_alts end def is_exact? @exact end def eql?(other) return true if self.equal?(other) return false unless other.instance_of?(ConflictInfo) @exact == other.exact && conflicted_alts.eql?(other.conflicted_alts) end def hash conflicted_alts.hash end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
antlr4ruby-0.1.0 | lib/antlr4ruby/atn/info/conflict_info.rb |