Template

Overview

Location

 

constructor

 

constructor

 

Template()

 

init()

 

Sub New()

constructor (Template)

 

constructor(value: Template)

 

Template(Template value)

 

init(_ value: Template)

 

Sub New(value As Template)

Parameters:

  • value:

AddParseTree

 

method AddParseTree(name: string; tree: Memory<Tree>): tuple of (Memory<Template>, error)

 

(Memory<Template>, error) AddParseTree(string name, Memory<Tree> tree)

 

func AddParseTree(_ name: string, _ tree: Memory<Tree>) -> (Memory<Template>, error)

 

func AddParseTree(name string, tree Memory<Tree>) tuple of (Memory<Template>, error)

 

Function AddParseTree(name As string, tree As Memory<Tree>) As Tuple (Of Memory<Template>, error)

Parameters:

  • name:
  • tree:

Clone

 

method Clone: tuple of (Memory<Template>, error)

 

(Memory<Template>, error) Clone()

 

func Clone() -> (Memory<Template>, error)

 

func Clone() tuple of (Memory<Template>, error)

 

Function Clone() As Tuple (Of Memory<Template>, error)

Copy

 

method Copy: Memory<Tree>

 

Memory<Tree> Copy()

 

func Copy() -> Memory<Tree>

 

func Copy() Memory<Tree>

 

Function Copy() As Memory<Tree>

DefinedTemplates

 

method DefinedTemplates: string

 

string DefinedTemplates()

 

func DefinedTemplates() -> string

 

func DefinedTemplates() string

 

Function DefinedTemplates() As string

Delims

 

method Delims(left: string; right: string): Memory<Template>

 

Memory<Template> Delims(string left, string right)

 

func Delims(_ left: string, _ right: string) -> Memory<Template>

 

func Delims(left string, right string) Memory<Template>

 

Function Delims(left As string, right As string) As Memory<Template>

Parameters:

  • left:
  • right:

ErrorContext

 

method ErrorContext(n: Node): tuple of (location: string, context: string)

 

(string location, string context) ErrorContext(Node n)

 

func ErrorContext(_ n: Node) -> (string, string)

 

func ErrorContext(n Node) tuple of (|name=location| string, |name=context| string)

 

Function ErrorContext(n As Node) As Tuple (Of string, string)

Parameters:

  • n:

Execute

 

method Execute(wr: Writer; data: Object): error

 

error Execute(Writer wr, Object data)

 

func Execute(_ wr: Writer, _ data: Object) -> error

 

func Execute(wr Writer, data interface{}) error

 

Function Execute(wr As Writer, data As Object) As error

Parameters:

  • wr:
  • data:

ExecuteTemplate

 

method ExecuteTemplate(wr: Writer; name: string; data: Object): error

 

error ExecuteTemplate(Writer wr, string name, Object data)

 

func ExecuteTemplate(_ wr: Writer, _ name: string, _ data: Object) -> error

 

func ExecuteTemplate(wr Writer, name string, data interface{}) error

 

Function ExecuteTemplate(wr As Writer, name As string, data As Object) As error

Parameters:

  • wr:
  • name:
  • data:

Funcs

 

method Funcs(funcMap: FuncMap): Memory<Template>

 

Memory<Template> Funcs(FuncMap funcMap)

 

func Funcs(_ funcMap: FuncMap) -> Memory<Template>

 

func Funcs(funcMap FuncMap) Memory<Template>

 

Function Funcs(funcMap As FuncMap) As Memory<Template>

Parameters:

  • funcMap:

Lookup

 

method Lookup(name: string): Memory<Template>

 

Memory<Template> Lookup(string name)

 

func Lookup(_ name: string) -> Memory<Template>

 

func Lookup(name string) Memory<Template>

 

Function Lookup(name As string) As Memory<Template>

Parameters:

  • name:

Name

 

method Name: string

 

string Name()

 

func Name() -> string

 

func Name() string

 

Function Name() As string

New

 

method New(name: string): Memory<Template>

 

Memory<Template> New(string name)

 

func New(_ name: string) -> Memory<Template>

 

func New(name string) Memory<Template>

 

Function New(name As string) As Memory<Template>

Parameters:

  • name:

Option

 

method Option(params opt: array of string): Memory<Template>

 

Memory<Template> Option(params string[] opt)

 

func Option(_ opt: string...) -> Memory<Template>

 

func Option(opt []string) Memory<Template>

 

Function Option(ParamArray opt As string()) As Memory<Template>

