aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mako/ast.py
Commit message (Collapse)AuthorAgeFilesLines
* move lib/mako to makoMike Bayer2010-02-051-125/+0
|
* - update copyright for 2010Mike Bayer2010-02-051-1/+1
| | | | - start work on #98
* happy new yearrel_0_2_5Mike Bayer2009-09-071-1/+1
|
* merge branches/_ast r340:HEAD, minus r344, to trunk. adds support for parsingPhilip Jenvey2008-04-111-232/+12
| | | | python via _ast and google app engine
* copyright !Mike Bayer2008-01-191-1/+1
|
* - comments can be placed at the end of control lines,Mike Bayer2007-07-231-1/+3
| | | | | i.e. if foo: # a comment, [ticket:53], thanks to Paul Colomiets
* - control lines, i.e. % lines, support backslashes to continue longMike Bayer2007-05-021-1/+1
| | | | | lines (#32) - fixed single "#" comments in docs
* - Lexer/Compile exceptions propigate throughout lexer/parsetree/astMike Bayer2007-04-211-18/+18
| | | | | | | | | using a more portable **exception_kwargs collection - added "source" member to the dict propigated to Lexer/Compile exceptions - RichTraceback can access original template source as a unicode object using either 'source' memebr on Lexer/Compile exception, or 'source' property on ModuleInfo, fixes #37 - unit tests for #37
* - added "n" filter, disables *all* filters normally applied to an expressionMike Bayer2007-03-271-0/+2
| | | | | | | | | | | via <%page> or default_filters (but not those within the filter) - added buffer_filters argument, defines filters applied to the return value of buffered/cached/filtered %defs, after all filters defined with the %def itself have been applied. allows the creation of default expression filters that let the output of return-valued %defs "opt out" of that filtering via passing special attributes or objects. - added support for "class" structures in ast parsing (i.e. class-level data members wont get added to the "declared" list)
* - AST parsing, properly detects imports of the form "import foo.bar"Mike Bayer2007-03-141-1/+1
| | | | [ticket:27]
* - AST expression generation - added in just about everythingMike Bayer2007-03-141-0/+59
| | | | expression-wise from the AST module [ticket:26]
* further fix to previous ast enhancement; dont log identifiers as "declared" ↵Mike Bayer2007-03-061-26/+35
| | | | once we're traversing inside functions since they are local to the function.
* - fix to variable scoping for identifiers only referenced within functionsMike Bayer2007-03-061-2/+14
|
* some expression generator things missing, fixes [ticket:18]Mike Bayer2007-01-241-4/+23
|
* copyright updateMike Bayer2007-01-051-1/+1
|
* further try/except AST fixes, cleanup of filter unit tests, made __locals ↵Mike Bayer2006-12-311-7/+0
| | | | propigation in codegen slightly simpler/faster
* - AST parsing fixes: fixed TryExcept identifier parsingMike Bayer2006-12-311-0/+2
|
* took out the whole "auto-propigation of **kwargs" thing,Mike Bayer2006-12-161-3/+6
| | | | | implemented "args" for <%page> tag. still has a default "**_extra_pageargs" catchall for now...
* big overhaul to variable scoping in code generationMike Bayer2006-12-091-0/+6
|
* cleanup etcMike Bayer2006-11-271-1/+1
|
* doc system, working on namespace scoping/declarations, ast parsing, etcMike Bayer2006-11-261-15/+22
|
* filters mostly complete for now...Mike Bayer2006-11-251-1/+25
|
* starting to add filter functionalityMike Bayer2006-11-241-0/+7
|
* copyright etcMike Bayer2006-11-211-0/+6
|
* various cleanup, more scoping tweaks, ast tweaksMike Bayer2006-11-201-4/+21
|
* got something runningMike Bayer2006-11-181-2/+9
|
* devMike Bayer2006-11-181-18/+3
|
* codegen dev...Mike Bayer2006-11-181-8/+98
|
* adding TemplateNode as lead parsetree valueMike Bayer2006-11-181-1/+0
|
* working out some expression parsing/return stuff, which will allow usMike Bayer2006-11-141-2/+75
| | | | to add arguments to function signatures
* ast identifier location + unittestMike Bayer2006-11-121-0/+22
| | | | python printer + unittest
* initial setupMike Bayer2006-11-121-0/+1