Sen API
Sen Libraries
Toggle main menu visibility
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
13
namespace
sen::lang
14
{
15
18
20
struct
CodeLocation
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
sen::lang::CodeLocation::src
const char * src
Definition
code_location.h:22
sen::lang::CodeLocation::offset
std::size_t offset
Points to the source code.
Definition
code_location.h:23
sen::lang::CodeLocation
Location of a character in a program.
Definition
code_location.h:21
sen::lang
Definition
code_location.h:14
libs
core
include
sen
core
lang
code_location.h
Generated by
1.17.0