class RuboCop::AST::Token

def space_after?

Checks if there is whitespace after token
def space_after?
  pos.source_buffer.source.match(/\G\s/, end_pos)
end