📄 idl.pm
字号:
###################################################################### This file was generated using Parse::Yapp version 1.05.## Don't edit this file, use source file instead.## ANY CHANGE MADE HERE WILL BE LOST !#####################################################################package Parse::Pidl::IDL;use vars qw ( @ISA );use strict;@ISA= qw ( Parse::Yapp::Driver );use Parse::Yapp::Driver;sub new { my($class)=shift; ref($class) and $class=ref($class); my($self)=$class->SUPER::new( yyversion => '1.05', yystates =>[ {#State 0 DEFAULT => -1, GOTOS => { 'idl' => 1 } }, {#State 1 ACTIONS => { '' => 2, "cpp_quote" => 3, "importlib" => 4, "import" => 7, "include" => 13 }, DEFAULT => -91, GOTOS => { 'cpp_quote' => 11, 'importlib' => 10, 'interface' => 9, 'include' => 5, 'coclass' => 12, 'import' => 8, 'property_list' => 6 } }, {#State 2 DEFAULT => 0 }, {#State 3 ACTIONS => { "(" => 14 } }, {#State 4 ACTIONS => { 'TEXT' => 16 }, GOTOS => { 'commalist' => 15, 'text' => 17 } }, {#State 5 DEFAULT => -5 }, {#State 6 ACTIONS => { "coclass" => 18, "[" => 20, "interface" => 19 } }, {#State 7 ACTIONS => { 'TEXT' => 16 }, GOTOS => { 'commalist' => 21, 'text' => 17 } }, {#State 8 DEFAULT => -4 }, {#State 9 DEFAULT => -2 }, {#State 10 DEFAULT => -6 }, {#State 11 DEFAULT => -7 }, {#State 12 DEFAULT => -3 }, {#State 13 ACTIONS => { 'TEXT' => 16 }, GOTOS => { 'commalist' => 22, 'text' => 17 } }, {#State 14 ACTIONS => { 'TEXT' => 16 }, GOTOS => { 'text' => 23 } }, {#State 15 ACTIONS => { ";" => 24, "," => 25 } }, {#State 16 DEFAULT => -124 }, {#State 17 DEFAULT => -11 }, {#State 18 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 27 } }, {#State 19 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 28 } }, {#State 20 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 30, 'property' => 31, 'properties' => 29 } }, {#State 21 ACTIONS => { ";" => 32, "," => 25 } }, {#State 22 ACTIONS => { ";" => 33, "," => 25 } }, {#State 23 ACTIONS => { ")" => 34 } }, {#State 24 DEFAULT => -10 }, {#State 25 ACTIONS => { 'TEXT' => 16 }, GOTOS => { 'text' => 35 } }, {#State 26 DEFAULT => -120 }, {#State 27 ACTIONS => { "{" => 36 } }, {#State 28 ACTIONS => { "{" => 37 } }, {#State 29 ACTIONS => { "," => 38, "]" => 39 } }, {#State 30 ACTIONS => { "(" => 40 }, DEFAULT => -95 }, {#State 31 DEFAULT => -93 }, {#State 32 DEFAULT => -8 }, {#State 33 DEFAULT => -9 }, {#State 34 DEFAULT => -17 }, {#State 35 DEFAULT => -12 }, {#State 36 DEFAULT => -14, GOTOS => { 'interface_names' => 41 } }, {#State 37 ACTIONS => { "declare" => 49, "const" => 53 }, DEFAULT => -91, GOTOS => { 'typedecl' => 42, 'function' => 43, 'definitions' => 45, 'bitmap' => 44, 'definition' => 48, 'property_list' => 47, 'usertype' => 46, 'const' => 52, 'declare' => 51, 'struct' => 50, 'typedef' => 55, 'enum' => 54, 'union' => 56 } }, {#State 38 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 30, 'property' => 57 } }, {#State 39 DEFAULT => -92 }, {#State 40 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'text' => 63, 'listtext' => 59, 'anytext' => 58, 'constant' => 60 } }, {#State 41 ACTIONS => { "}" => 64, "interface" => 65 } }, {#State 42 DEFAULT => -24 }, {#State 43 DEFAULT => -20 }, {#State 44 DEFAULT => -39 }, {#State 45 ACTIONS => { "}" => 66, "declare" => 49, "const" => 53 }, DEFAULT => -91, GOTOS => { 'typedecl' => 42, 'function' => 43, 'bitmap' => 44, 'definition' => 67, 'property_list' => 47, 'usertype' => 46, 'const' => 52, 'struct' => 50, 'declare' => 51, 'typedef' => 55, 'enum' => 54, 'union' => 56 } }, {#State 46 ACTIONS => { ";" => 68 } }, {#State 47 ACTIONS => { "typedef" => 69, 'IDENTIFIER' => 26, "signed" => 77, "union" => 70, "enum" => 79, "bitmap" => 80, 'void' => 71, "unsigned" => 81, "[" => 20, "struct" => 76 }, GOTOS => { 'existingtype' => 78, 'bitmap' => 44, 'usertype' => 73, 'property_list' => 72, 'identifier' => 74, 'struct' => 50, 'enum' => 54, 'type' => 82, 'union' => 56, 'sign' => 75 } }, {#State 48 DEFAULT => -18 }, {#State 49 DEFAULT => -91, GOTOS => { 'decl_enum' => 84, 'decl_bitmap' => 85, 'decl_type' => 87, 'decl_union' => 86, 'property_list' => 83 } }, {#State 50 DEFAULT => -36 }, {#State 51 DEFAULT => -23 }, {#State 52 DEFAULT => -21 }, {#State 53 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 88 } }, {#State 54 DEFAULT => -38 }, {#State 55 DEFAULT => -22 }, {#State 56 DEFAULT => -37 }, {#State 57 DEFAULT => -94 }, {#State 58 ACTIONS => { "-" => 90, ":" => 89, "<" => 91, "+" => 93, "~" => 92, "*" => 94, "?" => 95, "{" => 96, "&" => 97, "/" => 98, "=" => 99, "(" => 100, "|" => 101, "." => 102, ">" => 103 }, DEFAULT => -97 }, {#State 59 ACTIONS => { "," => 104, ")" => 105 } }, {#State 60 DEFAULT => -103 }, {#State 61 DEFAULT => -123 }, {#State 62 DEFAULT => -102 }, {#State 63 DEFAULT => -104 }, {#State 64 ACTIONS => { ";" => 106 }, DEFAULT => -125, GOTOS => { 'optional_semicolon' => 107 } }, {#State 65 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 108 } }, {#State 66 ACTIONS => { ";" => 106 }, DEFAULT => -125, GOTOS => { 'optional_semicolon' => 109 } }, {#State 67 DEFAULT => -19 }, {#State 68 DEFAULT => -40 }, {#State 69 ACTIONS => { 'IDENTIFIER' => 26, "signed" => 77, 'void' => 71, "unsigned" => 81 }, DEFAULT => -91, GOTOS => { 'existingtype' => 78, 'bitmap' => 44, 'usertype' => 73, 'property_list' => 72, 'identifier' => 74, 'struct' => 50, 'enum' => 54, 'type' => 110, 'union' => 56, 'sign' => 75 } }, {#State 70 ACTIONS => { 'IDENTIFIER' => 111 }, DEFAULT => -122, GOTOS => { 'optional_identifier' => 112 } }, {#State 71 DEFAULT => -47 }, {#State 72 ACTIONS => { "union" => 70, "enum" => 79, "bitmap" => 80, "[" => 20, "struct" => 76 } }, {#State 73 DEFAULT => -45 }, {#State 74 DEFAULT => -44 }, {#State 75 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 113 } }, {#State 76 ACTIONS => { 'IDENTIFIER' => 111 }, DEFAULT => -122, GOTOS => { 'optional_identifier' => 114 } }, {#State 77 DEFAULT => -41 }, {#State 78 DEFAULT => -46 }, {#State 79 ACTIONS => { 'IDENTIFIER' => 111 }, DEFAULT => -122, GOTOS => { 'optional_identifier' => 115 } }, {#State 80 ACTIONS => { 'IDENTIFIER' => 111 }, DEFAULT => -122, GOTOS => { 'optional_identifier' => 116 } }, {#State 81 DEFAULT => -42 }, {#State 82 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 117 } }, {#State 83 ACTIONS => { "union" => 118, "enum" => 119, "bitmap" => 120, "[" => 20 } }, {#State 84 DEFAULT => -29 }, {#State 85 DEFAULT => -30 }, {#State 86 DEFAULT => -31 }, {#State 87 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 121 } }, {#State 88 DEFAULT => -80, GOTOS => { 'pointers' => 122 } }, {#State 89 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 123, 'text' => 63, 'constant' => 60 } }, {#State 90 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 124, 'text' => 63, 'constant' => 60 } }, {#State 91 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 125, 'text' => 63, 'constant' => 60 } }, {#State 92 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 126, 'text' => 63, 'constant' => 60 } }, {#State 93 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 127, 'text' => 63, 'constant' => 60 } }, {#State 94 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 128, 'text' => 63, 'constant' => 60 } }, {#State 95 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 129, 'text' => 63, 'constant' => 60 } }, {#State 96 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 130, 'text' => 63, 'constant' => 60, 'commalisttext' => 131 } }, {#State 97 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 132, 'text' => 63, 'constant' => 60 } }, {#State 98 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 133, 'text' => 63, 'constant' => 60 } }, {#State 99 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 134, 'text' => 63, 'constant' => 60 } }, {#State 100 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 130, 'text' => 63, 'constant' => 60, 'commalisttext' => 135 } }, {#State 101 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 136, 'text' => 63, 'constant' => 60 } }, {#State 102 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 137, 'text' => 63, 'constant' => 60 } }, {#State 103 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 138, 'text' => 63, 'constant' => 60 } }, {#State 104 ACTIONS => { 'CONSTANT' => 61, 'TEXT' => 16, 'IDENTIFIER' => 26 }, DEFAULT => -101, GOTOS => { 'identifier' => 62, 'anytext' => 139, 'text' => 63, 'constant' => 60 } }, {#State 105 DEFAULT => -96 }, {#State 106 DEFAULT => -126 }, {#State 107 DEFAULT => -13 }, {#State 108 ACTIONS => { ";" => 140 } }, {#State 109 DEFAULT => -16 }, {#State 110 ACTIONS => { 'IDENTIFIER' => 26 }, GOTOS => { 'identifier' => 141 } }, {#State 111 DEFAULT => -121 }, {#State 112 ACTIONS => { "{" => 143 }, DEFAULT => -76, GOTOS => { 'union_body' => 144, 'opt_union_body' => 142 } }, {#State 113 DEFAULT => -43 }, {#State 114 ACTIONS => { "{" => 146 }, DEFAULT => -66, GOTOS => { 'struct_body' => 145, 'opt_struct_body' => 147 } }, {#State 115 ACTIONS => { "{" => 148 }, DEFAULT => -49, GOTOS => { 'opt_enum_body' => 150, 'enum_body' => 149 } }, {#State 116 ACTIONS => { "{" => 152 }, DEFAULT => -57, GOTOS => { 'bitmap_body' => 153, 'opt_bitmap_body' => 151 } }, {#State 117 ACTIONS => { "(" => 154 } },
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -