Tree

Overview

Location

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

 

constructor

 

constructor

 

Tree()

 

init()

constructor (Tree)

 

constructor(value: Tree)

 

Tree(Tree value)

 

init(_ value: Tree)

Parameters:

  • value:

Copy

 

method Copy: Reference<Tree>

 

Reference<Tree> Copy()

 

func Copy() -> Reference<Tree>

 

func Copy() Reference<Tree>

ErrorContext

 

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

 

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

 

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

 

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

Parameters:

  • n:

Name

 

var Name: string;

 

string Name

 

var Name: string

 

Name string

Parse

 

method Parse(text: string; leftDelim: string; rightDelim: string; treeSet: Map<string, Reference<Tree>>; params funcs: array of Map<string, Object>): tuple of (tree: Reference<Tree>, err: error)

 

(Reference<Tree> tree, error err) Parse(string text, string leftDelim, string rightDelim, Map<string, Reference<Tree>> treeSet, params Map<string, Object>[] funcs)

 

func Parse(_ text: string, _ leftDelim: string, _ rightDelim: string, _ treeSet: Map<string, Reference<Tree>>, _ funcs: Map<string, Object>...) -> (tree:Reference<Tree>, err:error)

 

func Parse(text string, leftDelim string, rightDelim string, treeSet Map<string, Reference<Tree>>, funcs []Map<string, interface{}>) (tree Reference<Tree>, err error)

Parameters:

  • text:
  • leftDelim:
  • rightDelim:
  • treeSet:
  • funcs:

ParseName

 

var ParseName: string;

 

string ParseName

 

var ParseName: string

 

ParseName string

Root

 

var Root: Reference<ListNode>;

 

var Root: Reference<ListNode>

 

Name

 

var Name: string;

 

string Name

 

var Name: string

 

Name string

ParseName

 

var ParseName: string;

 

string ParseName

 

var ParseName: string

 

ParseName string

Root

 

var Root: Reference<ListNode>;

 

var Root: Reference<ListNode>

 

constructor

 

constructor

 

Tree()

 

init()

constructor (Tree)

 

constructor(value: Tree)

 

Tree(Tree value)

 

init(_ value: Tree)

Parameters:

  • value:

Copy

 

method Copy: Reference<Tree>

 

Reference<Tree> Copy()

 

func Copy() -> Reference<Tree>

 

func Copy() Reference<Tree>

ErrorContext

 

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

 

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

 

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

 

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

Parameters:

  • n:

Parse

 

method Parse(text: string; leftDelim: string; rightDelim: string; treeSet: Map<string, Reference<Tree>>; params funcs: array of Map<string, Object>): tuple of (tree: Reference<Tree>, err: error)

 

(Reference<Tree> tree, error err) Parse(string text, string leftDelim, string rightDelim, Map<string, Reference<Tree>> treeSet, params Map<string, Object>[] funcs)

 

func Parse(_ text: string, _ leftDelim: string, _ rightDelim: string, _ treeSet: Map<string, Reference<Tree>>, _ funcs: Map<string, Object>...) -> (tree:Reference<Tree>, err:error)

 

func Parse(text string, leftDelim string, rightDelim string, treeSet Map<string, Reference<Tree>>, funcs []Map<string, interface{}>) (tree Reference<Tree>, err error)

Parameters:

  • text:
  • leftDelim:
  • rightDelim:
  • treeSet:
  • funcs: