Om
operand_symbol.hpp
Go to the documentation of this file.
1 
15 #ifndef Om_Language_Symbol_OperandSymbol_
16 
17  #define Om_Language_Symbol_OperandSymbol_ \
18  Om::Language::Symbol::OperandSymbol
19 
20  #include "om/macro.hpp"
21 
26  #define Om_Language_Symbol_OperandSymbol_GetCases_() \
27  case Symbol::theStartOperandSymbol: \
28  case Symbol::theEndOperandSymbol
29 
34  #define Om_Language_Symbol_OperandSymbol_GetStartHex_() \
35  7B
36 
41  #define Om_Language_Symbol_OperandSymbol_GetEndHex_() \
42  7D
43 
48  #define Om_Language_Symbol_OperandSymbol_GetStartString_() \
49  Om_Macro_GetString_( \
50  Om_Language_Symbol_OperandSymbol_GetStartHex_() \
51  )
52 
57  #define Om_Language_Symbol_OperandSymbol_GetEndString_() \
58  Om_Macro_GetString_( \
59  Om_Language_Symbol_OperandSymbol_GetEndHex_() \
60  )
61 
62 namespace Om {
63 
64  namespace Language {
65 
66  namespace Symbol {
67 
73 
76  ),
77 
80  )
81 
82  };
83 
84  }
85 
86  }
87 
88 }
89 
90 #endif
Om header file.
#define Om_Macro_GetNumber_(theHex)
Converts a bare hexadecimal to a numeric literal.
Definition: macro.hpp:50
OperandSymbol
An Operand symbol.
The Om library.
Definition: code_point.hpp:26
#define Om_Language_Symbol_OperandSymbol_GetStartHex_()
Gets the bare hexadecimal code for Om::Language::Symbol::theStartOperandSymbol.
#define Om_Language_Symbol_OperandSymbol_GetEndHex_()
Gets the bare hexadecimal code for Om::Language::Symbol::theEndOperandSymbol.