blob: 8b3057fa9715e7324f0f04c2d6794b8607c85b49 [file]
/*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Gabriel Ebner
*/
#pragma once
#include <utility>
#include <string>
#include <lean/int64.h>
#include "util/name.h"
namespace lean {
typedef pair<unsigned, unsigned> pos_info; //!< Line and column information
struct pos_range {
pos_info m_begin, m_end;
};
struct location {
std::string m_file_name;
pos_range m_range;
};
}