Template

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.html.template
  • Platforms: .NET, .NET Standard 2.0, Island

 

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

 

// .NET, .NET Standard 2.0
method AddParseTree(name: string; tree: Memory<Tree>): tuple of (Memory<Template>, error)
// Island
method AddParseTree(name: string; tree: Memory<Tree>): tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
(Memory<Template>, error) AddParseTree(string name, Memory<Tree> tree)
// Island
(Memory<Template>, error) AddParseTree(string name, Memory<Tree> tree)

 

// .NET, .NET Standard 2.0
func AddParseTree(_ name: string, _ tree: Memory<Tree>) -> (Memory<Template>, error)
// Island
func AddParseTree(_ name: string, _ tree: Memory<Tree>) -> (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
func AddParseTree(name string, tree Memory<Tree>) tuple of (Memory<Template>, error)
// Island
func AddParseTree(name string, tree Memory<Tree>) tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
Function AddParseTree(name As string, tree As Memory<Tree>) As Tuple (Of Memory<Template>, error)
// Island
Function AddParseTree(name As string, tree As Memory<Tree>) As Tuple (Of Memory<Template>, error)

Parameters:

  • name:
  • tree:

Clone

 

// .NET, .NET Standard 2.0
method Clone: tuple of (Memory<Template>, error)
// Island
method Clone: tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
(Memory<Template>, error) Clone()
// Island
(Memory<Template>, error) Clone()

 

// .NET, .NET Standard 2.0
func Clone() -> (Memory<Template>, error)
// Island
func Clone() -> (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
func Clone() tuple of (Memory<Template>, error)
// Island
func Clone() tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
Function Clone() As Tuple (Of Memory<Template>, error)
// Island
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

 

// .NET, .NET Standard 2.0
method Delims(left: string; right: string): Memory<Template>
// Island
method Delims(left: string; right: string): Memory<Template>

 

// .NET, .NET Standard 2.0
Memory<Template> Delims(string left, string right)
// Island
Memory<Template> Delims(string left, string right)

 

// .NET, .NET Standard 2.0
func Delims(_ left: string, _ right: string) -> Memory<Template>
// Island
func Delims(_ left: string, _ right: string) -> Memory<Template>

 

// .NET, .NET Standard 2.0
func Delims(left string, right string) Memory<Template>
// Island
func Delims(left string, right string) Memory<Template>

 

// .NET, .NET Standard 2.0
Function Delims(left As string, right As string) As Memory<Template>
// Island
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

 

// .NET, .NET Standard 2.0
method Funcs(funcMap: FuncMap): Memory<Template>
// Island
method Funcs(funcMap: FuncMap): Memory<Template>

 

// .NET, .NET Standard 2.0
Memory<Template> Funcs(FuncMap funcMap)
// Island
Memory<Template> Funcs(FuncMap funcMap)

 

// .NET, .NET Standard 2.0
func Funcs(_ funcMap: FuncMap) -> Memory<Template>
// Island
func Funcs(_ funcMap: FuncMap) -> Memory<Template>

 

// .NET, .NET Standard 2.0
func Funcs(funcMap FuncMap) Memory<Template>
// Island
func Funcs(funcMap FuncMap) Memory<Template>

 

// .NET, .NET Standard 2.0
Function Funcs(funcMap As FuncMap) As Memory<Template>
// Island
Function Funcs(funcMap As FuncMap) As Memory<Template>

Parameters:

  • funcMap:

Lookup

 

// .NET, .NET Standard 2.0
method Lookup(name: string): Memory<Template>
// Island
method Lookup(name: string): Memory<Template>

 

// .NET, .NET Standard 2.0
Memory<Template> Lookup(string name)
// Island
Memory<Template> Lookup(string name)

 

// .NET, .NET Standard 2.0
func Lookup(_ name: string) -> Memory<Template>
// Island
func Lookup(_ name: string) -> Memory<Template>

 

// .NET, .NET Standard 2.0
func Lookup(name string) Memory<Template>
// Island
func Lookup(name string) Memory<Template>

 

// .NET, .NET Standard 2.0
Function Lookup(name As string) As Memory<Template>
// Island
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

 

// .NET, .NET Standard 2.0
method New(name: string): Memory<Template>
// Island
method New(name: string): Memory<Template>

 

// .NET, .NET Standard 2.0
Memory<Template> New(string name)
// Island
Memory<Template> New(string name)

 

// .NET, .NET Standard 2.0
func New(_ name: string) -> Memory<Template>
// Island
func New(_ name: string) -> Memory<Template>

 

// .NET, .NET Standard 2.0
func New(name string) Memory<Template>
// Island
func New(name string) Memory<Template>

 

// .NET, .NET Standard 2.0
Function New(name As string) As Memory<Template>
// Island
Function New(name As string) As Memory<Template>

Parameters:

  • name:

Option

 

// .NET, .NET Standard 2.0
method Option(params opt: array of string): Memory<Template>
// Island
method Option(params opt: array of string): Memory<Template>

 

// .NET, .NET Standard 2.0
Memory<Template> Option(params string[] opt)
// Island
Memory<Template> Option(params string[] opt)

 

// .NET, .NET Standard 2.0
func Option(_ opt: string...) -> Memory<Template>
// Island
func Option(_ opt: string...) -> Memory<Template>

 

// .NET, .NET Standard 2.0
func Option(opt []string) Memory<Template>
// Island
func Option(opt []string) Memory<Template>

 

// .NET, .NET Standard 2.0
Function Option(ParamArray opt As string()) As Memory<Template>
// Island
Function Option(ParamArray opt As string()) As Memory<Template>

Parameters:

  • opt:

Parse

 

// .NET, .NET Standard 2.0
method Parse(text: string): tuple of (Memory<Template>, error)
// Island
method Parse(text: string): tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
(Memory<Template>, error) Parse(string text)
// Island
(Memory<Template>, error) Parse(string text)

 

// .NET, .NET Standard 2.0
func Parse(_ text: string) -> (Memory<Template>, error)
// Island
func Parse(_ text: string) -> (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
func Parse(text string) tuple of (Memory<Template>, error)
// Island
func Parse(text string) tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
Function Parse(text As string) As Tuple (Of Memory<Template>, error)
// Island
Function Parse(text As string) As Tuple (Of Memory<Template>, error)

Parameters:

  • text:

ParseFiles

 

// .NET, .NET Standard 2.0
method ParseFiles(params filenames: array of string): tuple of (Memory<Template>, error)
// Island
method ParseFiles(params filenames: array of string): tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
(Memory<Template>, error) ParseFiles(params string[] filenames)
// Island
(Memory<Template>, error) ParseFiles(params string[] filenames)

 

// .NET, .NET Standard 2.0
func ParseFiles(_ filenames: string...) -> (Memory<Template>, error)
// Island
func ParseFiles(_ filenames: string...) -> (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
func ParseFiles(filenames []string) tuple of (Memory<Template>, error)
// Island
func ParseFiles(filenames []string) tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
Function ParseFiles(ParamArray filenames As string()) As Tuple (Of Memory<Template>, error)
// Island
Function ParseFiles(ParamArray filenames As string()) As Tuple (Of Memory<Template>, error)

Parameters:

  • filenames:

ParseGlob

 

// .NET, .NET Standard 2.0
method ParseGlob(pattern: string): tuple of (Memory<Template>, error)
// Island
method ParseGlob(pattern: string): tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
(Memory<Template>, error) ParseGlob(string pattern)
// Island
(Memory<Template>, error) ParseGlob(string pattern)

 

// .NET, .NET Standard 2.0
func ParseGlob(_ pattern: string) -> (Memory<Template>, error)
// Island
func ParseGlob(_ pattern: string) -> (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
func ParseGlob(pattern string) tuple of (Memory<Template>, error)
// Island
func ParseGlob(pattern string) tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
Function ParseGlob(pattern As string) As Tuple (Of Memory<Template>, error)
// Island
Function ParseGlob(pattern As string) As Tuple (Of Memory<Template>, error)

Parameters:

  • pattern:

Templates

 

// .NET, .NET Standard 2.0
method Templates: Slice<Memory<Template>>
// Island
method Templates: Slice<Memory<Template>>

 

// .NET, .NET Standard 2.0
Slice<Memory<Template>> Templates()
// Island
Slice<Memory<Template>> Templates()

 

// .NET, .NET Standard 2.0
func Templates() -> Slice<Memory<Template>>
// Island
func Templates() -> Slice<Memory<Template>>

 

// .NET, .NET Standard 2.0
func Templates() Slice<Memory<Template>>
// Island
func Templates() Slice<Memory<Template>>

 

// .NET, .NET Standard 2.0
Function Templates() As Slice<Memory<Template>>
// Island
Function Templates() As Slice<Memory<Template>>

Tree

 

// .NET, .NET Standard 2.0
var Tree: Memory<Tree>;
// Island
var Tree: Memory<Tree>;

 

// .NET, .NET Standard 2.0
Memory<Tree> Tree
// Island
Memory<Tree> Tree

 

// .NET, .NET Standard 2.0
var Tree: Memory<Tree>
// Island
var Tree: Memory<Tree>

 

// .NET, .NET Standard 2.0
Tree Memory<Tree>
// Island
Tree Memory<Tree>

 

// .NET, .NET Standard 2.0
FIELD Tree() As Memory<Tree>
// Island
FIELD Tree() As Memory<Tree>

 

Tree

 

// .NET, .NET Standard 2.0
var Tree: Memory<Tree>;
// Island
var Tree: Memory<Tree>;

 

// .NET, .NET Standard 2.0
Memory<Tree> Tree
// Island
Memory<Tree> Tree

 

// .NET, .NET Standard 2.0
var Tree: Memory<Tree>
// Island
var Tree: Memory<Tree>

 

// .NET, .NET Standard 2.0
Tree Memory<Tree>
// Island
Tree Memory<Tree>

 

// .NET, .NET Standard 2.0
FIELD Tree() As Memory<Tree>
// Island
FIELD Tree() As Memory<Tree>

 

constructor

 

constructor

 

Template()

 

init()

 

Sub New()

constructor (Template)

 

constructor(value: Template)

 

Template(Template value)

 

init(_ value: Template)

 

Sub New(value As Template)

Parameters:

  • value: