Home | Trees | Index | Help |
|
---|
Package Pyblio :: Package Format :: Module DSL |
|
Basic syntactic elements used to format a citation.
This module defines the base syntax elements providing the formatting domain specific language.Classes | |
---|---|
all |
|
Glue |
A base class that known how to join together multiple fragments of DSL code. |
i18n |
Translatable content. |
one |
|
switch |
The switch operator helps in bringing together multiple citation parts, according to the value of a Txo. |
_Join |
The join operator is used to join together multiple fragments of records: |
_Or |
|
_Proto |
Proto is a string subclass. |
_record_key |
|
_S1T |
This is a stage 1 text, ie a text that returns a stage 2 text when called. |
_Sum |
|
_SynTag |
This is a layout tag before its [] marker. |
_Tag |
This is a layout tag after its [] marker, but before the compilation. |
_Validated |
Base class for attribute accessors, providing some checks for stage 2. |
Function Summary | |
---|---|
join(middle,
last)
| |
Transform a simple function into a lazy function lifted in the formatting system. | |
Ensure the parameter is a stage 1 object. |
Variable Summary | |
---|---|
_Tag |
BR = DSL.Tag('br', children=[_S1T('')])
|
dict |
glob = {'all': <class 'Pyblio.Format.DSL.all'>, 'Span': ...
|
_record_key |
record_key = <Pyblio.Format.DSL._record_key object at 0x...
|
Function Details |
---|
lazy(fn)Transform a simple function into a lazy function lifted in the formatting system. This is only sugar : the initial function must be aware that every argument must be made strict by calling them before use. |
_deferredText(text)Ensure the parameter is a stage 1 object. |
Variable Details |
---|
BR
|
record_key
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Sep 24 23:52:43 2006 | http://epydoc.sf.net |