Parameters:

  • opt:

Parse

 

method Parse(text: string): tuple of (Memory<Template>, error)

 

(Memory<Template>, error) Parse(string text)

 

func Parse(_ text: string) -> (Memory<Template>, error)

 

func Parse(text string) tuple of (Memory<Template>, error)

 

Function Parse(text As string) As Tuple (Of Memory<Template>, error)

Parameters:

  • text:

ParseFiles

 

method ParseFiles(params filenames: array of string): tuple of (Memory<Template>, error)

 

(Memory<Template>, error) ParseFiles(params string[] filenames)

 

func ParseFiles(_ filenames: string...) -> (Memory<Template>, error)

 

func ParseFiles(filenames []string) tuple of (Memory<Template>, error)

 

Function ParseFiles(ParamArray filenames As string()) As Tuple (Of Memory<Template>, error)

Parameters:

  • filenames:

ParseGlob

 

method ParseGlob(pattern: string): tuple of (Memory<Template>, error)

 

(Memory<Template>, error) ParseGlob(string pattern)

 

func ParseGlob(_ pattern: string) -> (Memory<Template>, error)

 

func ParseGlob(pattern string) tuple of (Memory<Template>, error)

 

Function ParseGlob(pattern As string) As Tuple (Of Memory<Template>, error)

Parameters:

  • pattern:

ParseName

 

property ParseName: string read write;

 

string ParseName { get; set; }

 

var ParseName: string { get{} set{} }

 

ParseName string

 

Property ParseName() As string

Root

 

property Root: Memory<ListNode> read write;

 

Memory<ListNode> Root { get; set; }

 

var Root: Memory<ListNode> { get{} set{} }

 

Root Memory<ListNode>

 

Property Root() As Memory<ListNode>

Templates

 

method Templates: Slice<Memory<Template>>

 

Slice<Memory<Template>> Templates()

 

func Templates() -> Slice<Memory<Template>>

 

func Templates() Slice<Memory<Template>>

 

Function Templates() As Slice<Memory<Template>>

Tree

 

var Tree: Memory<Tree>;

 

Memory<Tree> Tree

 

var Tree: Memory<Tree>

 

Tree Memory<Tree>

 

FIELD Tree() As Memory<Tree>

 

Tree

 

var Tree: Memory<Tree>;

 

Memory<Tree> Tree

 

var Tree: Memory<Tree>

 

Tree Memory<Tree>

 

FIELD Tree() As Memory<Tree>

 

ParseName

 

property ParseName: string read write;

 

string ParseName { get; set; }

 

var ParseName: string { get{} set{} }

 

ParseName string

 

Property ParseName() As string

Root

 

property Root: Memory<ListNode> read write;

 

Memory<ListNode> Root { get; set; }

 

var Root: Memory<ListNode> { get{} set{} }

 

Root Memory<ListNode>

 

Property Root() As Memory<ListNode>

 

constructor

 

constructor

 

Template()

 

init()

 

Sub New()

constructor (Template)

 

constructor(value: Template)

 

Template(Template value)

 

init(_ value: Template)

 

Sub New(value As Template)

Parameters:

  • value:

Copy

 

method Copy: Memory<Tree>

 

Memory<Tree> Copy()

 

func Copy() -> Memory<Tree>

 

func Copy() Memory<Tree>

 

Function Copy() As Memory<Tree>

ErrorContext

 

method ErrorContext(n: Node): tuple of (location: string, context: string)

 

(string location, string context) ErrorContext(Node n)

 

func ErrorContext(_ n: Node) -> (string, string)

 

func ErrorContext(n Node) tuple of (|name=location| string, |name=context| string)

 

Function ErrorContext(n As Node) As Tuple (Of string, string)

Parameters:

  • n:

AddParseTree

 

method AddParseTree(name: string; tree: Memory<Tree>): tuple of (Memory<Template>, error)

 

(Memory<Template>, error) AddParseTree(string name, Memory<Tree> tree)

 

func AddParseTree(_ name: string, _ tree: Memory<Tree>) -> (Memory<Template>, error)

 

func AddParseTree(name string, tree Memory<Tree>) tuple of (Memory<Template>, error)

 

Function AddParseTree(name As string, tree As Memory<Tree>) As Tuple (Of Memory<Template>, error)

Parameters:

  • name:
  • tree:

Clone

 

method Clone: tuple of (Memory<Template>, error)

 

(Memory<Template>, error) Clone()

 

