Method: LexerIndexedCustomAction#offset
- Defined in:
- lib/antlr4/atn/LexerAction.rb
#offset ⇒ Object
Constructs a new indexed custom action by associating a character offset with a LexerAction.
<p>Note: This class is only required for lexer actions for which LexerAction#isPositionDependent returns true.</p>
the token start index, at which the specified lexer action should be executed. input CharStream.
288 289 290 |
# File 'lib/antlr4/atn/LexerAction.rb', line 288 def offset @offset end |