Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygengrammar_syn.h
Go to the documentation of this file.
00001 ".syntax grammar;\n" 00002 ".emtcode DECLARATION_END 0\n" 00003 ".emtcode DECLARATION_EMITCODE 1\n" 00004 ".emtcode DECLARATION_ERRORTEXT 2\n" 00005 ".emtcode DECLARATION_REGBYTE 3\n" 00006 ".emtcode DECLARATION_LEXER 4\n" 00007 ".emtcode DECLARATION_RULE 5\n" 00008 ".emtcode SPECIFIER_END 0\n" 00009 ".emtcode SPECIFIER_AND_TAG 1\n" 00010 ".emtcode SPECIFIER_OR_TAG 2\n" 00011 ".emtcode SPECIFIER_CHARACTER_RANGE 3\n" 00012 ".emtcode SPECIFIER_CHARACTER 4\n" 00013 ".emtcode SPECIFIER_STRING 5\n" 00014 ".emtcode SPECIFIER_IDENTIFIER 6\n" 00015 ".emtcode SPECIFIER_TRUE 7\n" 00016 ".emtcode SPECIFIER_FALSE 8\n" 00017 ".emtcode SPECIFIER_DEBUG 9\n" 00018 ".emtcode IDENTIFIER_SIMPLE 0\n" 00019 ".emtcode IDENTIFIER_LOOP 1\n" 00020 ".emtcode ERROR_NOT_PRESENT 0\n" 00021 ".emtcode ERROR_PRESENT 1\n" 00022 ".emtcode EMIT_NULL 0\n" 00023 ".emtcode EMIT_INTEGER 1\n" 00024 ".emtcode EMIT_IDENTIFIER 2\n" 00025 ".emtcode EMIT_CHARACTER 3\n" 00026 ".emtcode EMIT_LAST_CHARACTER 4\n" 00027 ".emtcode EMIT_CURRENT_POSITION 5\n" 00028 ".errtext INVALID_GRAMMAR \"internal error 2001: invalid grammar script\"\n" 00029 ".errtext SYNTAX_EXPECTED \"internal error 2002: '.syntax' keyword expected\"\n" 00030 ".errtext IDENTIFIER_EXPECTED \"internal error 2003: identifier expected\"\n" 00031 ".errtext MISSING_SEMICOLON \"internal error 2004: missing ';'\"\n" 00032 ".errtext INTEGER_EXPECTED \"internal error 2005: integer value expected\"\n" 00033 ".errtext STRING_EXPECTED \"internal error 2006: string expected\"\n" 00034 "grammar\n" 00035 " grammar_1 .error INVALID_GRAMMAR;\n" 00036 "grammar_1\n" 00037 " optional_space .and \".syntax\" .error SYNTAX_EXPECTED .and space .and identifier .and\n" 00038 " semicolon .and declaration_list .and optional_space .and '\\0' .emit DECLARATION_END;\n" 00039 "optional_space\n" 00040 " space .or .true;\n" 00041 "space\n" 00042 " single_space .and .loop single_space;\n" 00043 "single_space\n" 00044 " white_char .or comment_block;\n" 00045 "white_char\n" 00046 " ' ' .or '\\t' .or '\\n' .or '\\r';\n" 00047 "comment_block\n" 00048 " '/' .and '*' .and comment_rest;\n" 00049 "comment_rest\n" 00050 " .loop comment_char_no_star .and comment_rest_1;\n" 00051 "comment_rest_1\n" 00052 " comment_end .or comment_rest_2;\n" 00053 "comment_rest_2\n" 00054 " '*' .and comment_rest;\n" 00055 "comment_char_no_star\n" 00056 " '\\x2B'-'\\xFF' .or '\\x01'-'\\x29';\n" 00057 "comment_end\n" 00058 " '*' .and '/';\n" 00059 "identifier\n" 00060 " identifier_ne .error IDENTIFIER_EXPECTED;\n" 00061 "identifier_ne\n" 00062 " first_idchar .emit * .and .loop follow_idchar .emit * .and .true .emit '\\0';\n" 00063 "first_idchar\n" 00064 " 'a'-'z' .or 'A'-'Z' .or '_';\n" 00065 "follow_idchar\n" 00066 " first_idchar .or digit_dec;\n" 00067 "digit_dec\n" 00068 " '0'-'9';\n" 00069 "semicolon\n" 00070 " optional_space .and ';' .error MISSING_SEMICOLON .and optional_space;\n" 00071 "declaration_list\n" 00072 " declaration .and .loop declaration;\n" 00073 "declaration\n" 00074 " emitcode_definition .emit DECLARATION_EMITCODE .or\n" 00075 " errortext_definition .emit DECLARATION_ERRORTEXT .or\n" 00076 " regbyte_definition .emit DECLARATION_REGBYTE .or\n" 00077 " lexer_definition .emit DECLARATION_LEXER .or\n" 00078 " rule_definition .emit DECLARATION_RULE;\n" 00079 "emitcode_definition\n" 00080 " \".emtcode\" .and space .and identifier .and space .and integer .and space_or_null;\n" 00081 "integer\n" 00082 " integer_ne .error INTEGER_EXPECTED;\n" 00083 "integer_ne\n" 00084 " hex_integer .emit 0x10 .or dec_integer .emit 10;\n" 00085 "hex_integer\n" 00086 " hex_prefix .and digit_hex .emit * .and .loop digit_hex .emit * .and .true .emit '\\0';\n" 00087 "hex_prefix\n" 00088 " '0' .and hex_prefix_1;\n" 00089 "hex_prefix_1\n" 00090 " 'x' .or 'X';\n" 00091 "digit_hex\n" 00092 " '0'-'9' .or 'a'-'f' .or 'A'-'F';\n" 00093 "dec_integer\n" 00094 " digit_dec .emit * .and .loop digit_dec .emit * .and .true .emit '\\0';\n" 00095 "space_or_null\n" 00096 " space .or '\\0';\n" 00097 "errortext_definition\n" 00098 " \".errtext\" .and space .and identifier .and space .and string .and space_or_null;\n" 00099 "string\n" 00100 " string_ne .error STRING_EXPECTED;\n" 00101 "string_ne\n" 00102 " '\"' .and .loop string_char_double_quotes .and '\"' .emit '\\0';\n" 00103 "string_char_double_quotes\n" 00104 " escape_sequence .or string_char .emit * .or '\\'' .emit *;\n" 00105 "string_char\n" 00106 " '\\x5D'-'\\xFF' .or '\\x28'-'\\x5B' .or '\\x23'-'\\x26' .or '\\x0E'-'\\x21' .or '\\x0B'-'\\x0C' .or\n" 00107 " '\\x01'-'\\x09';\n" 00108 "escape_sequence\n" 00109 " '\\\\' .emit * .and escape_code;\n" 00110 "escape_code\n" 00111 " simple_escape_code .emit * .or hex_escape_code .or oct_escape_code;\n" 00112 "simple_escape_code\n" 00113 " '\\'' .or '\"' .or '?' .or '\\\\' .or 'a' .or 'b' .or 'f' .or 'n' .or 'r' .or 't' .or 'v';\n" 00114 "hex_escape_code\n" 00115 " 'x' .emit * .and digit_hex .emit * .and .loop digit_hex .emit *;\n" 00116 "oct_escape_code\n" 00117 " digit_oct .emit * .and optional_digit_oct .and optional_digit_oct;\n" 00118 "digit_oct\n" 00119 " '0'-'7';\n" 00120 "optional_digit_oct\n" 00121 " digit_oct .emit * .or .true;\n" 00122 "regbyte_definition\n" 00123 " \".regbyte\" .and space .and identifier .and space .and integer .and space_or_null;\n" 00124 "lexer_definition\n" 00125 " \".string\" .and space .and identifier .and semicolon;\n" 00126 "rule_definition\n" 00127 " identifier_ne .and space .and definition;\n" 00128 "definition\n" 00129 " specifier .and optional_specifiers_and_or .and semicolon .emit SPECIFIER_END;\n" 00130 "optional_specifiers_and_or\n" 00131 " and_specifiers .emit SPECIFIER_AND_TAG .or or_specifiers .emit SPECIFIER_OR_TAG .or .true;\n" 00132 "specifier\n" 00133 " specifier_condition .and optional_space .and specifier_rule;\n" 00134 "specifier_condition\n" 00135 " specifier_condition_1 .or .true;\n" 00136 "specifier_condition_1\n" 00137 " \".if\" .and optional_space .and '(' .and optional_space .and left_operand .and operator .and\n" 00138 " right_operand .and optional_space .and ')';\n" 00139 "left_operand\n" 00140 " identifier;\n" 00141 "operator\n" 00142 " operator_1 .or operator_2;\n" 00143 "operator_1\n" 00144 " optional_space .and '!' .and '=' .and optional_space;\n" 00145 "operator_2\n" 00146 " optional_space .and '=' .and '=' .and optional_space;\n" 00147 "right_operand\n" 00148 " integer;\n" 00149 "specifier_rule\n" 00150 " specifier_rule_1 .and optional_error .and .loop emit .and .true .emit EMIT_NULL;\n" 00151 "specifier_rule_1\n" 00152 " character_range .emit SPECIFIER_CHARACTER_RANGE .or\n" 00153 " character .emit SPECIFIER_CHARACTER .or\n" 00154 " string_ne .emit SPECIFIER_STRING .or\n" 00155 " \".true\" .emit SPECIFIER_TRUE .or\n" 00156 " \".false\" .emit SPECIFIER_FALSE .or\n" 00157 " \".debug\" .emit SPECIFIER_DEBUG .or\n" 00158 " advanced_identifier .emit SPECIFIER_IDENTIFIER;\n" 00159 "character\n" 00160 " '\\'' .and string_char_single_quotes .and '\\'' .emit '\\0';\n" 00161 "string_char_single_quotes\n" 00162 " escape_sequence .or string_char .emit * .or '\"' .emit *;\n" 00163 "character_range\n" 00164 " character .and optional_space .and '-' .and optional_space .and character;\n" 00165 "advanced_identifier\n" 00166 " optional_loop .and identifier;\n" 00167 "optional_loop\n" 00168 " optional_loop_1 .emit IDENTIFIER_LOOP .or .true .emit IDENTIFIER_SIMPLE;\n" 00169 "optional_loop_1\n" 00170 " \".loop\" .and space;\n" 00171 "optional_error\n" 00172 " error .emit ERROR_PRESENT .or .true .emit ERROR_NOT_PRESENT;\n" 00173 "error\n" 00174 " space .and \".error\" .and space .and identifier;\n" 00175 "emit\n" 00176 " emit_output .or emit_regbyte;\n" 00177 "emit_output\n" 00178 " space .and \".emit\" .and space .and emit_param;\n" 00179 "emit_param\n" 00180 " integer_ne .emit EMIT_INTEGER .or\n" 00181 " identifier_ne .emit EMIT_IDENTIFIER .or\n" 00182 " character .emit EMIT_CHARACTER .or\n" 00183 " '*' .emit EMIT_LAST_CHARACTER .or\n" 00184 " '$' .emit EMIT_CURRENT_POSITION;\n" 00185 "emit_regbyte\n" 00186 " space .and \".load\" .and space .and identifier .and space .and emit_param;\n" 00187 "and_specifiers\n" 00188 " and_specifier .and .loop and_specifier;\n" 00189 "or_specifiers\n" 00190 " or_specifier .and .loop or_specifier;\n" 00191 "and_specifier\n" 00192 " space .and \".and\" .and space .and specifier;\n" 00193 "or_specifier\n" 00194 " space .and \".or\" .and space .and specifier;\n" 00195 ".string __string_filter;\n" 00196 "__string_filter\n" 00197 " __first_identifier_char .and .loop __next_identifier_char;\n" 00198 "__first_identifier_char\n" 00199 " 'a'-'z' .or 'A'-'Z' .or '_' .or '.';\n" 00200 "__next_identifier_char\n" 00201 " 'a'-'z' .or 'A'-'Z' .or '_' .or '0'-'9';\n" 00202 "" Generated on Thu May 24 2012 04:20:49 for ReactOS by
1.7.6.1
|