Global

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 Island

 

constructor

 

__Global()

 

init()

IsEmptyTree

 

class method IsEmptyTree(n: Node): bool

 

static bool IsEmptyTree(Node n)

 

static func IsEmptyTree(_ n: Node) -> bool

 

func IsEmptyTree(n Node) bool

Parameters:

  • n:

New

 

class method New(name: string; params funcs: array of Map<string, Object>): Reference<Tree>

 

static Reference<Tree> New(string name, params Map<string, Object>[] funcs)

 

static func New(_ name: string, _ funcs: Map<string, Object>...) -> Reference<Tree>

 

func New(name string, funcs []Map<string, interface{}>) Reference<Tree>

Parameters:

  • name:
  • funcs:

NewIdentifier

 

class method NewIdentifier(ident: string): Reference<IdentifierNode>

 

static Reference<IdentifierNode> NewIdentifier(string ident)

 

static func NewIdentifier(_ ident: string) -> Reference<IdentifierNode>

 

func NewIdentifier(ident string) Reference<IdentifierNode>

Parameters:

  • ident:

NodeAction

 

const NodeAction: NodeType = 1;

 

const NodeType NodeAction = 1

 

static let NodeAction: NodeType = 1

 

const NodeAction NodeType =  = 1

NodeBool

 

const NodeBool: NodeType = 2;

 

const NodeType NodeBool = 2

 

static let NodeBool: NodeType = 2

 

const NodeBool NodeType =  = 2

NodeChain

 

const NodeChain: NodeType = 3;

 

const NodeType NodeChain = 3

 

static let NodeChain: NodeType = 3

 

const NodeChain NodeType =  = 3

NodeCommand

 

const NodeCommand: NodeType = 4;

 

const NodeType NodeCommand = 4

 

static let NodeCommand: NodeType = 4

 

const NodeCommand NodeType =  = 4

NodeDot

 

const NodeDot: NodeType = 5;

 

const NodeType NodeDot = 5

 

static let NodeDot: NodeType = 5

 

const NodeDot NodeType =  = 5

NodeField

 

const NodeField: NodeType = 8;

 

const NodeType NodeField = 8

 

static let NodeField: NodeType = 8

 

const NodeField NodeType =  = 8

NodeIdentifier

 

const NodeIdentifier: NodeType = 9;

 

const NodeType NodeIdentifier = 9

 

static let NodeIdentifier: NodeType = 9

 

const NodeIdentifier NodeType =  = 9

NodeIf

 

const NodeIf: NodeType = 10;

 

const NodeType NodeIf = 10

 

static let NodeIf: NodeType = 10

 

const NodeIf NodeType =  = 10

NodeList

 

const NodeList: NodeType = 11;

 

const NodeType NodeList = 11

 

static let NodeList: NodeType = 11

 

const NodeList NodeType =  = 11

NodeNil

 

const NodeNil: NodeType = 12;

 

const NodeType NodeNil = 12

 

static let NodeNil: NodeType = 12

 

const NodeNil NodeType =  = 12

NodeNumber

 

const NodeNumber: NodeType = 13;

 

const NodeType NodeNumber = 13

 

static let NodeNumber: NodeType = 13

 

const NodeNumber NodeType =  = 13

NodePipe

 

const NodePipe: NodeType = 14;

 

const NodeType NodePipe = 14

 

static let NodePipe: NodeType = 14

 

const NodePipe NodeType =  = 14

NodeRange

 

const NodeRange: NodeType = 15;

 

const NodeType NodeRange = 15

 

static let NodeRange: NodeType = 15

 

const NodeRange NodeType =  = 15

NodeString

 

const NodeString: NodeType = 16;

 

const NodeType NodeString = 16

 

static let NodeString: NodeType = 16

 

const NodeString NodeType =  = 16

NodeTemplate

 

const NodeTemplate: NodeType = 17;

 

const NodeType NodeTemplate = 17

 

static let NodeTemplate: NodeType = 17

 

const NodeTemplate NodeType =  = 17

NodeText

 

const NodeText: NodeType = 0;

 

const NodeType NodeText = 0

 

static let NodeText: NodeType = 0

 

const NodeText NodeType =  = 0

