Class: Antlr4ruby::LexerPopModeAction

Inherits:
Object
  • Object
show all
Defined in:
lib/antlr4ruby/atn/action/lexer_pop_mode_action.rb

Constant Summary collapse

INSTANCE =
LexerPopModeAction.new

Instance Method Summary collapse

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/antlr4ruby/atn/action/lexer_pop_mode_action.rb', line 22

def eql?(other)
  # todo

end

#execute(lexer) ⇒ Object



14
15
16
# File 'lib/antlr4ruby/atn/action/lexer_pop_mode_action.rb', line 14

def execute(lexer)
  lexer.pop_mode
end

#get_action_typeObject



6
7
8
# File 'lib/antlr4ruby/atn/action/lexer_pop_mode_action.rb', line 6

def get_action_type
  :POP_MODE
end

#hashObject



18
19
20
# File 'lib/antlr4ruby/atn/action/lexer_pop_mode_action.rb', line 18

def hash
  # todo

end

#is_position_dependentObject



10
11
12
# File 'lib/antlr4ruby/atn/action/lexer_pop_mode_action.rb', line 10

def is_position_dependent
  false
end

#to_sObject



26
27
28
# File 'lib/antlr4ruby/atn/action/lexer_pop_mode_action.rb', line 26

def to_s
  'pop_mode'
end