Module Expr Str ImportFrom alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Print BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Import alias Import alias Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str Str ListLoad ListLoad ListLoad Str ListLoad ListLoad Str ListLoad Str ListLoad Str FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call NameLoad Call AttributeLoad NameLoad attr Str orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad TupleLoad Str Str body AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr Str Str decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults BinOpAdd BinOpAdd Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Return BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Str Call NameLoad BinOpAdd Str AttributeLoad NameLoad attr orelse Return Call NameLoad BinOpAdd Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad Str Print BinOpAdd NameLoad Str Print BinOpAdd NameLoad BinOpMod Str NameLoad Print BinOpAdd NameLoad Str Print BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Print BinOpAdd NameLoad Str Print BinOpAdd NameLoad Str Print BinOpAdd NameLoad Str orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad Print BinOpAdd NameLoad Str orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad Print BinOpAdd NameLoad Str orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad Print BinOpAdd NameLoad Str orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad Print BinOpAdd NameLoad Str orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad Print BinOpAdd NameLoad Str orelse If CompareEq NameLoad Str body Raise Call NameLoad Str orelse If CompareEq NameLoad Str body Print Call NameLoad BinOpAdd NameLoad BinOpMod Str NameLoad orelse Raise Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Print BinOpAdd NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Print BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Print BinOpAdd NameLoad Str Print BinOpAdd NameLoad Str orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Print BinOpAdd NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Raise Call NameLoad Str orelse If CompareEq NameLoad Str body Print Call NameLoad BinOpAdd NameLoad BinOpMod Str NameLoad orelse Raise Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body If CompareIs NameLoad NameLoad body Assign NameStore Num If CompareGtE NameLoad Num body Assign NameStore Num If UnaryOpNot NameLoad body Print Str Print Str Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num orelse Assign NameStore NameLoad Expr Call NameLoad Str BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Str Print Str decorator_list FunctionDef arguments args NameParam defaults body Print Str Print Str Print Str Print Str Print Str Print Str Print Str Print Str Print Str Print Str For NameStore AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad orelse Print BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Str BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Str Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Print Str Print Str decorator_list FunctionDef arguments args NameParam defaults body Print Str Print Str Assign NameStore NameLoad FunctionDef arguments args defaults body If CompareIsNot NameLoad NameLoad body Print Str decorator_list For NameStore AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body If CompareIs NameLoad NameLoad body Assign NameStore Num Print Str If CompareGtE NameLoad Num body Expr Call NameLoad Print Str Assign NameStore Num Print BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Print BinOpMod Str NameLoad AugAssignAdd NameStore Num orelse Expr Call NameLoad Assign NameStore NameLoad Expr Call NameLoad Str BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Print Str Print Str decorator_list FunctionDef arguments args NameParam defaults body Print Str Print Str Print Str For NameStore AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad orelse Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Str BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Str Print Str Print Str Print Str Print Str Print Str Print Str Print Str Print Str Print Str Print Str Print Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Return Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad orelse Return BinOpMod Str TupleLoad NameLoad decorator_list Print Str Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print BinOpMod Str AttributeLoad NameLoad attr Print Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Num Str Assign NameStore Dict For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad For NameStore Call NameLoad Call AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Print Str For NameStore Call AttributeLoad NameLoad attr body Print Str Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Print Str Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr Print Str For NameStore Call AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Print Str Assign NameStore BinOpBitOr BinOpLShift AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Print BinOpMod Str Call NameLoad Call AttributeLoad NameLoad attr Print Str Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Print Call NameLoad Str AttributeLoad NameLoad attr Print Str Print Str Print BinOpMod Str AttributeLoad NameLoad attr Print Str Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Print Str Print BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Print Str Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print BinOpMod Str Call NameLoad Call AttributeLoad NameLoad attr Print Str Assign NameStore Num If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If CompareEq BinOpMod NameLoad Num Num body AugAssignAdd NameStore Num Assign NameStore BinOpDiv NameLoad Num Assign NameStore BinOpSub Num BinOpMod NameLoad Num Assign NameStore BinOpAdd BinOpMult NameLoad Num NameLoad Print BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Num Print Str Print BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Print Call NameLoad Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Print Str Print Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad BinOpBitOr BinOpLShift AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Print Str Print Str Print Str Print Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Str Print Str Print Str Print Str Print Str For NameStore Call AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Print BinOpMod Str Call AttributeLoad NameLoad attr Print Str decorator_list If CompareEq NameLoad Str body With Call NameLoad NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad ListLoad BinOpMod Str NameLoad
N/A N/A 
codegen.py generates pika/spec.py

 __future__ nested_scopes N/A os N/A sys N/A RABBITMQ_PUBLIC_UMBRELLA ../../rabbitmq-public-umbrella N/A RABBITMQ_CODEGEN rabbitmq-codegen N/A PIKA_SPEC ../pika/spec.py N/A CODEGEN_PATH N/A N/A N/A os path realpath N/A %s/%s N/A RABBITMQ_PUBLIC_UMBRELLA RABBITMQ_CODEGEN N/A N/A codegen-path: %s CODEGEN_PATH N/A N/A N/A N/A sys path append CODEGEN_PATH N/A amqp_codegen N/A re N/A DRIVER_METHODS N/A Exchange.Bind Exchange.Unbind Exchange.Declare Exchange.Delete Queue.Declare Queue.Bind Queue.Purge Queue.Delete Queue.Unbind Basic.Qos Basic.Get Basic.Ack Basic.Reject Basic.Recover Basic.RecoverAsync Tx.Select Tx.Commit Tx.Rollback N/A Exchange.BindOk N/A Exchange.UnbindOk N/A Exchange.DeclareOk N/A Exchange.DeleteOk N/A Queue.DeclareOk N/A Queue.BindOk N/A Queue.PurgeOk N/A Queue.DeleteOk N/A Queue.UnbindOk N/A Basic.QosOk N/A Basic.GetOk Basic.GetEmpty N/A N/A N/A Basic.RecoverOk N/A N/A Tx.SelectOk N/A Tx.CommitOk N/A Tx.RollbackOk fieldvalue N/A N/A v N/A N/A N/A N/A isinstance v unicode N/A N/A N/A repr N/A N/A v encode ascii N/A N/A N/A repr v N/A normalize_separators N/A N/A s N/A N/A N/A s N/A N/A s replace - _ N/A s N/A N/A s replace _ N/A s N/A pyize N/A N/A s N/A N/A N/A s N/A normalize_separators s N/A N/A s N/A global class N/A N/A s _ N/A s N/A camel N/A N/A s N/A N/A N/A N/A N/A N/A N/A N/A normalize_separators s title replace _ N/A N/A N/A N/A amqp_codegen AmqpMethod structName N/A N/A N/A m N/A N/A N/A N/A camel N/A N/A m klass name . N/A camel N/A m name N/A N/A N/A amqp_codegen AmqpClass structName N/A N/A N/A c N/A N/A N/A camel N/A c name Properties constantName N/A N/A s N/A N/A N/A N/A N/A _ join N/A N/A re split [- ] N/A N/A s upper N/A flagName N/A N/A c f N/A N/A N/A c N/A N/A N/A N/A N/A N/A c structName . N/A constantName N/A flag_ N/A f name N/A N/A N/A constantName N/A flag_ N/A f name N/A generate N/A N/A specPath N/A N/A N/A spec N/A N/A amqp_codegen AmqpSpec specPath genSingleDecode N/A N/A prefix cLvalue unresolved_domain N/A N/A N/A type N/A N/A spec resolveDomain unresolved_domain N/A N/A type shortstr N/A N/A N/A prefix N/A %s, offset = data.decode_short_string(encoded, offset) cLvalue N/A N/A N/A type longstr N/A N/A N/A prefix length = struct.unpack_from('>I', encoded, offset)[0] N/A N/A prefix offset += 4 N/A N/A prefix N/A %s = encoded[offset:offset + length] cLvalue N/A N/A prefix try: N/A N/A prefix N/A     %s = str(%s) N/A cLvalue cLvalue N/A N/A prefix except UnicodeEncodeError: N/A N/A prefix     pass N/A N/A prefix offset += length N/A N/A N/A type octet N/A N/A N/A prefix N/A %s = struct.unpack_from('B', encoded, offset)[0] cLvalue N/A N/A prefix offset += 1 N/A N/A N/A type short N/A N/A N/A prefix N/A %s = struct.unpack_from('>H', encoded, offset)[0] cLvalue N/A N/A prefix offset += 2 N/A N/A N/A type long N/A N/A N/A prefix N/A %s = struct.unpack_from('>I', encoded, offset)[0] cLvalue N/A N/A prefix offset += 4 N/A N/A N/A type longlong N/A N/A N/A prefix N/A %s = struct.unpack_from('>Q', encoded, offset)[0] cLvalue N/A N/A prefix offset += 8 N/A N/A N/A type timestamp N/A N/A N/A prefix N/A %s = struct.unpack_from('>Q', encoded, offset)[0] cLvalue N/A N/A prefix offset += 8 N/A N/A N/A type bit N/A N/A N/A Exception Can't decode bit in genSingleDecode N/A N/A N/A type table N/A N/A N/A Exception N/A prefix N/A (%s, offset) = data.decode_table(encoded, offset) cLvalue N/A N/A N/A Exception Illegal domain in genSingleDecode type N/A genSingleEncode N/A N/A prefix cValue unresolved_domain N/A N/A N/A type N/A N/A spec resolveDomain unresolved_domain N/A N/A type shortstr N/A N/A N/A prefix N/A assert isinstance(%s, str_or_bytes),\
%s       'A non-string value was supplied for %s' N/A cValue prefix cValue N/A N/A prefix N/A data.encode_short_string(pieces, %s) cValue N/A N/A N/A type longstr N/A N/A N/A prefix N/A assert isinstance(%s, str_or_bytes),\
%s       'A non-string value was supplied for %s' N/A cValue prefix cValue N/A N/A prefix N/A value = %s.encode('utf-8') if isinstance(%s, unicode_type) else %s N/A cValue cValue cValue N/A N/A prefix pieces.append(struct.pack('>I', len(value))) N/A N/A prefix pieces.append(value) N/A N/A N/A type octet N/A N/A N/A prefix N/A pieces.append(struct.pack('B', %s)) cValue N/A N/A N/A type short N/A N/A N/A prefix N/A pieces.append(struct.pack('>H', %s)) cValue N/A N/A N/A type long N/A N/A N/A prefix N/A pieces.append(struct.pack('>I', %s)) cValue N/A N/A N/A type longlong N/A N/A N/A prefix N/A pieces.append(struct.pack('>Q', %s)) cValue N/A N/A N/A type timestamp N/A N/A N/A prefix N/A pieces.append(struct.pack('>Q', %s)) cValue N/A N/A N/A type bit N/A N/A N/A Exception Can't encode bit in genSingleEncode N/A N/A N/A type table N/A N/A N/A Exception N/A prefix N/A data.encode_table(pieces, %s) cValue N/A N/A N/A Exception Illegal domain in genSingleEncode type N/A genDecodeMethodFields N/A N/A m N/A N/A N/A         def decode(self, encoded, offset=0): N/A bitindex None N/A f N/A m arguments N/A N/A N/A N/A N/A spec resolveDomain N/A f domain bit N/A N/A N/A bitindex None N/A N/A bitindex 0 N/A N/A bitindex 8 N/A N/A bitindex 0 N/A N/A bitindex N/A N/A             bit_buffer = struct.unpack_from('B', encoded, offset)[0] N/A             offset += 1 N/A N/A             self.%s = (bit_buffer & (1 << %d)) != 0 N/A N/A pyize N/A f name bitindex N/A bitindex 1 N/A N/A bitindex None N/A N/A genSingleDecode N/A self.%s N/A N/A pyize N/A f name N/A f domain N/A             return self N/A N/A genDecodeProperties N/A N/A c N/A N/A N/A     def decode(self, encoded, offset=0): N/A         flags = 0 N/A         flagword_index = 0 N/A         while True: N/A             partial_flags = struct.unpack_from('>H', encoded, offset)[0] N/A             offset += 2 N/A             flags = flags | (partial_flags << (flagword_index * 16)) N/A             if not (partial_flags & 1): N/A                 break N/A             flagword_index += 1 N/A f N/A c fields N/A N/A N/A N/A N/A spec resolveDomain N/A f domain bit N/A N/A N/A         self.%s = (flags & %s) != 0 N/A N/A pyize N/A f name N/A flagName c f N/A N/A N/A         if flags & %s: N/A N/A flagName c f N/A N/A genSingleDecode N/A self.%s N/A N/A pyize N/A f name N/A f domain N/A         else: N/A N/A             self.%s = None N/A N/A pyize N/A f name N/A         return self N/A N/A genEncodeMethodFields N/A N/A m N/A N/A N/A         def encode(self): N/A             pieces = list() N/A bitindex None finishBits N/A N/A N/A N/A N/A N/A bitindex None N/A N/A             pieces.append(struct.pack('B', bit_buffer)) N/A N/A f N/A m arguments N/A N/A N/A N/A N/A spec resolveDomain N/A f domain bit N/A N/A N/A bitindex None N/A N/A bitindex 0 N/A             bit_buffer = 0 N/A N/A bitindex 8 N/A N/A N/A finishBits N/A             bit_buffer = 0 N/A bitindex 0 N/A N/A             if self.%s: N/A pyize N/A f name N/A N/A                 bit_buffer = bit_buffer | (1 << %d) bitindex N/A bitindex 1 N/A N/A N/A finishBits N/A bitindex None N/A N/A genSingleEncode N/A self.%s N/A N/A pyize N/A f name N/A f domain N/A N/A finishBits N/A             return pieces N/A N/A genEncodeProperties N/A N/A c N/A N/A N/A     def encode(self): N/A         pieces = list() N/A         flags = 0 N/A f N/A c fields N/A N/A N/A N/A N/A spec resolveDomain N/A f domain bit N/A N/A N/A         if self.%s: flags = flags | %s N/A N/A pyize N/A f name N/A flagName c f N/A N/A N/A         if self.%s is not None: N/A N/A pyize N/A f name N/A N/A             flags = flags | %s N/A N/A flagName c f N/A N/A genSingleEncode N/A self.%s N/A N/A pyize N/A f name N/A f domain N/A         flag_pieces = list() N/A         while True: N/A             remainder = flags >> 16 N/A             partial_flags = flags & 0xFFFE N/A             if remainder != 0: N/A                 partial_flags |= 1 N/A             flag_pieces.append(struct.pack('>H', partial_flags)) N/A             flags = remainder N/A             if not flags: N/A                 break N/A         return flag_pieces + pieces N/A N/A fieldDeclList N/A N/A fields N/A N/A N/A N/A N/A join N/A N/A , %s=%s N/A N/A pyize N/A f name N/A fieldvalue N/A f defaultvalue N/A f fields N/A fieldInitList N/A N/A prefix fields N/A N/A N/A fields N/A N/A N/A N/A join N/A N/A %sself.%s = %s
 N/A prefix N/A pyize N/A f name N/A pyize N/A f name N/A f fields N/A N/A N/A %spass
 N/A prefix N/A N/A """
AMQP Specification
==================
This module implements the constants and classes that comprise AMQP protocol
level constructs. It should rarely be directly referenced outside of Pika's
own internal use.

.. note:: Auto-generated code by codegen.py, do not edit directly. Pull
requests to this file without accompanying ``utils/codegen.py`` changes will be
rejected.

"""

