Legivel


TagKind

Namespace: Legivel
Parent Module: RepresentationGraph

A Tag can be Local, Global, Unrecognized or Non Specific

Union Cases

Union CaseDescription
Global(GlobalTag)
Signature: GlobalTag
Local(LocalTag)
Signature: LocalTag
NonSpecific(LocalTag)
Signature: LocalTag
Unrecognized(GlobalTag)
Signature: GlobalTag

Instance members

Instance memberDescription
x.AreEqual arg1 arg2
Signature: Node -> Node -> bool

Retrieves the function which determines whether two Nodes are yaml-wise equal

x.CanonFn
Signature: string -> string option

Retrieves the function which converts a string to its tag-Canonical form

CompiledName: get_CanonFn

x.EqualIfNonSpecific(arg1)
Signature: TagKind -> bool

Special case: returns handle equality if the tag is non-specific. Used in sentinel pattern.

x.PostProcessAndValidateNode arg1 arg2
Signature: ParseMessage -> Node -> FallibleOption<Node> * ParseMessage

Retrieves the function which is called after Node construction and tag resolution.

x.ToPrettyString()
Signature: unit -> string

For dev/debugging

x.Uri
Signature: string

Retrieves the Uri for Global Tags and the handle for Local Tags

CompiledName: get_Uri

Fork me on GitHub