Documentation ¶
Index ¶
- type INodeImplied
- type Pongo2BaseTag
- type PongoEngine
- func (engine *PongoEngine) ConvertPath(path string) string
- func (engine *PongoEngine) Event(action revel.Event, i interface{})
- func (engine *PongoEngine) Handles(templateView *revel.TemplateView) bool
- func (engine *PongoEngine) Lookup(templateName string) revel.Template
- func (engine *PongoEngine) Name() string
- func (engine *PongoEngine) ParseAndAdd(baseTemplate *revel.TemplateView) error
- type PongoTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type INodeImplied ¶
type INodeImplied struct {
Exec func(*p2.ExecutionContext, p2.TemplateWriter) *p2.Error
}
func (*INodeImplied) Execute ¶
func (i *INodeImplied) Execute(ctx *p2.ExecutionContext, w p2.TemplateWriter) *p2.Error
type Pongo2BaseTag ¶
type Pongo2BaseTag struct {
// contains filtered or unexported fields
}
func (*Pongo2BaseTag) GetField ¶
func (node *Pongo2BaseTag) GetField(ctx *p2.ExecutionContext) (value interface{}, found bool)
type PongoEngine ¶
type PongoEngine struct { CaseInsensitive bool // contains filtered or unexported fields }
There is only a single instance of the PongoEngine initialized.
func (*PongoEngine) ConvertPath ¶
func (engine *PongoEngine) ConvertPath(path string) string
func (*PongoEngine) Event ¶
func (engine *PongoEngine) Event(action revel.Event, i interface{})
func (*PongoEngine) Handles ¶
func (engine *PongoEngine) Handles(templateView *revel.TemplateView) bool
func (*PongoEngine) Name ¶
func (engine *PongoEngine) Name() string
func (*PongoEngine) ParseAndAdd ¶
func (engine *PongoEngine) ParseAndAdd(baseTemplate *revel.TemplateView) error
type PongoTemplate ¶
type PongoTemplate struct { *revel.TemplateView // contains filtered or unexported fields }
Adapter for HAML Templates.
func (PongoTemplate) Name ¶
func (tmpl PongoTemplate) Name() string
Click to show internal directories.
Click to hide internal directories.