Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes | Static Public Attributes
xpidl.Typedef Class Reference

List of all members.

Public Member Functions

def __init__
def __eq__
def resolve
def isScriptable
def nativeType
def __str__

Public Attributes

 type
 name
 location
 doccomments
 realtype

Static Public Attributes

string kind = 'typedef'

Detailed Description

Definition at line 348 of file xpidl.py.


Constructor & Destructor Documentation

def xpidl.Typedef.__init__ (   self,
  type,
  name,
  location,
  doccomments 
)

Definition at line 351 of file xpidl.py.

00351 
00352     def __init__(self, type, name, location, doccomments):
00353         self.type = type
00354         self.name = name
00355         self.location = location
00356         self.doccomments = doccomments


Member Function Documentation

def xpidl.Typedef.__eq__ (   self,
  other 
)

Definition at line 357 of file xpidl.py.

00357 
00358     def __eq__(self, other):
00359         return self.name == other.name and self.type == other.type

def xpidl.Typedef.__str__ (   self)

Definition at line 371 of file xpidl.py.

00371 
00372     def __str__(self):
00373         return "typedef %s %s\n" % (self.type, self.name)

Definition at line 364 of file xpidl.py.

00364 
00365     def isScriptable(self):
00366         return self.realtype.isScriptable()

def xpidl.Typedef.nativeType (   self,
  calltype 
)

Definition at line 367 of file xpidl.py.

00367 
00368     def nativeType(self, calltype):
00369         return "%s %s" % (self.name,
00370                           calltype != 'in' and '*' or '')

def xpidl.Typedef.resolve (   self,
  parent 
)

Definition at line 360 of file xpidl.py.

00360 
00361     def resolve(self, parent):
00362         parent.setName(self)
00363         self.realtype = parent.getName(self.type, self.location)


Member Data Documentation

Definition at line 355 of file xpidl.py.

string xpidl.Typedef.kind = 'typedef' [static]

Definition at line 349 of file xpidl.py.

Definition at line 354 of file xpidl.py.

Definition at line 353 of file xpidl.py.

Definition at line 362 of file xpidl.py.

Definition at line 352 of file xpidl.py.


The documentation for this class was generated from the following file: