Versions in this module Expand all Collapse all v1 v1.0.1 Oct 10, 2017 Changes in this version + const NamedBlockAppend + const NamedBlockDefault + const NamedBlockPrepend + type Assignment struct + Expression string + X string + type Attribute struct + Condition string + IsRaw bool + Name string + Value string + type Block struct + Children []Node + func (b *Block) CanInline() bool + type Comment struct + Block *Block + Silent bool + Value string + type Condition struct + Expression string + Negative *Block + Positive *Block + type Doctype struct + Value string + func (d *Doctype) String() string + type Each struct + Block *Block + Expression string + X string + Y string + type Mixin struct + Args []string + Block *Block + Name string + type MixinCall struct + Args []string + Name string + type NamedBlock struct + Modifier int + Name string + type Node interface + Pos func() SourcePosition + type Parser struct + func ByteParser(input []byte) (*Parser, error) + func FileParser(filename string) (*Parser, error) + func StringParser(input string) (*Parser, error) + func VirtualFileParser(filename string, fs http.FileSystem) (*Parser, error) + func (p *Parser) Parse() *Block + func (p *Parser) SetFilename(filename string) + func (p *Parser) SetVirtualFilesystem(fs http.FileSystem) + type SourcePosition struct + ColNum int + Filename string + LineNum int + TokenLength int + func (s *SourcePosition) Pos() SourcePosition + type Tag struct + Attributes []Attribute + Block *Block + IsInterpolated bool + Name string + func (t *Tag) IsRawText() bool + func (t *Tag) IsSelfClosing() bool + type Text struct + Raw bool + Value string