module Synopsis.Parsers.IDL.idlast
class Union
Union-inheritance Scopes/Synopsis/Parsers/IDL/idlast/Decl.html Scopes/Synopsis/Parsers/IDL/idlast/DeclRepoId.html
Union declaration (Decl, DeclRepoId) Functions: switchType() -- IdlType.Type object corresponding to the switch type. constrType() -- boolean: true if the switch type was declared within the switch statement. Only possible for Enums. cases() -- list of UnionCase objects. recursive() -- boolean: true if the union is recursive.
Protected Methods Summary:
  _setCases(self, cases)
references
source code
Attributes Summary:
source code
source code
source code
Methods Summary:
  __init__(self, file, line, mainFile, pragmas, comments, identifier, scopedName, repoId, switchType, constrType, recursive)
references
source code
  accept(self, visitor)
references
source code
  switchType(self)
references
source code
  constrType(self)
references
source code
  cases(self)
references
source code
  recursive(self)
references
source code
Attributes Inherited from Decl
__file, __line, __mainFile, __builtIn, __pragmas, __comments
Methods Inherited from Decl
file, line, mainFile, builtIn, pragmas, comments, fullDecl
Attributes Inherited from DeclRepoId
__identifier, __scopedName, __repoId
Methods Inherited from DeclRepoId
identifier, scopedName, repoId