Package ZenEvents :: Module WhereClause
[show private | hide private]
[frames | no frames]

Module ZenEvents.WhereClause

Classes
Compare Convert to/from javascript and where clause elements for numeric comparisons
DeviceGroup  
Enumerated Convert to/from javascript and where clause elements for enumerated types
Select Convert to/from javascript and where clause element for select entries
Text Convert to/from javascript for text entries
WhereJavaScript Base class for converting to/from javascript
_Parser  

Exceptions
Error  

Function Summary
  fromFormVariables(meta, form)
  q(s)
  toJavaScript(meta, clause)

Variable Summary
_Parser where = <ZenEvents.WhereClause._Parser instance at 0x39f...
str _Definitions = '\ndef u(s):\n    # turn string "\'fo\'\'...
str _ParseSpec = '\nparser WhereClause:\n    ignore:    "[ \...

Variable Details

where

Type:
_Parser
Value:
<ZenEvents.WhereClause._Parser instance at 0x39f9f30>                  

_Definitions

Type:
str
Value:
'''
def u(s):
    # turn string "\'fo\'\'o\'" -> "fo\'o"
    c = s[0]
    s = c.join(s.split(c+c))
    return s[1:-1]

'''                                                                    

_ParseSpec

Type:
str
Value:
'''
parser WhereClause:
    ignore:    "[ \\r\\t\
]+"
    token END: "$"
    token NUM: "[0-9]+"
    token VAR: "[a-zA-Z0-9_]+"
    token BIN: ">=|<=|==|=|<|>|!=|<>"
...                                                                    

Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 http://epydoc.sf.net