NodeVariable

 

const NodeVariable: NodeType = 18;

 

const NodeType NodeVariable = 18

 

static let NodeVariable: NodeType = 18

 

const NodeVariable NodeType =  = 18

NodeWith

 

const NodeWith: NodeType = 19;

 

const NodeType NodeWith = 19

 

static let NodeWith: NodeType = 19

 

const NodeWith NodeType =  = 19

Parse

 

// .NET, Island
class method Parse(name: string; text: string; leftDelim: string; rightDelim: string; params funcs: array of Map<string, Object>): tuple of (Map<string, Reference<Tree>>, error)
// .NET Standard 2.0
class method Parse(name: string; text: string; leftDelim: string; rightDelim: string; params funcs: array of Map<string, Object>): ValueTuple<Map<string, Reference<Tree>>, error>

 

// .NET, Island
static (Map<string, Reference<Tree>>, error) Parse(string name, string text, string leftDelim, string rightDelim, params Map<string, Object>[] funcs)
// .NET Standard 2.0
static ValueTuple<Map<string, Reference<Tree>>, error> Parse(string name, string text, string leftDelim, string rightDelim, params Map<string, Object>[] funcs)

 

// .NET, Island
static func Parse(_ name: string, _ text: string, _ leftDelim: string, _ rightDelim: string, _ funcs: Map<string, Object>...) -> (Map<string, Reference<Tree>>, error)
// .NET Standard 2.0
static func Parse(_ name: string, _ text: string, _ leftDelim: string, _ rightDelim: string, _ funcs: Map<string, Object>...) -> ValueTuple<Map<string, Reference<Tree>>, error>

 

// .NET, Island
func Parse(name string, text string, leftDelim string, rightDelim string, funcs []Map<string, interface{}>) (Map<string, Reference<Tree>>, error)
// .NET Standard 2.0
func Parse(name string, text string, leftDelim string, rightDelim string, funcs []Map<string, interface{}>) ValueTuple<Map<string, Reference<Tree>>, error>

Parameters:

  • name:
  • text:
  • leftDelim:
  • rightDelim:
  • funcs:

 

NodeAction

 

const NodeAction: NodeType = 1;

 

const NodeType NodeAction = 1

 

static let NodeAction: NodeType = 1

 

const NodeAction NodeType =  = 1

NodeBool

 

const NodeBool: NodeType = 2;

 

const NodeType NodeBool = 2

 

static let NodeBool: NodeType = 2

 

const NodeBool NodeType =  = 2

NodeChain

 

const NodeChain: NodeType = 3;

 

const NodeType NodeChain = 3

 

static let NodeChain: NodeType = 3

 

const NodeChain NodeType =  = 3

NodeCommand

 

const NodeCommand: NodeType = 4;

 

const NodeType NodeCommand = 4

 

static let NodeCommand: NodeType = 4

 

const NodeCommand NodeType =  = 4

NodeDot

 

const NodeDot: NodeType = 5;

 

const NodeType NodeDot = 5

 

static let NodeDot: NodeType = 5

 

const NodeDot NodeType =  = 5

NodeField

 

const NodeField: NodeType = 8;

 

const NodeType NodeField = 8

 

static let NodeField: NodeType = 8

 

const NodeField NodeType =  = 8

NodeIdentifier

 

const NodeIdentifier: NodeType = 9;

 

const NodeType NodeIdentifier = 9

 

static let NodeIdentifier: NodeType = 9

 

const NodeIdentifier NodeType =  = 9

NodeIf

 

const NodeIf: NodeType = 10;

 

const NodeType NodeIf = 10

 

static let NodeIf: NodeType = 10

 

const NodeIf NodeType =  = 10

NodeList

 

const NodeList: NodeType = 11;

 

const NodeType NodeList = 11

 

static let NodeList: NodeType = 11

 

const NodeList NodeType =  = 11

NodeNil

 

const NodeNil: NodeType = 12;

 

const NodeType NodeNil = 12

 

static let NodeNil: NodeType = 12

 

const NodeNil NodeType =  = 12

NodeNumber

 

const NodeNumber: NodeType = 13;

 

const NodeType NodeNumber = 13

 

