Method: ListTokenSource#eofToken
- Defined in:
- lib/antlr4/ListTokenSource.rb
#eofToken ⇒ Object
Constructs a new ListTokenSource instance from the specified collection of Token objects and source name.
TokenSource. null, #getSourceName will attempt to infer the name from the next Token (or the previous token if the end of the input has been reached).
22 23 24 |
# File 'lib/antlr4/ListTokenSource.rb', line 22 def eofToken @eofToken end |