Table of Contents

Class FunctionNames

Namespace
Invex.StructuredText.Expressions
Assembly
Invex.StructuredText.dll

Canonical names of the functions the core knows about. Printers map them to the platform's own names.

public static class FunctionNames
Inheritance
object
FunctionNames

Fields

Always

Always true, regardless of previous results.

public const string Always = "always"

Field Value

string

Cancelled

True when the run was cancelled.

public const string Cancelled = "cancelled"

Field Value

string

Contains

Tests whether a string contains a substring.

public const string Contains = "contains"

Field Value

string

ContainsValue

Tests whether an array contains an element. Arguments: the array, then the element.

public const string ContainsValue = "containsValue"

Field Value

string

EndsWith

Tests whether a string ends with a value.

public const string EndsWith = "endsWith"

Field Value

string

Failure

True when any previous work failed.

public const string Failure = "failure"

Field Value

string

Format

Replaces {n} placeholders in a string.

public const string Format = "format"

Field Value

string

FromJson

Parses JSON text.

public const string FromJson = "fromJSON"

Field Value

string

HashFiles

Hashes the files matching a glob pattern.

public const string HashFiles = "hashFiles"

Field Value

string

Join

Joins array elements into a string. Arguments: the array, then the optional separator.

public const string Join = "join"

Field Value

string

StartsWith

Tests whether a string starts with a value.

public const string StartsWith = "startsWith"

Field Value

string

Success

True when all previous work succeeded.

public const string Success = "success"

Field Value

string

ToJson

Serializes a value to JSON.

public const string ToJson = "toJSON"

Field Value

string