C# Class SharpTAL.TemplateProgram.ProgramGenerator

ZPT (Zope Page Template) parser and Template program generator
Inheritance: SharpTAL.TemplateParser.AbstractTemplateParser
Afficher le fichier Open project: lck/SharpTAL Class Usage Examples

Méthodes publiques

Méthode Description
GenerateTemplateProgram ( TemplateInfo &ti ) : void
ProgramGenerator ( ) : System

Méthodes protégées

Méthode Description
HandleCData ( string data ) : void
HandleComment ( string data ) : void
HandleData ( string data ) : void
HandleDefault ( string data ) : void
HandleEndTag ( Tag tag ) : void
HandleProcessingInstruction ( Element e ) : void
HandleStartTag ( Tag tag ) : void

Private Methods

Méthode Description
AddTagToStack ( Tag tag, List cleanAttributes ) : TagStackItem
CompileImportedTemplates ( TemplateInfo ti, Program program ) : void
GetTemplateProgram ( string templateBody, string templatePath ) : Program
Handle_METAL_DEFINE_MACRO ( List attributes ) : List
Handle_METAL_DEFINE_PARAM ( List attributes ) : List
Handle_METAL_DEFINE_SLOT ( List attributes ) : List
Handle_METAL_FILL_PARAM ( List attributes ) : List
Handle_METAL_FILL_SLOT ( List attributes ) : List
Handle_METAL_IMPORT ( List attributes ) : List
Handle_METAL_USE_MACRO ( List attributes ) : List
Handle_META_INTERPOLATION ( List attributes ) : List
Handle_TAL_ATTRIBUTES ( List attributes ) : List
Handle_TAL_CONDITION ( List attributes ) : List
Handle_TAL_CONTENT ( List attributes ) : List
Handle_TAL_CONTENT ( List attributes, bool replace ) : List
Handle_TAL_DEFINE ( List attributes ) : List
Handle_TAL_OMITTAG ( List attributes ) : List
Handle_TAL_REPEAT ( List attributes ) : List
Handle_TAL_REPLACE ( List attributes ) : List
PopMetaNamespace ( ) : void
PopMetalNamespace ( ) : void
PopTalNamespace ( ) : void
SetMetaPrefix ( string prefix ) : void
SetMetalPrefix ( string prefix ) : void
SetTalPrefix ( string prefix ) : void

Method Details

GenerateTemplateProgram() public méthode

public GenerateTemplateProgram ( TemplateInfo &ti ) : void
ti TemplateInfo
Résultat void

HandleCData() protected méthode

protected HandleCData ( string data ) : void
data string
Résultat void

HandleComment() protected méthode

protected HandleComment ( string data ) : void
data string
Résultat void

HandleData() protected méthode

protected HandleData ( string data ) : void
data string
Résultat void

HandleDefault() protected méthode

protected HandleDefault ( string data ) : void
data string
Résultat void

HandleEndTag() protected méthode

protected HandleEndTag ( Tag tag ) : void
tag SharpTAL.TemplateParser.Tag
Résultat void

HandleProcessingInstruction() protected méthode

protected HandleProcessingInstruction ( Element e ) : void
e SharpTAL.TemplateParser.Element
Résultat void

HandleStartTag() protected méthode

protected HandleStartTag ( Tag tag ) : void
tag SharpTAL.TemplateParser.Tag
Résultat void

ProgramGenerator() public méthode

public ProgramGenerator ( ) : System
Résultat System