import struct
from pika import amqp_object
from pika import data
from pika.compat import str_or_bytes, unicode_type

# Python 3 support for str object
str = bytes
 N/A N/A PROTOCOL_VERSION = (%d, %d, %d) N/A N/A spec major N/A spec minor N/A spec revision N/A N/A PORT = %d N/A spec port N/A N/A N/A N/A N/A spec constants append N/A FRAME_MAX_SIZE 131072 N/A N/A N/A N/A spec constants append N/A FRAME_HEADER_SIZE 7 N/A N/A N/A N/A spec constants append N/A FRAME_END_SIZE 1 N/A constants N/A N/A N/A c v cls N/A spec constants N/A N/A N/A constants N/A N/A constantName c v N/A key N/A sorted N/A N/A constants keys N/A N/A N/A %s = %s N/A key N/A constants N/A key N/A N/A c N/A N/A spec allClasses N/A N/A N/A N/A class %s(amqp_object.Class): N/A N/A camel N/A c name N/A N/A N/A     INDEX = 0x%.04X  # %d N/A N/A c index N/A c index N/A N/A     NAME = %s N/A N/A fieldvalue N/A camel N/A c name N/A N/A m N/A N/A c allMethods N/A N/A N/A     class %s(amqp_object.Method): N/A N/A camel N/A m name N/A N/A methodid N/A N/A N/A N/A m klass index 16 N/A m index N/A N/A         INDEX = 0x%.08X  # %d, %d; %d N/A methodid N/A N/A m klass index N/A m index methodid N/A N/A         NAME = %s N/A fieldvalue N/A N/A m structName N/A N/A N/A         def __init__(self%s): N/A N/A fieldDeclList N/A m arguments N/A N/A fieldInitList N/A m arguments N/A         @property N/A         def synchronous(self): N/A N/A             return %s N/A m isSynchronous N/A N/A N/A genDecodeMethodFields m N/A N/A genEncodeMethodFields m N/A c N/A N/A spec allClasses N/A N/A N/A c fields N/A N/A N/A N/A class %s(amqp_object.Properties): N/A N/A N/A c structName N/A N/A N/A     CLASS = %s N/A N/A camel N/A c name N/A N/A     INDEX = 0x%.04X  # %d N/A N/A c index N/A c index N/A N/A     NAME = %s N/A fieldvalue N/A N/A c structName N/A N/A index 0 N/A N/A c fields N/A N/A f N/A c fields N/A N/A N/A N/A index 16 15 N/A N/A index 1 N/A shortnum N/A index 16 N/A partialindex N/A 15 N/A index 16 N/A bitindex N/A N/A shortnum 16 partialindex N/A N/A     %s = (1 << %d) N/A N/A flagName None f bitindex N/A index 1 N/A N/A N/A     def __init__(self%s): N/A N/A fieldDeclList N/A c fields N/A N/A fieldInitList N/A c fields N/A N/A genDecodeProperties c N/A N/A genEncodeProperties c N/A methods = { N/A N/A N/A ,
 join N/A N/A     0x%08X: %s N/A N/A N/A N/A N/A m klass index 16 N/A m index N/A N/A m structName N/A m N/A N/A spec allMethods N/A } N/A N/A props = { N/A N/A N/A ,
 join N/A N/A     0x%04X: %s N/A N/A c index N/A N/A c structName N/A c N/A N/A spec allClasses N/A c fields N/A } N/A N/A N/A def has_content(methodNumber): N/A     return methodNumber in ( N/A m N/A N/A spec allMethods N/A N/A N/A m hasContent N/A N/A N/A         %s.INDEX, N/A N/A m structName N/A     ) N/A N/A N/A __name__ __main__ N/A N/A N/A open PIKA_SPEC w handle N/A N/A N/A sys stdout handle N/A N/A generate N/A N/A %s/amqp-rabbitmq-0.9.1.json CODEGEN_PATH