Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SubModMapping = map[string]SubstitutionModifier{ "unsafe": SubModUnsafe, }
Functions ¶
This section is empty.
Types ¶
type ConditionalNode ¶
type ConditionalNode struct { Pos Expression string ChildNodes []Node Else *ConditionalNode }
type FuncDeclNode ¶
type ImportNode ¶
type PlaintextNode ¶
type RawCodeNode ¶
type SubstitutionModifier ¶ added in v0.2.0
type SubstitutionModifier uint
const SubModNone SubstitutionModifier = 0
const (
SubModUnsafe SubstitutionModifier = 1 << iota
)
func (SubstitutionModifier) Includes ¶ added in v0.2.0
func (s SubstitutionModifier) Includes(i SubstitutionModifier) bool
type SubstitutionNode ¶
type SubstitutionNode struct { Pos Expression string Modifier SubstitutionModifier }
type TemplateFile ¶
Click to show internal directories.
Click to hide internal directories.