Sen API
Sen Libraries
Loading...
Searching...
No Matches
code_location.h
Go to the documentation of this file.
1// === code_location.h =================================================================================================
2// Sen Infrastructure
3// Released under the Apache License v2.0 (SPDX-License-Identifier Apache-2.0).
4// See the LICENSE.txt file for more information.
5// © Airbus SAS, Airbus Helicopters, and Airbus Defence and Space SAU/GmbH/SAS.
6// =====================================================================================================================
7
8#ifndef SEN_CORE_LANG_CODE_LOCATION_H
9#define SEN_CORE_LANG_CODE_LOCATION_H
10
11#include <cstdlib>
12
13namespace sen::lang
14{
15
18
21{
22 const char* src;
23 std::size_t offset;
24};
25
27
28} // namespace sen::lang
29
30#endif // SEN_CORE_LANG_CODE_LOCATION_H
const char * src
Definition code_location.h:22
std::size_t offset
Points to the source code.
Definition code_location.h:23
Location of a character in a program.
Definition code_location.h:21
Definition code_location.h:14