Class: Antlr4ruby::LexerSkipAction
- Inherits:
-
Object
- Object
- Antlr4ruby::LexerSkipAction
- Defined in:
- lib/antlr4ruby/atn/action/lexer_skip_action.rb
Constant Summary collapse
- INSTANCE =
LexerSkipAction.new
Instance Method Summary collapse
- #eql?(other) ⇒ Boolean
- #execute(lexer) ⇒ Object
- #get_action_type ⇒ Object
- #hash ⇒ Object
- #is_position_dependent ⇒ Object
- #to_s ⇒ Object
Instance Method Details
#eql?(other) ⇒ 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_type ⇒ Object
7 8 9 |
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 7 def get_action_type :SKIP end |
#hash ⇒ Object
19 20 21 |
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 19 def hash # todo end |
#is_position_dependent ⇒ Object
11 12 13 |
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 11 def is_position_dependent false end |
#to_s ⇒ Object
27 28 29 |
# File 'lib/antlr4ruby/atn/action/lexer_skip_action.rb', line 27 def to_s 'skip' end |