Compound elements reference

This section describes the following element classes:

  • Compound – single compound element parsed from string specification.
  • Choice – mapping of multiple compound elements which will return their associated values.

Compound class

class dragonfly.grammar.elements_compound.Compound(spec, extras={}, actions={}, name=None, value=None, elements={})

Choice class

class dragonfly.grammar.elements_compound.Choice(name, choices)

Table Of Contents

Previous topic

Grammar classes reference

This Page

Quick search