func Clone() -> (Memory<Template>, error)

 

func Clone() tuple of (Memory<Template>, error)

 

Function Clone() As Tuple (Of Memory<Template>, error)

DefinedTemplates

 

method DefinedTemplates: string

 

string DefinedTemplates()

 

func DefinedTemplates() -> string

 

func DefinedTemplates() string

 

Function DefinedTemplates() As string

Delims

 

method Delims(left: string; right: string): Memory<Template>

 

Memory<Template> Delims(string left, string right)

 

func Delims(_ left: string, _ right: string) -> Memory<Template>

 

func Delims(left string, right string) Memory<Template>

 

Function Delims(left As string, right As string) As Memory<Template>

Parameters:

  • left:
  • right:

Execute

 

method Execute(wr: Writer; data: Object): error

 

error Execute(Writer wr, Object data)

 

func Execute(_ wr: Writer, _ data: Object) -> error

 

func Execute(wr Writer, data interface{}) error

 

Function Execute(wr As Writer, data As Object) As error

Parameters:

  • wr:
  • data:

ExecuteTemplate

 

method ExecuteTemplate(wr: Writer; name: string; data: Object): error

 

error ExecuteTemplate(Writer wr, string name, Object data)

 

func ExecuteTemplate(_ wr: Writer, _ name: string, _ data: Object) -> error

 

func ExecuteTemplate(wr Writer, name string, data interface{}) error

 

Function ExecuteTemplate(wr As Writer, name As string, data As Object) As error

Parameters:

  • wr:
  • name:
  • data:

Funcs

 

method Funcs(funcMap: FuncMap): Memory<Template>

 

Memory<Template> Funcs(FuncMap funcMap)

 

func Funcs(_ funcMap: FuncMap) -> Memory<Template>

 

func Funcs(funcMap FuncMap) Memory<Template>

 

Function Funcs(funcMap As FuncMap) As Memory<Template>

Parameters:

  • funcMap:

Lookup

 

method Lookup(name: string): Memory<Template>

 

Memory<Template> Lookup(string name)

 

func Lookup(_ name: string) -> Memory<Template>

 

func Lookup(name string) Memory<Template>

 

Function Lookup(name As string) As Memory<Template>

Parameters:

  • name:

Name

 

method Name: string

 

string Name()

 

func Name() -> string

 

func Name() string

 

Function Name() As string

New

 

method New(name: string): Memory<Template>

 

Memory<Template> New(string name)

 

func New(_ name: string) -> Memory<Template>

 

func New(name string) Memory<Template>

 

Function New(name As string) As Memory<Template>

Parameters:

  • name:

Option

 

method Option(params opt: array of string): Memory<Template>

 

Memory<Template> Option(params string[] opt)

 

func Option(_ opt: string...) -> Memory<Template>

 

func Option(opt []string) Memory<Template>

 

Function Option(ParamArray opt As string()) As Memory<Template>

Parameters:

  • opt:

Parse

 

method Parse(text: string): tuple of (Memory<Template>, error)

 

(Memory<Template>, error) Parse(string text)

 

func Parse(_ text: string) -> (Memory<Template>, error)

 

func Parse(text string) tuple of (Memory<Template>, error)

 

Function Parse(text As string) As Tuple (Of Memory<Template>, error)

Parameters:

  • text:

ParseFiles

 

method ParseFiles(params filenames: array of string): tuple of (Memory<Template>, error)

 

(Memory<Template>, error) ParseFiles(params string[] filenames)

 

func ParseFiles(_ filenames: string...) -> (Memory<Template>, error)

 

func ParseFiles(filenames []string) tuple of (Memory<Template>, error)

 

Function ParseFiles(ParamArray filenames As string()) As Tuple (Of Memory<Template>, error)

Parameters:

  • filenames:

ParseGlob

 

method ParseGlob(pattern: string): tuple of (Memory<Template>, error)

 

(Memory<Template>, error) ParseGlob(string pattern)

 

func ParseGlob(_ pattern: string) -> (Memory<Template>, error)

 

func ParseGlob(pattern string) tuple of (Memory<Template>, error)

 

Function ParseGlob(pattern As string) As Tuple (Of Memory<Template>, error)

Parameters:

  • pattern:

Templates

 

method Templates: Slice<Memory<Template>>

 

Slice<Memory<Template>> Templates()

 

func Templates() -> Slice<Memory<Template>>

 

func Templates() Slice<Memory<Template>>

 

Function Templates() As Slice<Memory<Template>>