-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify reserved identifiers in a header (#154)
- Loading branch information
Showing
5 changed files
with
55 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
|
||
namespace utils { | ||
namespace language { | ||
|
||
// ---------------------------------------------------------------------------- | ||
// Reserved function names | ||
// ---------------------------------------------------------------------------- | ||
|
||
inline const std::string funcMain = "main"; | ||
inline const std::string funcPrint = "print"; | ||
inline const std::string funcInput = "input"; | ||
inline const std::string funcRange = "range"; | ||
inline const std::string funcEnumerate = "enumerate"; | ||
|
||
// ---------------------------------------------------------------------------- | ||
// Reserved decorator names | ||
// ---------------------------------------------------------------------------- | ||
|
||
inline const std::string atInline = "inline"; | ||
|
||
} // namespace language | ||
} // namespace utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters