Package pyxb :: Package binding :: Module generate
[hide private]
[frames] | no frames]

Module generate

source code

The really ugly code that generates the Python bindings. This whole thing is going to be refactored once customized generation makes it to the top of the task queue.

Classes [hide private]
  ReferenceLiteral
Base class for something that requires fairly complex activity in order to generate its literal value.
  ReferenceFacetMember
  ReferenceWildcard
  ReferenceSchemaComponent
  ReferenceNamespace
  ReferenceExpandedName
  ReferenceFacet
  ReferenceEnumerationMember
  BindingIO
  _ModuleNaming_mixin
  NamespaceModule
This class represents a Python module that holds all the declarations belonging to a specific namespace.
  NamespaceGroupModule
This class represents a Python module that holds all the declarations belonging to a set of namespaces which have interdependencies.
  Generator
Configuration and data for a single binding-generation action.
Functions [hide private]
 
PrefixModule(value, text=None) source code
 
pythonLiteral(value, **kw) source code
 
GenerateContentTerm(ctd, term, binding_module, **kw) source code
 
GenerateContentParticle(ctd, particle, binding_module, **kw) source code
 
_useEnumerationTags(td) source code
 
GenerateFacets(td, generator, **kw) source code
 
GenerateSTD(std, generator) source code
 
elementDeclarationMap(ed, binding_module, **kw) source code
 
GenerateCTD(ctd, generator, **kw) source code
 
GenerateED(ed, generator, **kw) source code
 
_PrepareSimpleTypeDefinition(std, generator, nsm, module_context) source code
 
_PrepareComplexTypeDefinition(ctd, generator, nsm, module_context) source code
 
_SetNameWithAccessors(component, container, is_plural, binding_module, nsm, kw) source code
 
GeneratePython(schema_location=None, schema_text=None, namespace=None, module_prefix_elts=[], **kw) source code
Variables [hide private]
  UniqueInBinding = set(['CreateFromDOM', 'CreateFromDocument', ...
  __package__ = 'pyxb.binding'
Variables Details [hide private]

UniqueInBinding

Value:
set(['CreateFromDOM',
     'CreateFromDocument',
     'ModuleRecord',
     'Namespace',
     'pyxb',
     'sys'])