ReactOS 0.4.16-dev-570-g1868985
|
Go to the source code of this file.
Classes | |
struct | IDENTIFIER |
Macros | |
#define | PROFILING_ENABLED 0 |
#define | FOLLOWED_BY(x) x |
#define | ANY_CHAR R"((?:.|\n))" |
#define | WHITESPACE R"((?:[ \t]++))" |
#define | NEWLINE R"([\n])" |
#define | WS_OR_NL R"((?:)" WHITESPACE "|" NEWLINE R"()+)" |
#define | SEPARATOR R"([\s,\=\+\-\*\/\:\~\[\]])" |
#define | INSTRUCTION |
Enumerations | |
enum | TOKEN_TYPE { Invalid = -1 , Eof , WhiteSpace , NewLine , Comment , DecNumber , HexNumber , String , BraceOpen , BraceClose , MemRefStart , MemRefEnd , Colon , Operator , StringDef , KW_include , KW_const , KW_code , KW_endprolog , KW_ALIGN , KW_EXTERN , KW_PUBLIC , KW_ENDM , KW_END , KW_if , KW_ifdef , KW_ifndef , KW_else , KW_endif , KW_allocstack , KW_savereg , KW_savexmm128 , KW_DB , KW_DW , KW_DD , KW_DQ , KW_EQU , KW_TEXTEQU , KW_MACRO , KW_PROC , KW_FRAME , KW_ENDP , KW_RECORD , KW_MASK , KW_ERRDEF , Filename , Instruction , Reg8 , Reg16 , Reg32 , Reg64 , RegXmm , BYTE_PTR , WORD_PTR , DWORD_PTR , QWORD_PTR , XMMWORD_PTR , LabelName , Identifier } |
enum class | IDTYPE { Memory , Register , Label , Constant , Macro , Instruction , String , Unknown } |
Variables | |
time_t | search_time |
vector< TOKEN_DEF > | g_TokenList |
unsigned int | g_label_number = 0 |
bool | g_processing_jmp = false |
vector< IDENTIFIER > | g_identifiers |
Definition at line 28 of file asmpp.cpp.
Definition at line 323 of file asmpp.cpp.
Referenced by add_mem_id(), and translate_identifier_construct().
Definition at line 330 of file asmpp.cpp.
Referenced by translate_construct(), and translate_identifier_construct().
Definition at line 469 of file asmpp.cpp.
Referenced by translate_construct().
Token get_expected_token | ( | Token && | tok, |
TOKEN_TYPE | type | ||
) |
Definition at line 362 of file asmpp.cpp.
Referenced by translate_construct(), translate_identifier_construct(), and translate_record().
Definition at line 372 of file asmpp.cpp.
Referenced by translate_construct_one_param(), translate_data_def(), and translate_identifier_construct().
Definition at line 350 of file asmpp.cpp.
Referenced by is_jmp_or_call(), and translate_expression().
Definition at line 639 of file asmpp.cpp.
Referenced by translate_instruction().
Definition at line 336 of file asmpp.cpp.
Referenced by translate_instruction_param().
Definition at line 395 of file asmpp.cpp.
Referenced by translate_instruction_param(), and translate_token().
Definition at line 1228 of file asmpp.cpp.
Definition at line 1206 of file asmpp.cpp.
Referenced by main().
size_t translate_construct | ( | TokenList & | tokens, |
size_t | index, | ||
const vector< string > & | macro_params | ||
) |
Definition at line 1031 of file asmpp.cpp.
Referenced by translate(), and translate_macro().
size_t translate_construct_one_param | ( | string | translated, |
TokenList & | tokens, | ||
size_t | index, | ||
const vector< string > & | macro_params | ||
) |
Definition at line 848 of file asmpp.cpp.
Referenced by translate_construct().
size_t translate_data_def | ( | TokenList & | tokens, |
size_t | index, | ||
const vector< string > & | macro_params | ||
) |
Definition at line 757 of file asmpp.cpp.
Referenced by translate_construct(), and translate_identifier_construct().
size_t translate_expression | ( | TokenList & | tokens, |
size_t | index, | ||
const vector< string > & | macro_params | ||
) |
Definition at line 486 of file asmpp.cpp.
Referenced by translate_construct_one_param(), translate_identifier_construct(), and translate_instruction_param().
size_t translate_identifier_construct | ( | TokenList & | tokens, |
size_t | index, | ||
const vector< string > & | macro_params | ||
) |
Definition at line 938 of file asmpp.cpp.
Referenced by translate_construct().
size_t translate_instruction | ( | TokenList & | tokens, |
size_t | index, | ||
const vector< string > & | macro_params | ||
) |
Definition at line 659 of file asmpp.cpp.
Referenced by translate_construct(), and translate_identifier_construct().
size_t translate_instruction_param | ( | TokenList & | tokens, |
size_t | index, | ||
const vector< string > & | macro_params | ||
) |
Definition at line 584 of file asmpp.cpp.
Referenced by translate_instruction().
Definition at line 703 of file asmpp.cpp.
Referenced by translate_data_def(), and translate_list().
Definition at line 718 of file asmpp.cpp.
Definition at line 1153 of file asmpp.cpp.
Referenced by translate().
size_t translate_mem_ref | ( | TokenList & | tokens, |
size_t | index, | ||
const vector< string > & | macro_params | ||
) |
Definition at line 551 of file asmpp.cpp.
Referenced by translate_instruction_param().
Definition at line 858 of file asmpp.cpp.
Referenced by translate_identifier_construct().
Definition at line 409 of file asmpp.cpp.
Referenced by complete_line(), translate_construct(), translate_data_def(), translate_expression(), translate_instruction(), translate_instruction_param(), translate_item(), translate_list(), translate_macro(), and translate_mem_ref().
vector<IDENTIFIER> g_identifiers |
Definition at line 319 of file asmpp.cpp.
Referenced by add_identifier(), and is_mem_id().
Definition at line 297 of file asmpp.cpp.
Referenced by translate_identifier_construct().
Definition at line 299 of file asmpp.cpp.
Referenced by translate_instruction(), and translate_instruction_param().
time_t search_time |
Definition at line 26 of file asmpp.cpp.
Referenced by main(), and Tokenizer::match().