Class: Antlr4ruby::LexerSkipAction

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

Constant Summary collapse

INSTANCE =
LexerSkipAction.new

Instance Method Summary collapse

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 23

def eql?(other)
  # todo

end

#execute(lexer) ⇒ Object



15
16
17
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 15

def execute(lexer)
  lexer.skip
end

#get_action_typeObject



7
8
9
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 7

def get_action_type
  :SKIP
end

#hashObject



19
20
21
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 19

def hash
  # todo

end

#is_position_dependentObject



11
12
13
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 11

def is_position_dependent
  false
end

#to_sObject



27
28
29
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 27

def to_s
  'skip'
end