Method: Tailor::Lexer#on_int

Defined in:
lib/tailor/lexer.rb

#on_int(token) ⇒ Object

Called when the lexer matches an Integer.

Parameters:

  • token (String)

    The token that the lexer matched.



229
230
231
232
# File 'lib/tailor/lexer.rb', line 229

def on_int(token)
  log "INT: '#{token}'"
  super(token)
end