static let NodeNumber: NodeType = 13

 

const NodeNumber NodeType =  = 13

NodePipe

 

const NodePipe: NodeType = 14;

 

const NodeType NodePipe = 14

 

static let NodePipe: NodeType = 14

 

const NodePipe NodeType =  = 14

NodeRange

 

const NodeRange: NodeType = 15;

 

const NodeType NodeRange = 15

 

static let NodeRange: NodeType = 15

 

const NodeRange NodeType =  = 15

NodeString

 

const NodeString: NodeType = 16;

 

const NodeType NodeString = 16

 

static let NodeString: NodeType = 16

 

const NodeString NodeType =  = 16

NodeTemplate

 

const NodeTemplate: NodeType = 17;

 

const NodeType NodeTemplate = 17

 

static let NodeTemplate: NodeType = 17

 

const NodeTemplate NodeType =  = 17

NodeText

 

const NodeText: NodeType = 0;

 

const NodeType NodeText = 0

 

static let NodeText: NodeType = 0

 

const NodeText NodeType =  = 0

NodeVariable

 

const NodeVariable: NodeType = 18;

 

const NodeType NodeVariable = 18

 

static let NodeVariable: NodeType = 18

 

const NodeVariable NodeType =  = 18

NodeWith

 

const NodeWith: NodeType = 19;

 

const NodeType NodeWith = 19

 

static let NodeWith: NodeType = 19

 

const NodeWith NodeType =  = 19

 

IsEmptyTree

 

class method IsEmptyTree(n: Node): bool

 

static bool IsEmptyTree(Node n)

 

static func IsEmptyTree(_ n: Node) -> bool

 

func IsEmptyTree(n Node) bool

Parameters:

  • n:

New

 

class method New(name: string; params funcs: array of Map<string, Object>): Reference<Tree>

 

static Reference<Tree> New(string name, params Map<string, Object>[] funcs)

 

static func New(_ name: string, _ funcs: Map<string, Object>...) -> Reference<Tree>

 

func New(name string, funcs []Map<string, interface{}>) Reference<Tree>

Parameters:

  • name:
  • funcs:

NewIdentifier

 

class method NewIdentifier(ident: string): Reference<IdentifierNode>

 

static Reference<IdentifierNode> NewIdentifier(string ident)

 

static func NewIdentifier(_ ident: string) -> Reference<IdentifierNode>

 

func NewIdentifier(ident string) Reference<IdentifierNode>

Parameters:

  • ident:

Parse

 

// .NET, Island
class method Parse(name: string; text: string; leftDelim: string; rightDelim: string; params funcs: array of Map<string, Object>): tuple of (Map<string, Reference<Tree>>, error)
// .NET Standard 2.0
class method Parse(name: string; text: string; leftDelim: string; rightDelim: string; params funcs: array of Map<string, Object>): ValueTuple<Map<string, Reference<Tree>>, error>

 

// .NET, Island
static (Map<string, Reference<Tree>>, error) Parse(string name, string text, string leftDelim, string rightDelim, params Map<string, Object>[] funcs)
// .NET Standard 2.0
static ValueTuple<Map<string, Reference<Tree>>, error> Parse(string name, string text, string leftDelim, string rightDelim, params Map<string, Object>[] funcs)

 

// .NET, Island
static func Parse(_ name: string, _ text: string, _ leftDelim: string, _ rightDelim: string, _ funcs: Map<string, Object>...) -> (Map<string, Reference<Tree>>, error)
// .NET Standard 2.0
static func Parse(_ name: string, _ text: string, _ leftDelim: string, _ rightDelim: string, _ funcs: Map<string, Object>...) -> ValueTuple<Map<string, Reference<Tree>>, error>

 

// .NET, Island
func Parse(name string, text string, leftDelim string, rightDelim string, funcs []Map<string, interface{}>) (Map<string, Reference<Tree>>, error)
// .NET Standard 2.0
func Parse(name string, text string, leftDelim string, rightDelim string, funcs []Map<string, interface{}>) ValueTuple<Map<string, Reference<Tree>>, error>

Parameters:

  • name:
  • text:
  • leftDelim:
  • rightDelim:
  • funcs: