Class: Protobuf::ProtoParser
- Inherits:
-
Racc::Parser
- Object
- Racc::Parser
- Protobuf::ProtoParser
- Defined in:
- lib/protobuf/compiler/proto_parser.rb
Constant Summary collapse
- Racc_arg =
[ racc_action_table, racc_action_check, racc_action_default, racc_action_pointer, racc_goto_table, racc_goto_check, racc_goto_default, racc_goto_pointer, racc_nt_base, racc_reduce_table, racc_token_table, racc_shift_n, racc_reduce_n, racc_use_result_var ]
- Racc_token_to_s_table =
[ '$end', 'error', '";"', '"import"', 'STRING_LITERAL', '"package"', 'IDENT', '"."', '"option"', '"="', '"message"', '"extend"', '"{"', '"}"', '"enum"', '"service"', '"rpc"', '"("', '")"', '"returns"', '"group"', 'CAMEL_IDENT', '"["', '"]"', '"required"', '"optional"', '"repeated"', '"default"', '"extensions"', '"to"', '"max"', '"double"', '"float"', '"int32"', '"int64"', '"uint32"', '"uint64"', '"sint32"', '"sint64"', '"fixed32"', '"fixed64"', '"sfixed32"', '"sfixed64"', '"bool"', '"string"', '"bytes"', '","', 'FLOAT_LITERAL', 'BOOLEAN_LITERAL', 'DEC_INTEGER', 'HEX_INTEGER', 'OCT_INTEGER', '$start', 'proto', 'proto_item', 'message', 'extend', 'enum', 'import', 'package', 'option', 'service', 'dot_ident_list', 'option_body', 'constant', 'message_body', 'user_type', 'extend_body_list', 'extend_body', 'field', 'group', 'enum_body_list', 'enum_body', 'enum_field', 'integer_literal', 'service_body_list', 'service_body', 'rpc', 'rpc_arg', 'message_body_body_list', 'message_body_body', 'extensions', 'label', 'type', 'field_name', 'field_option_list', 'field_option', 'extension', 'comma_extension_list']
- Racc_debug_parser =
false
Instance Method Summary collapse
-
#_reduce_none(val, _values, result) ⇒ Object
reduce 125 omitted.
Instance Method Details
#_reduce_none(val, _values, result) ⇒ Object
reduce 125 omitted
1393 1394 1395 |
# File 'lib/protobuf/compiler/proto_parser.rb', line 1393 def _reduce_none( val, _values, result ) result end |