GlobalTag
Namespace: Legivel
Parent Module: RepresentationGraph
Attributes:
[<Sealed>]
Defines a Global Tag, its properties and functions.
Instance members
Instance member | Description |
x.CloneWith(uri, rgx, toCanon)
Signature: (uri:string * rgx:string * toCanon:(string -> string option)) -> GlobalTag
|
Clone Global Tag and modify with given properties
|
x.CloneWith(uri, nk, rgx, toCanon)
Signature: (uri:string * nk:NodeKind * rgx:string * toCanon:(string -> string option)) -> GlobalTag
|
Clone Global Tag and modify with given properties
|
x.IsMatch(arg1)
Signature: Node -> bool
|
Returns true if the given Node complies to the rules o this tag
|
x.Kind
Signature: NodeKind
|
Applicable to which NodeKind
CompiledName: get_Kind
|
x.Regex
Signature: string
|
Pattern used to detect whether string-data complies for this Global Tag
CompiledName: get_Regex
|
x.SetTagFunctions(arg1)
Signature: TagFunctions -> GlobalTag
|
Set Tagfunctions and return new GlobalTag
|
x.TagFunctions
Signature: TagFunctions
|
Retrieve tagfunctions
CompiledName: get_TagFunctions
|
x.ToCanonical(arg1)
Signature: string -> string option
|
Convert the given string to its (yaml) canonical form
|
x.Uri
Signature: string
|
Retrieves the tag's uri, example: "tag:yaml.org,2002:str"
CompiledName: get_Uri
|
Static members
Static member | Description |
GlobalTag.Create(arg1, arg2, arg3)
Signature: (string * NodeKind * TagFunctions) -> GlobalTag
|
Create a Global Tag based on uri, nodekind, tagfunctions
|
GlobalTag.Create(arg1, arg2, arg3, arg4)
Signature: (string * NodeKind * string * TagFunctions) -> GlobalTag
|
Create a Global Tag based on uri, nodekind, regex, tagfunctions
|
GlobalTag.Create(...)
Signature: (uri:string * nk:NodeKind * rgx:string * toCanon:(string -> string option) * tgfn:TagFunctions) -> GlobalTag
|
Create a Global Tag based on uri, nodekind, regex, to Canonical func, tagfunctions
|