示例#1
0
 def __init__(self, name, sign, length, endian='!'):
     Token.__init__(self)
     assert endian in '@ = < > !'.split()
     self.name = name
     self.sign = sign
     self.__length = length
     self.endian = endian
示例#2
0
 def __init__(self, seqtype):
     Token.__init__(self)
     self.seqtype = seqtype
示例#3
0
 def __init__(self):
     Token.__init__(self)