Home | Trees | Indices | Help |
|
---|
|
Classes and methods to support vizier-type specifications on fields.
Classes | |
ParseNode is a parse node, consisting of an operator and children. |
|
NumericNode A node containing numeric operands (floats or dates). |
|
DateNode A node containing date operands (datetime objects, as a rule). |
|
MJDNode | |
StringNode A node containing string operands. |
|
ToVexprConverter |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
floatLiteral = Re:('[+-]?(?:\\d+\\.?\\d*|\\.\\d+)(?:[eE][+-]?\
|
|
__package__ =
|
Function Details |
returns the root element of a grammar parsing numeric vizier-like expressions. This is used for both dates and floats, use baseLiteral to match the operand terminal. The trouble with dates is that the +/- operator has a simple float as the second operand, and that's why you can pass in an errorLiteral and and pmBuilder. |
returns a datetime from a date/time spec. This can be an ISO string or a julian year, JD, or MJD by heuristics (see DateNode for details). |
returns a parse tree for vizier-like expressions over ISO dates. Note that the semantic validity of the date (like, month<13) is not checked by the grammar. |
returns a placeholder string for a possibly open interval. *_val may be None, formatter has to accept a non-None value and return the proper representation for the placeholder string. If no placeholder can be generated, this function returns None. |
returns a placeholder (suggested input) for inputKey, where values is the original values element. This will currently be None unless we do a numeric input. |
returns ik changed to generate SQL for Vizier-like expressions. This is used for buildFrom on CondDescs and renderers having parameterStyle form. |
Variables Details |
floatLiteral
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |