Files
revng-revng/include/revng/PTML/Constants.h
Giacomo Vercesi f77d4d6d1f PTML: introduce data-scope-location
Introduce the new `data-scope-location` tag that's to be used for
switching between C and ASM. Include the tag when generating ASM
instructions.
2023-07-31 16:05:51 +02:00

37 lines
834 B
C++

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
namespace ptml {
namespace tags {
inline constexpr auto Div = "div";
inline constexpr auto Span = "span";
} // namespace tags
namespace attributes {
inline constexpr auto Scope = "data-scope";
inline constexpr auto Token = "data-token";
inline constexpr auto LocationDefinition = "data-location-definition";
inline constexpr auto LocationReferences = "data-location-references";
inline constexpr auto ModelEditPath = "data-model-edit-path";
inline constexpr auto ScopeLocation = "data-scope-location";
} // namespace attributes
namespace scopes {} // namespace scopes
namespace tokens {
inline constexpr auto Indentation = "indentation";
inline constexpr auto Comment = "comment";
} // namespace tokens
} // namespace ptml