Types
Represents a target configuration list item that must be absent
Any type is parent type of all types.
All instances in NGS are of type Any.
F(x) ... is same as F(x:Any) ...
Represents calling failure due to arguments vs parameters mismatch.
Array - list of items accessed by zero-based index
Represents difference of elements between two arrays (order unimportant)
Parent type for user-defined types with array-like behaviour. Use in cases when you would like to inherit from built-in Arr. Inheriting from built-ins is not possible for now.
Represents failed asserttion, thrown by assert(). Should be used to catch programming errors.
Represents an error of reading non-existent attribute of an object.
Type for builtin types. F f(t:BasicType) ...; f(Arr)
A type for instances of builtin types. Children types are not displayed as this type is specially optimized.
Represents a block device in a file system (S_IFBLK)
Boolean type. The only instances are true and false
A box which might (FullBox) or might not (EmptyBox) contain a value
C language DIR type for low level directory operations. Please do not use directly unless you are extending stdlib.
Unfinished feature. Don't use!
Unfinished feature. Don't use!
Represents calling failure.
Base type for exceptions arising from errors returned by calling C functions
Represents a character device in a file system (S_IFCHR)
C library, result of dlopen(), not used yet
Closure type. User-defined functions/methods are Closures
Represents a compilation error.
Iterator that returns given value forever.
C symbol, result of dlsym(), not used yet
EXPERIMENTAL. Delimited string. Showing ArrLike usage.
Represents a directory in a file system (S_IFBLK)
Represents an error of dividing by zero.
Represents failure to open dynamically loaded library (feature is a work in progress).
Represents calling failure when it is not known how to call the given object.
Parent type of all types that have each() method
Eachable which each() calls the callback with one argument
Eachable which each() calls the callback with two arguments
Represents an error of using an empty array for an operation that requires at least one element in the array.
Represents absence of a value
Represents an error. Usually more specific error types are used.
Represents a target configuration list item in a list
Represents exceptional situaution. All thrown things shouhld inherit Exception.
Occurs when executable was not found in path or when executable was absolute or relative and was not found.
Represents a fifo file in a file system (S_IFIFO)
Represents a file in a file system (S_IFREG)
Represents presence of a value
Function type: an Array of Closures, a Closure, or a native method
Represents an error of accessing undefined global variable.
Hash type. Maps unique keys to their values.
Key-Value pairs are stored and iterated in insertion order.
Currently Hash type has several limitations:
Hash keys are hashed using internal hash() function which can not be overwritten.
The internal hash() function exposed to NGS code but adding implementations or setting "hash" to some other function
will not affect operation of Hashes.
Hash values are compared using internal is_equal() function which can not be overwritten.
Both hash() and is_equal() currently handle only Int, Str and arbitrary objects.
Comparison of arbitrary objects is done by comparing their addresses in memory.
Represents difference of elements between two hashes (order unimportant)
EXPERIMENTAL Hash iterator.
Represents calling failure when arguments do not match any method implementation.
Represents an error of out-of-bounds array index.
Integer type. On 64 bit platforms it's a 61 bit signed integer
Represents an error which is likely to be NGS implementation bug.
Represents an error of calling a method with incorrect argument.
Iterator. Parent type for all specific iterator types.
Represents an error of accessing non-existent key in a hash.
Exception representing a failure to kill() a process
Represents an error of accessing non-existent element of a collection.
Successful or unsuccessful match result
ArgvMatcher internal type, do not use!
Unsucessfull match result
Prefix that might or might not be present for ~ matching to succeed
Suffix that might or might not be present for ~ matching to succeed
Prefix that must be present for ~ matching to succeed
Suffix that must be present for ~ matching to succeed
Represents attempt to fetch next value of an iterator when it's exhausted
Type for user-defined types. type T1; F f(t:NormalType) ...; f(T1)
Default constructor for Normal types. Normal types are user-defined and some of the built-in types.
A type for instances of user-defined types. Children types are not displayed as this type is specially optimized.
Null type. Has only one instance, null
Represents file system path
Prefix subsequence of a sequence
Wrapper around file descriptors returned by PIPE(2)
Represents failure of creating a Pipe when calling PIPE(2)
Represents desired target configuration list item presence
Represents a target configuration list item that must be present
Running or finished process
NOT IMPLEMENTED YET. Iterator that returns values in the given range
Real/Float type. Equivalent to the 'double' type in C
Represents a regulat expression compilation error.
Represents failure on all retries
Return instance types, when thrown, will exit the call frame where they were created returning given value.
Suffix subsequence of a sequence
Represents a socket file in a file system (S_IFSOCK)
Represents stack overflow error.
Represents a failure in stat() system call.
A group of named counters
Represents missing appropriate eswitch/econd/ematch clause.
Represents a link in a file system (S_IFLNK)
Type for types. F f(t:Type) ...; f(Arr) ...
Represents an error of reading undefined local variable.
ArgvMatcher internal type, do not use!