Sha256: caecc8a3537ee5732fc355adb369e5b7bf64cf96fba7bedbe896912c9d8b8869
Contents?: true
Size: 669 Bytes
Versions: 4
Compression:
Stored size: 669 Bytes
Contents
module Antlr4::Runtime class LexerSkipAction < LexerAction include Singleton def action_type LexerActionType::SKIP end def position_dependent? false end def execute(lexer) lexer.skip end def hash return @_hash unless @_hash.nil? hash_code = MurmurHash.hash_int(action_type) if !@_hash.nil? if hash_code == @_hash puts 'Same hash_code for LexerSkipAction' else puts 'Different hash_code for LexerSkipAction' end end @_hash = hash_code end def eql?(other) other == self end def to_s 'skip' end end end
Version data entries
4 entries across 4 versions & 1 rubygems