Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLuaTree = errors.New("luaTreeErr")
View Source
var ErrXMLMarshalling = errors.New("xmlMarshallingErr")
Functions ¶
Types ¶
type BlockToken ¶
type BlockToken string
BlockToken expresses a 2 char wide token that can be embedded inside CharData.
const ( BlockTokenStartCode BlockToken = "[[" // Starts a code block BlockTokenEndCode BlockToken = "]]" // Ends a code block BlockTokenStartPrint BlockToken = "[#" // Starts a printing block BlockTokenEndPrint BlockToken = "#]" // Ends a printing block )
type LuaEngine ¶
type LuaEngine struct {
// contains filtered or unexported fields
}
func NewLuaEngine ¶
func NewLuaEngine(lt *LuaTree, data *TemplateData) *LuaEngine
func (*LuaEngine) GetNodePath ¶
Can only be called after Exec() has been run.
func (*LuaEngine) GetNodePathString ¶
Can only be called after Exec() has been run.
func (*LuaEngine) SetIterationNodes ¶
SetIterationNodes updates the list of node names that act as an iteration origin.
Click to show internal directories.
Click to hide internal directories.