Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package Cheetah :: Module Parser |
|
Parser classes for Cheetah's Compiler Classes: ParseError( Exception ) _LowLevelSemanticsParser( Lexer ) _HighLevelSemanticsParser( _LowLevelSemanticsParser ) Parser === _HighLevelSemanticsParser (an alias) where: Lexer === Cheetah.Lexer.Lexer( Cheetah.SettingsManager.SettingsManager, Cheetah.SourceReader.SourceReader ) Meta-Data ================================================================================ Author: Tavis Rudd <tavis@damnsimple.com> Version: $Revision: 1.1 $ Start Date: 2001/08/01 Last Revision Date: $Date: 2003/08/12 09:17:11 $
Classes | |
---|---|
ArgList |
Used by _LowLevelSemanticsParser.getArgList()... |
Exceptions | |
---|---|
ParseError |
Function Summary | |
---|---|
any(*choices)
| |
Return a txt with all special regular expressions chars escaped. | |
group(*choices)
| |
makeTripleQuoteRe(start,
end)
| |
maybe(*choices)
| |
namedGroup(name,
*choices)
| |
nongroup(*choices)
|
Variable Summary | |
---|---|
str |
__author__ = 'Tavis Rudd <tavis@damnsimple.com>'
|
str |
__revision__ = '1.1'
|
tuple |
assignmentOps = ('=', '+=', '-=', '/=', '*=', '**=', '^=...
|
str |
assignOp = '='
|
tuple |
augAssignOps = ('+=', '-=', '/=', '*=', '**=', '^=', '%=...
|
tuple |
binaryArithOps = ('+', '-', '/', '//', '%')
|
tuple |
bitwiseOps = ('&', '|', '^')
|
tuple |
booleanOps = ('and', 'or', 'not')
|
dict |
closurePairs = {')': '(', '}': '{', ']': '['}
|
dict |
closurePairsRev = {'(': ')', '[': ']', '{': '}'}
|
tuple |
compOps = ('<', '>', '==', '!=', '<=', '>=', '<>', 'is',...
|
tuple |
delimeters = ('(', ')', '{', '}', '[', ']', ',', '.', ':...
|
str |
double3 = '"""'
|
str |
EOL = '\\r\\n|\\n|\\r'
|
SRE_Pattern |
EOLre = (?:\r\n|\r|\n)
|
str |
EOLZ = '\\r\\n|\\n|\\r|\\Z'
|
str |
escCharLookBehind = '(?:(?<=\\A)|(?<!\\\\))'
|
str |
identchars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP...
|
tuple |
keywords = ('and', 'del', 'for', 'is', 'raise', 'assert'...
|
str |
nameCharLookAhead = '(?=[A-Za-z_])'
|
str |
namechars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQ...
|
int |
NO_CACHE = 0 |
tuple |
operators = ('**', '+', '-', '~', '+', '-', '/', '//', '...
|
str |
powerOp = '**'
|
int |
REFRESH_CACHE = 2 |
tuple |
shiftOps = ('>>', '<<')
|
str |
single3 = "'''"
|
int |
STATIC_CACHE = 1 |
dict |
tripleQuotedStringPairs = {'ur"""': '"""', 'uR"""': '"""...
|
dict |
tripleQuotedStringREs = {'ur"""': <_sre.SRE_Pattern obje...
|
tuple |
tripleQuotedStringStarts = ("'''", '"""', "r'''", 'r"""'...
|
tuple |
unaryArithOps = ('+', '-', '~')
|
str |
WS = '[ \\f\\t]*'
|
Function Details |
---|
escapeRegexChars(txt, escapeRE=<_sre.SRE_Pattern object at 0x00EC3500>)Return a txt with all special regular expressions chars escaped. |
Variable Details |
---|
__author__
|
__revision__
|
assignmentOps
|
assignOp
|
augAssignOps
|
binaryArithOps
|
bitwiseOps
|
booleanOps
|
closurePairs
|
closurePairsRev
|
compOps
|
delimeters
|
double3
|
EOL
|
EOLre
|
EOLZ
|
escCharLookBehind
|
identchars
|
keywords
|
nameCharLookAhead
|
namechars
|
NO_CACHE
|
operators
|
powerOp
|
REFRESH_CACHE
|
shiftOps
|
single3
|
STATIC_CACHE
|
tripleQuotedStringPairs
|
tripleQuotedStringStarts
|
unaryArithOps
|
WS
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:07:40 2003 | http://epydoc.sf.net |