class Antlr4::Runtime::LexerMoreAction
Public Instance Methods
action_type()
click to toggle source
# File lib/antlr4/runtime/lexer_more_action.rb, line 6 def action_type LexerActionType::MORE end
eql?(other)
click to toggle source
# File lib/antlr4/runtime/lexer_more_action.rb, line 33 def eql?(other) other == self end
execute(lexer)
click to toggle source
# File lib/antlr4/runtime/lexer_more_action.rb, line 14 def execute(lexer) lexer.more end
hash()
click to toggle source
# File lib/antlr4/runtime/lexer_more_action.rb, line 18 def hash return @_hash unless @_hash.nil? hash_code = RumourHash.calculate([action_type]) unless @_hash.nil? if hash_code == @_hash puts 'Same hash_code for LexerMoreAction' else puts 'Different hash_code for LexerMoreAction' end end @_hash = hash_code end
position_dependent?()
click to toggle source
# File lib/antlr4/runtime/lexer_more_action.rb, line 10 def position_dependent? false end
to_s()
click to toggle source
# File lib/antlr4/runtime/lexer_more_action.rb, line 37 def to_s 'more' end