The main class of the program.

Sys is a singleton class, its only instance is accessible from everywhere with sys.

Because of this, methods that should be accessible from everywhere, like print or exit, are defined in Sys. Moreover, unless there is an ambiguity with self, the receiver of a call to these methods is implicitly sys. Basically it means that the two following instructions are equivalent.

print "Hello World"
sys.print "Hello World"

Methods Implicitly Defined in Sys

Sys is the class where are defined top-level methods, i.e. those defined outside of any class like in a procedural language. Basically it means that

redef class Sys
   fun foo do print "hello"
end

is equivalent with

fun foo print "hello"

As a corollary, in a top-level method, self (the current receiver) is always sys.

Introduced properties

private var _active_actors: SynchronizedCounter

core :: Sys :: _active_actors

Number of active actors
private var _all_root_textures: TextureSet

core :: Sys :: _all_root_textures

All declared root textures
private var _args_cache: nullable Sequence[String]

core :: Sys :: _args_cache

private var _arr_len: Counter[Int]

core :: Sys :: _arr_len

Keeps the average length of an Array when calling to_s
private var _arr_s_len: Counter[Int]

core :: Sys :: _arr_s_len

Tracks the average length of the Strings of an array when calling to_s
private var _asciiflatstr_allocations: Int

core :: Sys :: _asciiflatstr_allocations

Counts the number of allocations of ASCIIFlatString
private var _asset_textures_by_name: Map[String, TextureAsset]

core :: Sys :: _asset_textures_by_name

Textures loaded from .mtl files for models
private var _atomic: AtomicInt

core :: Sys :: _atomic

private var _auto_hash_display: Bool

core :: Sys :: _auto_hash_display

Activate the automatic call of show_hash_stats at the end of programs
private var _byte_length_call: Counter[String]

core :: Sys :: _byte_length_call

Counter of the times byte_length is called on FlatString
private var _bytepos_call: Counter[String]

core :: Sys :: _bytepos_call

Counter of the times bytepos is called on each type of receiver
private var _chk_sums: Array[Int]

core :: Sys :: _chk_sums

private var _chunk_sz: Int

core :: Sys :: _chunk_sz

private var _cib: Array[Float]

core :: Sys :: _cib

private var _class_loader: nullable JavaObject

core :: Sys :: _class_loader

private var _colors: Array[String]

core :: Sys :: _colors

private var _commands: Map[String, Command]

core :: Sys :: _commands

All command line actions, mapped to their short name
private var _complements: Array[Array[Int]]

core :: Sys :: _complements

Matrix for complementing colors
private var _concat_allocations: Int

core :: Sys :: _concat_allocations

Counts the number of allocations of Concat
private var _concat_cache_miss: Int

core :: Sys :: _concat_cache_miss

Count the number of times that an indexed access
private var _crb: Array[Float]

core :: Sys :: _crb

private var _data: Array[Array[Int]]

core :: Sys :: _data

private var _debug_level: Int

core :: Sys :: _debug_level

Debug severity level
private var _en_count: Int

core :: Sys :: _en_count

Number of calls of HashCollection::enlarge
private var _en_tot_cap: Int

core :: Sys :: _en_tot_cap

Total capacity of hash collections receiver HashCollection::enlarge
private var _en_tot_length: Int

core :: Sys :: _en_tot_length

Total length of hash collections receiver of HashCollection::enlarge
private var _english_freqs: HashMap[Char, Float]

core :: Sys :: _english_freqs

English letter frequency map
private var _error_level: Int

core :: Sys :: _error_level

Error severity level
private var _fact: Array[Int]

core :: Sys :: _fact

private var _fatal_level: Int

core :: Sys :: _fatal_level

Fatal severity level
private var _first_byte_call: Int

core :: Sys :: _first_byte_call

Calls to the first_byte property of a FlatString
private var _flatbuf_allocations: Int

core :: Sys :: _flatbuf_allocations

Counts the number of allocations of FlatBuffer
private var _force_console_colors: Bool

core :: Sys :: _force_console_colors

Force coloring terminal output, even if stdout is not a TTY?
private var _gles: GLES

core :: Sys :: _gles

private var _gt_coll: Int

core :: Sys :: _gt_coll

Number of calls of HashCollection::node_at_idx that collided
private var _gt_count: Int

core :: Sys :: _gt_count

Number of calls of HashCollection::node_at_idx
private var _gt_tot_cap: Int

core :: Sys :: _gt_tot_cap

Total capacity of hash collections receiver HashCollection::node_at_idx
private var _gt_tot_coll: Int

core :: Sys :: _gt_tot_coll

Total length of collisions on calls of HashCollection::node_at_idx that collided
private var _gt_tot_length: Int

core :: Sys :: _gt_tot_length

Total length of hash collections receiver of HashCollection::node_at_idx
private var _host_re: Regex

core :: Sys :: _host_re

private var _iface: String

core :: Sys :: _iface

private var _index_call: Counter[String]

core :: Sys :: _index_call

Counts the number of call to index on a Text
private var _index_len: Counter[Int]

core :: Sys :: _index_len

Distance between characters when looking for a character in a FlatString
private var _info_level: Int

core :: Sys :: _info_level

Info severity level
private var _inv_n: Float

core :: Sys :: _inv_n

private var _jni_env_cache: nullable JniEnv

core :: Sys :: _jni_env_cache

private var _jvm_cache: nullable JavaVM

core :: Sys :: _jvm_cache

private var _keywords: Set[String]

core :: Sys :: _keywords

Reserved keywords in the Nit language
private var _last_byte_call: Int

core :: Sys :: _last_byte_call

Calls to the last_byte property of a FlatString
private var _last_mongoc_error: nullable BSONError

core :: Sys :: _last_mongoc_error

Last error raised by monogdb::MongoClient.
private var _last_mongoc_id: nullable BSONObjectId

core :: Sys :: _last_mongoc_id

Last auto generated id if any.
private var _length_cache_miss: Counter[String]

core :: Sys :: _length_cache_miss

Counts the number of length calls that missed the cache
private var _length_calls: Counter[String]

core :: Sys :: _length_calls

Counts the number of calls to property length
private var _line: String

core :: Sys :: _line

The next line to process by the main program
private var _listeners: HashMap2[String, Int, ConnectionListener]

core :: Sys :: _listeners

Active listeners
private var _listeners_count: HashMap2[String, Int, Int]

core :: Sys :: _listeners_count

Hosts needong each listener
private var _main_thread_cache: nullable MainThread

core :: Sys :: _main_thread_cache

private var _max_flips: Array[Int]

core :: Sys :: _max_flips

private var _methods_in_object: Array[String]

core :: Sys :: _methods_in_object

Top-level methods from the Object class
private var _methods_in_pointer: Array[String]

core :: Sys :: _methods_in_pointer

Methods in the Pointer class
private var _mix: Mix

core :: Sys :: _mix

SDL2 mixer services
private var _models: Set[ModelAsset]

core :: Sys :: _models

All instantiated asset models
private var _mtl_libs: Map[String, Map[String, MtlDef]]

core :: Sys :: _mtl_libs

Loaded .mtl material definitions, sorted by path in assets and material name
private var _n: Int

core :: Sys :: _n

private var _n: Int

core :: Sys :: _n

private var _n_chunks: Int

core :: Sys :: _n_chunks

private var _n_tasks: Int

core :: Sys :: _n_tasks

private var _nb_actors: Int

core :: Sys :: _nb_actors

private var _nb_actors: Int

core :: Sys :: _nb_actors

numbers of actors to create the ring
private var _nb_rounds: Int

core :: Sys :: _nb_rounds

How many time do we iterate before deciding if the number
private var _nb_threads: Int

core :: Sys :: _nb_threads

private var _numbers: Array[String]

core :: Sys :: _numbers

private var _opt_help: OptionBool

core :: Sys :: _opt_help

Help option
private var _opt_verbose: OptionBool

core :: Sys :: _opt_verbose

Verbose mode option
private var _opts: OptionContext

core :: Sys :: _opts

General command line options
private var _p_escapable: String

core :: Sys :: _p_escapable

private var _pbx_file_types: Map[String, String]

core :: Sys :: _pbx_file_types

Map to identify the PBX file type for a given file extension
private var _pbx_uuid_generator: PbxUUIDGenerator

core :: Sys :: _pbx_uuid_generator

Generator of PBX UUIDs quique to an execution of the compiler
private var _perfs: PerfMap

core :: Sys :: _perfs

Main PerfMap available by default
private var _placeholder_model: LeafModel

core :: Sys :: _placeholder_model

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
private var _position_call: Counter[String]

core :: Sys :: _position_call

Counter of the times bytepos is called on each type of receiver
private var _re_atx_heading: Regex

core :: Sys :: _re_atx_heading

ATX headings matching
private var _re_atx_trailing: Regex

core :: Sys :: _re_atx_trailing

ATX trailings matching
private var _re_closing_fence: Regex

core :: Sys :: _re_closing_fence

Closing fence matching
private var _re_escaped: Regex

core :: Sys :: _re_escaped

private var _re_html_blocks: Array[Array[nullable Regex]]

core :: Sys :: _re_html_blocks

HTML blocks patterns
private var _re_list_marker: Regex

core :: Sys :: _re_list_marker

List marker matching
private var _re_opening_fence: Regex

core :: Sys :: _re_opening_fence

Opening fence matching
private var _re_setext_heading: Regex

core :: Sys :: _re_setext_heading

SeText headings matching
private var _re_thematic_break: Regex

core :: Sys :: _re_thematic_break

Thematic break pattern
private var _re_trailing_blank_lines: Regex

core :: Sys :: _re_trailing_blank_lines

Blank lines matching
private var _re_whitespace: Regex

core :: Sys :: _re_whitespace

private var _rotation_roll: Float

core :: Sys :: _rotation_roll

private var _rotation_yaw: Float

core :: Sys :: _rotation_yaw

private var _sdl: SDL

core :: Sys :: _sdl

Access to the global methods of sdl2
private var _sessions: HashMap[String, Session]

core :: Sys :: _sessions

Active sessions
private var _sounds: Array[PlayableAudio]

core :: Sys :: _sounds

All instantiated sounds
private var _st_coll: Int

core :: Sys :: _st_coll

Number of calls of HashCollection::store that collided
private var _st_count: Int

core :: Sys :: _st_count

Number of calls of HashCollection::store
private var _st_tot_cap: Int

core :: Sys :: _st_tot_cap

Total capacity of hash collections receiver HashCollection::store
private var _st_tot_coll: Int

core :: Sys :: _st_tot_coll

Total length of collisions on calls of HashCollection::store that collided
private var _st_tot_length: Int

core :: Sys :: _st_tot_length

Total length of hash collections receiver of HashCollection::store
private var _stderr: Writer

core :: Sys :: _stderr

Standard output for errors
private var _stdin: PollableReader

core :: Sys :: _stdin

Standard input
private var _stdout: Writer

core :: Sys :: _stdout

Standard output
private var _stdout_isatty: Bool

core :: Sys :: _stdout_isatty

private var _str_byte_length: Counter[Int]

core :: Sys :: _str_byte_length

Length (bytes) of the FlatString created by lib
private var _str_full_created: Int

core :: Sys :: _str_full_created

Number of strings created with full length created
private var _task_id: AtomicInt

core :: Sys :: _task_id

private var _tcp_addr: String

core :: Sys :: _tcp_addr

Config for test sockets
private var _tcp_port: Int

core :: Sys :: _tcp_port

private var _test_host: String

core :: Sys :: _test_host

Use localhost for testing
private var _testing_id: Int

core :: Sys :: _testing_id

private var _uniflatstr_allocations: Int

core :: Sys :: _uniflatstr_allocations

Counts the number of allocations of UnicodeFlatString
private var _unknown_level: Int

core :: Sys :: _unknown_level

Unknown severity level
private var _warn_level: Int

core :: Sys :: _warn_level

Warning severity level
fun abstract_kind: MClassKind

core :: Sys :: abstract_kind

The class kind abstract
fun active_actors: SynchronizedCounter

core :: Sys :: active_actors

Number of active actors
protected fun active_actors=(active_actors: SynchronizedCounter)

core :: Sys :: active_actors=

Number of active actors
fun add_history(data: String)

core :: Sys :: add_history

Adds the data String to the history no matter what it contains
fun all_root_textures: TextureSet

core :: Sys :: all_root_textures

All declared root textures
protected fun all_root_textures=(all_root_textures: TextureSet)

core :: Sys :: all_root_textures=

All declared root textures
fun alpha_comparator: Comparator

core :: Sys :: alpha_comparator

Stateless comparator that naively use to_s to compare things.
fun android_r_layout_simple_list_item_1: Int

core :: Sys :: android_r_layout_simple_list_item_1

Java getter: android.R$layout.simple_list_item_1
fun android_r_layout_simple_list_item_2: Int

core :: Sys :: android_r_layout_simple_list_item_2

Java getter: android.R$layout.simple_list_item_2
fun android_r_layout_simple_list_item_activated_1: Int

core :: Sys :: android_r_layout_simple_list_item_activated_1

Java getter: android.R$layout.simple_list_item_activated_1
fun android_r_layout_simple_list_item_activated_2: Int

core :: Sys :: android_r_layout_simple_list_item_activated_2

Java getter: android.R$layout.simple_list_item_activated_2
fun android_r_layout_simple_list_item_checked: Int

core :: Sys :: android_r_layout_simple_list_item_checked

Java getter: android.R$layout.simple_list_item_checked
fun android_r_layout_simple_list_item_multiple_choice: Int

core :: Sys :: android_r_layout_simple_list_item_multiple_choice

Java getter: android.R$layout.simple_list_item_multiple_choice
fun android_r_layout_simple_list_item_single_choice: Int

core :: Sys :: android_r_layout_simple_list_item_single_choice

Java getter: android.R$layout.simple_list_item_single_choice
fun android_r_layout_simple_selectable_list_item: Int

core :: Sys :: android_r_layout_simple_selectable_list_item

Java getter: android.R$layout.simple_selectable_list_item
fun android_r_style_text_appearance_large: Int

core :: Sys :: android_r_style_text_appearance_large

Java getter: android.R$style.TextAppearance_Large
fun android_r_style_text_appearance_medium: Int

core :: Sys :: android_r_style_text_appearance_medium

Java getter: android.R$style.TextAppearance_Medium
fun android_r_style_text_appearance_small: Int

core :: Sys :: android_r_style_text_appearance_small

Java getter: android.R$style.TextAppearance_Small
fun android_view_key_event_keycode_back: Int

core :: Sys :: android_view_key_event_keycode_back

Java getter: android.view.KeyEvent.KEYCODE_BACK
fun android_widget_adapter_ignore_item_view_type: Int

core :: Sys :: android_widget_adapter_ignore_item_view_type

Java getter: android.widget.Adapter.IGNORE_ITEM_VIEW_TYPE
fun android_widget_adapter_no_selection: Int

core :: Sys :: android_widget_adapter_no_selection

Java getter: android.widget.Adapter.NO_SELECTION
fun app: App

core :: Sys :: app

The running App
fun args: Sequence[String]

core :: Sys :: args

The arguments of the program as given by the OS
private fun args_cache: nullable Sequence[String]

core :: Sys :: args_cache

private fun args_cache=(args_cache: nullable Sequence[String])

core :: Sys :: args_cache=

fun arr_len: Counter[Int]

core :: Sys :: arr_len

Keeps the average length of an Array when calling to_s
protected fun arr_len=(arr_len: Counter[Int])

core :: Sys :: arr_len=

Keeps the average length of an Array when calling to_s
fun arr_s_len: Counter[Int]

core :: Sys :: arr_s_len

Tracks the average length of the Strings of an array when calling to_s
protected fun arr_s_len=(arr_s_len: Counter[Int])

core :: Sys :: arr_s_len=

Tracks the average length of the Strings of an array when calling to_s
private fun array1d_copy_to(fromarr: Array[Int], oarr: Array[Int])

core :: Sys :: array1d_copy_to

fun asciiflatstr_allocations: Int

core :: Sys :: asciiflatstr_allocations

Counts the number of allocations of ASCIIFlatString
protected fun asciiflatstr_allocations=(asciiflatstr_allocations: Int)

core :: Sys :: asciiflatstr_allocations=

Counts the number of allocations of ASCIIFlatString
private fun asset_content(path: NSString): NSString

core :: Sys :: asset_content

private fun asset_path(path: NSString): NSString

core :: Sys :: asset_path

fun asset_textures_by_name: Map[String, TextureAsset]

core :: Sys :: asset_textures_by_name

Textures loaded from .mtl files for models
protected fun asset_textures_by_name=(asset_textures_by_name: Map[String, TextureAsset])

core :: Sys :: asset_textures_by_name=

Textures loaded from .mtl files for models
private fun asset_url(path: NSString): NSObject

core :: Sys :: asset_url

fun atan2(y: Float, x: Float): Float

core :: Sys :: atan2

Computes the arc tangent given y and x.
protected fun atomic=(atomic: AtomicInt)

core :: Sys :: atomic=

fun auto_hash_display: Bool

core :: Sys :: auto_hash_display

Activate the automatic call of show_hash_stats at the end of programs
fun auto_hash_display=(auto_hash_display: Bool)

core :: Sys :: auto_hash_display=

Activate the automatic call of show_hash_stats at the end of programs
fun avg_arr_len: Float

core :: Sys :: avg_arr_len

Compute the average array length.
fun avg_s_len: Float

core :: Sys :: avg_s_len

Compute the average string length.
private fun back_face: Int

core :: Sys :: back_face

fun bar(i: Int, s: String): Threadedbar

core :: Sys :: bar

Parameterized threaded method, same as foo, but with parameters
fun baz(i: Int, j: Int): Threadedbaz

core :: Sys :: baz

Parameterized threaded method with a return type
fun bev_event_connected: Int

core :: Sys :: bev_event_connected

connect operation finished.
fun bev_event_eof: Int

core :: Sys :: bev_event_eof

eof file reached
fun bev_event_error: Int

core :: Sys :: bev_event_error

unrecoverable error encountered
fun bev_event_reading: Int

core :: Sys :: bev_event_reading

error encountered while reading
fun bev_event_timeout: Int

core :: Sys :: bev_event_timeout

user-specified timeout reached
fun bev_event_writing: Int

core :: Sys :: bev_event_writing

error encountered while writing
fun bev_opt_close_on_free: Int

core :: Sys :: bev_opt_close_on_free

Close the underlying file descriptor/bufferevent/whatever when this bufferevent is freed.
fun bev_opt_defer_callbacks: Int

core :: Sys :: bev_opt_defer_callbacks

Run callbacks deferred in the event loop.
fun bev_opt_threadsafe: Int

core :: Sys :: bev_opt_threadsafe

If threading is enabled, protect the operations on this bufferevent with a lock.
fun bev_opt_unlock_callbacks: Int

core :: Sys :: bev_opt_unlock_callbacks

If set, callbacks are executed without locks being held on the bufferevent.
fun bind_screen_framebuffer(fbo: Int)

core :: Sys :: bind_screen_framebuffer

Portable indirection to glBindFramebuffer(gl_FRAMEBUFFER, fbo)
fun bindtextdomain(domain: String, dir: String)

core :: Sys :: bindtextdomain

Gettext bindtextdomain, SEE gettext manual for further info
fun blue: Int

core :: Sys :: blue

private fun bottom_face: Int

core :: Sys :: bottom_face

private fun bottom_ln: Int

core :: Sys :: bottom_ln

fun bound_platform: String

core :: Sys :: bound_platform

Platform bound at compilation (by importation or -m)
fun buffer_mode_full: Int

core :: Sys :: buffer_mode_full

Enumeration for buffer mode full (flushes when buffer is full)
fun buffer_mode_line: Int

core :: Sys :: buffer_mode_line

Enumeration for buffer mode line (flushes when a \n is encountered)
fun buffer_mode_none: Int

core :: Sys :: buffer_mode_none

Enumeration for buffer mode none (flushes ASAP when something is written)
fun byte_length_call: Counter[String]

core :: Sys :: byte_length_call

Counter of the times byte_length is called on FlatString
protected fun byte_length_call=(byte_length_call: Counter[String])

core :: Sys :: byte_length_call=

Counter of the times byte_length is called on FlatString
fun bytepos_call: Counter[String]

core :: Sys :: bytepos_call

Counter of the times bytepos is called on each type of receiver
protected fun bytepos_call=(bytepos_call: Counter[String])

core :: Sys :: bytepos_call=

Counter of the times bytepos is called on each type of receiver
fun check_error(loc: String)

core :: Sys :: check_error

Check for an error, then print and clear it
private fun check_git

core :: Sys :: check_git

Check if git is available, exit if not
fun check_signals: Bool

core :: Sys :: check_signals

Check signals for safe operation
protected fun chk_sums=(chk_sums: Array[Int])

core :: Sys :: chk_sums=

fun chunk_sz: Int

core :: Sys :: chunk_sz

protected fun chunk_sz=(chunk_sz: Int)

core :: Sys :: chunk_sz=

fun cib: Array[Float]

core :: Sys :: cib

protected fun cib=(cib: Array[Float])

core :: Sys :: cib=

abstract fun class_inheritance_metamodel: POSet[String]

core :: Sys :: class_inheritance_metamodel

Class inheritance graph, implemented by the json package
protected fun class_inheritance_metamodel=(class_inheritance_metamodel: POSet[String])

core :: Sys :: class_inheritance_metamodel=

private intern fun class_inheritance_metamodel_json: CString

core :: Sys :: class_inheritance_metamodel_json

Class inheritance graph as a POSet[String] serialized to JSON
private fun class_loader: nullable JavaObject

core :: Sys :: class_loader

private fun class_loader=(class_loader: nullable JavaObject)

core :: Sys :: class_loader=

private fun class_loader_method: nullable JMethodID

core :: Sys :: class_loader_method

private fun class_loader_method=(class_loader_method: nullable JMethodID)

core :: Sys :: class_loader_method=

fun clear_hash_stats

core :: Sys :: clear_hash_stats

Reset the hash statistics to 0
private fun clock: Int

core :: Sys :: clock

fun clock_agent=(clock_agent: ClockAgent)

core :: Sys :: clock_agent=

fun colors: Array[String]

core :: Sys :: colors

protected fun colors=(colors: Array[String])

core :: Sys :: colors=

fun comm_world: Comm

core :: Sys :: comm_world

Shortcut to the world communicator (same as new Comm.world)
private fun command_help=(command_help: CommandHelp)

core :: Sys :: command_help=

private fun command_install=(command_install: CommandInstall)

core :: Sys :: command_install=

private fun command_list=(command_list: CommandList)

core :: Sys :: command_list=

private fun command_uninstall=(command_uninstall: CommandUninstall)

core :: Sys :: command_uninstall=

private fun command_update=(command_update: CommandUpgrade)

core :: Sys :: command_update=

fun commands: Map[String, Command]

core :: Sys :: commands

All command line actions, mapped to their short name
protected fun commands=(commands: Map[String, Command])

core :: Sys :: commands=

All command line actions, mapped to their short name
fun complements: Array[Array[Int]]

core :: Sys :: complements

Matrix for complementing colors
protected fun complements=(complements: Array[Array[Int]])

core :: Sys :: complements=

Matrix for complementing colors
fun compute_nullables_metrics(modelbuilder: ModelBuilder)

core :: Sys :: compute_nullables_metrics

Visit the AST and print metrics about the usage of send on nullable reciever.
fun compute_refinement_metrics(model: Model)

core :: Sys :: compute_refinement_metrics

Print refinement usage metrics
fun compute_self_metrics(modelbuilder: ModelBuilder)

core :: Sys :: compute_self_metrics

Visit the AST and print metics about the usage of self.
fun compute_static_types_metrics(modelbuilder: ModelBuilder)

core :: Sys :: compute_static_types_metrics

Visit the AST and print metrics on the usage of explicit static types.
fun compute_tables_metrics(main: MModule)

core :: Sys :: compute_tables_metrics

Print class tables metrics for the classes of the program main
fun concat_allocations: Int

core :: Sys :: concat_allocations

Counts the number of allocations of Concat
protected fun concat_allocations=(concat_allocations: Int)

core :: Sys :: concat_allocations=

Counts the number of allocations of Concat
fun concat_cache_miss: Int

core :: Sys :: concat_cache_miss

Count the number of times that an indexed access
protected fun concat_cache_miss=(concat_cache_miss: Int)

core :: Sys :: concat_cache_miss=

Count the number of times that an indexed access
fun concrete_kind: MClassKind

core :: Sys :: concrete_kind

The class kind concrete
fun convex_hull(points: Array[Point[Float]]): ConvexPolygon

core :: Sys :: convex_hull

Get the convex hull of the set of points
private fun counterclock: Int

core :: Sys :: counterclock

fun crb: Array[Float]

core :: Sys :: crb

protected fun crb=(crb: Array[Float])

core :: Sys :: crb=

protected fun create_default_jvm

core :: Sys :: create_default_jvm

Called by jvm and jni_env to instantiate a Java Virtual Machine.
fun data: Array[Array[Int]]

core :: Sys :: data

protected fun data=(data: Array[Array[Int]])

core :: Sys :: data=

fun debug_gamnit: Bool

core :: Sys :: debug_gamnit

Should Gamnit be more verbose?
fun debug_level: Int

core :: Sys :: debug_level

Debug severity level
protected fun debug_level=(debug_level: Int)

core :: Sys :: debug_level=

Debug severity level
fun default_comparator: DefaultComparator

core :: Sys :: default_comparator

Easy-to-use general stateless default comparator that uses <=> to compare things.
fun default_reverse_comparator: DefaultReverseComparator

core :: Sys :: default_reverse_comparator

Easy-to-use general stateless default reverse comparator.
private fun dialog

core :: Sys :: dialog

private fun diff(file1: String, file2: String): String

core :: Sys :: diff

Return result from diff between file1 and file2.
fun discover_local_servers(timeout: nullable Float): Array[RemoteServerConfig]

core :: Sys :: discover_local_servers

Discover local servers responding on UDP discovery_port
fun discovery_port: Int

core :: Sys :: discovery_port

Server port listening for discovery requests
private fun discovery_request_message: String

core :: Sys :: discovery_request_message

First word in discovery requests
private fun discovery_response_message: String

core :: Sys :: discovery_response_message

First word in discovery responses
fun div(n: Int, d: Int): String

core :: Sys :: div

Helper function to display n/d and handle division by 0
private fun div(n: Int, d: Int): String

core :: Sys :: div

private fun dlerror: CString

core :: Sys :: dlerror

fun do_work(mainmodule: MModule, given_mmodules: SequenceRead[MModule], modelbuilder: ModelBuilder)

core :: Sys :: do_work

Easy entry point to prototype a specific work or proof-of-concept.
fun egid: Int

core :: Sys :: egid

The effective group id of this process
fun egid=(gid: Int): Bool

core :: Sys :: egid=

Set the effective group id of this process
fun egl_default_display: Pointer

core :: Sys :: egl_default_display

Handle to the default display to use with EGL
fun en_count: Int

core :: Sys :: en_count

Number of calls of HashCollection::enlarge
protected fun en_count=(en_count: Int)

core :: Sys :: en_count=

Number of calls of HashCollection::enlarge
fun en_tot_cap: Int

core :: Sys :: en_tot_cap

Total capacity of hash collections receiver HashCollection::enlarge
protected fun en_tot_cap=(en_tot_cap: Int)

core :: Sys :: en_tot_cap=

Total capacity of hash collections receiver HashCollection::enlarge
fun en_tot_length: Int

core :: Sys :: en_tot_length

Total length of hash collections receiver of HashCollection::enlarge
protected fun en_tot_length=(en_tot_length: Int)

core :: Sys :: en_tot_length=

Total length of hash collections receiver of HashCollection::enlarge
fun enable_debug_mode

core :: Sys :: enable_debug_mode

Enable some relatively expensive debugging checks that would normally be turned off
fun english_freqs: HashMap[Char, Float]

core :: Sys :: english_freqs

English letter frequency map
protected fun english_freqs=(english_freqs: HashMap[Char, Float])

core :: Sys :: english_freqs=

English letter frequency map
fun enum_kind: MClassKind

core :: Sys :: enum_kind

The class kind enum
fun errno: Int

core :: Sys :: errno

Number of the last error
private fun error_espace: Int

core :: Sys :: error_espace

fun error_level: Int

core :: Sys :: error_level

Error severity level
protected fun error_level=(error_level: Int)

core :: Sys :: error_level=

Error severity level
private fun error_nomatch: Int

core :: Sys :: error_nomatch

fun euid: Int

core :: Sys :: euid

The effective user id of this process
fun euid=(uid: Int): Bool

core :: Sys :: euid=

Set the effective user id of this process
fun ev_read: Int

core :: Sys :: ev_read

Read operation
fun ev_write: Int

core :: Sys :: ev_write

Write operation
fun evutil_socket_error: Int

core :: Sys :: evutil_socket_error

Global error code for the last socket operation on the calling thread
fun evutil_socket_error_to_string(error_code: Int): CString

core :: Sys :: evutil_socket_error_to_string

Convert an error code from evutil_socket_error to a string
intern fun exit(exit_value: Int)

core :: Sys :: exit

Quit the program with a specific return code
fun exit_thread(value: nullable Object)

core :: Sys :: exit_thread

Exit current thread and return value to caller of Thread::join
fun extern_kind: MClassKind

core :: Sys :: extern_kind

The class kind extern
fun fact: Array[Int]

core :: Sys :: fact

protected fun fact=(fact: Array[Int])

core :: Sys :: fact=

fun fatal_level: Int

core :: Sys :: fatal_level

Fatal severity level
protected fun fatal_level=(fatal_level: Int)

core :: Sys :: fatal_level=

Fatal severity level
fun file_open(path: String): ForAbuser[FileReader]

core :: Sys :: file_open

Open and read a file through a for abuse.
private fun find_class_loader(native_context: NativeContext)

core :: Sys :: find_class_loader

fun first_byte_call: Int

core :: Sys :: first_byte_call

Calls to the first_byte property of a FlatString
protected fun first_byte_call=(first_byte_call: Int)

core :: Sys :: first_byte_call=

Calls to the first_byte property of a FlatString
private fun flag_extended: Int

core :: Sys :: flag_extended

private fun flag_icase: Int

core :: Sys :: flag_icase

private fun flag_newline: Int

core :: Sys :: flag_newline

private fun flag_nosub: Int

core :: Sys :: flag_nosub

private fun flag_notbol: Int

core :: Sys :: flag_notbol

private fun flag_noteol: Int

core :: Sys :: flag_noteol

fun flatbuf_allocations: Int

core :: Sys :: flatbuf_allocations

Counts the number of allocations of FlatBuffer
protected fun flatbuf_allocations=(flatbuf_allocations: Int)

core :: Sys :: flatbuf_allocations=

Counts the number of allocations of FlatBuffer
fun foo: Threadedfoo

core :: Sys :: foo

the is threaded annotation makes this method run on an other thread
fun force_console_colors: Bool

core :: Sys :: force_console_colors

Force coloring terminal output, even if stdout is not a TTY?
fun force_console_colors=(force_console_colors: Bool)

core :: Sys :: force_console_colors=

Force coloring terminal output, even if stdout is not a TTY?
intern fun force_garbage_collection

core :: Sys :: force_garbage_collection

Initiate a garbage collection
fun from_c_call_context: FromCCallContext

core :: Sys :: from_c_call_context

Context when calling generated code from user C code
private fun from_objc_call_context: FromObjCCallContext

core :: Sys :: from_objc_call_context

Calls from Objective-C to C
private fun front_face: Int

core :: Sys :: front_face

fun fun_to_s: Function[Object, String]

core :: Sys :: fun_to_s

Stateless singleton that reify to the to_s method.
private fun gammit_gl_error: nullable Error

core :: Sys :: gammit_gl_error

fun gdk_threads_add_idle(task: Task): Int

core :: Sys :: gdk_threads_add_idle

Add a callback to execute whenever there are no higher priority events pending
fun gen_generics(nargs: Int): Array[String]

core :: Sys :: gen_generics

Generates of an array of formal type as strings.
fun generate_class_hierarchy(toolcontext: ToolContext, mmodule: MModule)

core :: Sys :: generate_class_hierarchy

Create a dot file representing the class hierarchy of a model.
fun generate_classdef_hierarchy(toolcontext: ToolContext, model: Model)

core :: Sys :: generate_classdef_hierarchy

Create a dot file representing the classdef hierarchy of a model.
fun generate_functypes(n: Int, writer: Writer)

core :: Sys :: generate_functypes

Writes all functional types
fun generate_model_hyperdoc(toolcontext: ToolContext, model: Model)

core :: Sys :: generate_model_hyperdoc

Genetate a HTML file for the model.
fun generate_module_hierarchy(toolcontext: ToolContext, given_mmodules: Collection[MModule])

core :: Sys :: generate_module_hierarchy

Create a dot file representing the module hierarchy of a model.
fun generate_token(length: nullable Int, force_rand: nullable Bool): String

core :: Sys :: generate_token

Generate a random token of length chars long
fun get_github_oauth: String

core :: Sys :: get_github_oauth

Gets the Github token from git configuration
fun get_microtime: Int

core :: Sys :: get_microtime

The number of microseconds elapsed since January 1, 1970
fun get_millitime: Int

core :: Sys :: get_millitime

The number of milliseconds elapsed since January 1, 1970
fun get_time: Int

core :: Sys :: get_time

The number of seconds elapsed since January 1, 1970
fun getc: Char

core :: Sys :: getc

Read a character from the standard input (stdin).
fun getcwd: String

core :: Sys :: getcwd

Return the working (current) directory
fun gethostbyname(name: CString): NativeSocketHostent

core :: Sys :: gethostbyname

Get network host entry
fun gets: String

core :: Sys :: gets

Read a line from the standard input (stdin).
fun gid: Int

core :: Sys :: gid

Current real group id of this process
fun gid=(gid: Int): Bool

core :: Sys :: gid=

Set the current real group id of this process
fun git_run(command: String...): String

core :: Sys :: git_run

Execute a git command and return the result
fun gl: GLES

core :: Sys :: gl

Entry points to OpenGL ES 2.0 services
fun glActiveTexture(texture: GLTextureUnit)

core :: Sys :: glActiveTexture

Select server-side active texture unit
fun glAttachShader(program: GLProgram, shader: GLShader)

core :: Sys :: glAttachShader

Attach a shader to program
fun glBindBuffer(target: GLArrayBuffer, buffer: Int)

core :: Sys :: glBindBuffer

Bind the named buffer object
fun glBindFramebuffer(target: GLFramebufferTarget, framebuffer: Int)

core :: Sys :: glBindFramebuffer

Bind framebuffer to a framebuffer target
fun glBindRenderbuffer(target: GLRenderbufferTarget, renderbuffer: Int)

core :: Sys :: glBindRenderbuffer

Bind renderbuffer to a renderbuffer target
fun glBindTexture(target: GLTextureTarget, texture: Int)

core :: Sys :: glBindTexture

Bind the named texture to a target
fun glBlendFunc(src_factor: GLBlendFactor, dst_factor: GLBlendFactor)

core :: Sys :: glBlendFunc

Set the pixel arithmetic for the blending operations
fun glBufferData(target: GLArrayBuffer, size: Int, data: Pointer, usage: GLBufferUsage)

core :: Sys :: glBufferData

Create and initialize a buffer object's data store
fun glBufferSubData(target: GLArrayBuffer, offset: Int, size: Int, data: Pointer)

core :: Sys :: glBufferSubData

Update a subset of a buffer object's data store
fun glCheckFramebufferStatus(target: GLFramebufferTarget): GLFramebufferStatus

core :: Sys :: glCheckFramebufferStatus

Completeness status of a framebuffer object
fun glClear(buffer: GLBuffer)

core :: Sys :: glClear

Clear the buffer
fun glClear

core :: Sys :: glClear

fun glClearColor(red: Float, green: Float, blue: Float, alpha: Float)

core :: Sys :: glClearColor

Specify the clear values for the color buffer, default values are at 0.0
fun glClearDepthf(value: Float)

core :: Sys :: glClearDepthf

Specify the clear value for the depth buffer, default at 1.0
fun glClearStencil(value: Int)

core :: Sys :: glClearStencil

Specify the clear value for the stencil buffer, default at 0
fun glColorMask(red: Bool, green: Bool, blue: Bool, alpha: Bool)

core :: Sys :: glColorMask

Enable and disable writing of frame buffer color components
fun glCompileShader(shader: GLShader)

core :: Sys :: glCompileShader

Compile the shader object
fun glCopyTexImage2D(target: GLTextureTarget, level: Int, internalformat: GLPixelFormat, x: Int, y: Int, width: Int, height: Int, border: Int)

core :: Sys :: glCopyTexImage2D

Copy pixels into a 2D texture image
fun glCopyTexSubImage2D(target: GLTextureTarget, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int)

core :: Sys :: glCopyTexSubImage2D

Copy a two-dimensional texture subimage
fun glCreateProgram: GLProgram

core :: Sys :: glCreateProgram

Create a program object
fun glCreateShader(shader_type: GLShaderType): GLShader

core :: Sys :: glCreateShader

Create a shader object of the shader_type
fun glCullFace(mode: GLCullFaceMode)

core :: Sys :: glCullFace

Specify whether front- or back-facing polygons can be culled, default is back only
fun glDeleteBuffers(buffers: SequenceRead[Int])

core :: Sys :: glDeleteBuffers

Delete named buffer objects
fun glDeleteFramebuffers(framebuffers: SequenceRead[Int])

core :: Sys :: glDeleteFramebuffers

Delete named framebuffer objects
fun glDeleteProgram(program: GLProgram)

core :: Sys :: glDeleteProgram

Delete the program object
fun glDeleteRenderbuffers(renderbuffers: SequenceRead[Int])

core :: Sys :: glDeleteRenderbuffers

Delete named renderbuffer objects
fun glDeleteShader(shader: GLShader)

core :: Sys :: glDeleteShader

Delete the shader object
fun glDeleteTextures(textures: SequenceRead[Int])

core :: Sys :: glDeleteTextures

Delete named textures
fun glDepthFunc(func: GLDepthFunc)

core :: Sys :: glDepthFunc

Specify the value used for depth buffer comparisons
fun glDepthMask(value: Bool)

core :: Sys :: glDepthMask

Enable or disable writing into the depth buffer
fun glDepthRangef(near: Float, far: Float)

core :: Sys :: glDepthRangef

Specify mapping of depth values from normalized device coordinates to window coordinates
fun glDetachShader(program: GLProgram, shader: GLShader)

core :: Sys :: glDetachShader

Detach shader from program
fun glDisableVertexAttribArray(index: Int)

core :: Sys :: glDisableVertexAttribArray

Disable the generic vertex attribute array at index
fun glDrawArrays(mode: GLDrawMode, from: Int, count: Int)

core :: Sys :: glDrawArrays

Render primitives from array data
fun glDrawElements(mode: GLDrawMode, count: Int, typ: GLDataType, indices: Pointer)

core :: Sys :: glDrawElements

Render primitives from array data by their index listed in indices
fun glDrawElementsi(mode: GLDrawMode, count: Int, typ: GLDataType, offset: Int)

core :: Sys :: glDrawElementsi

Render primitives from array data, at offset in the element buffer
fun glEnable

core :: Sys :: glEnable

fun glEnableVertexAttribArray(index: Int)

core :: Sys :: glEnableVertexAttribArray

Enable the generic vertex attribute array at index
fun glFinish

core :: Sys :: glFinish

fun glFinish

core :: Sys :: glFinish

Block until all GL execution is complete
fun glFlush

core :: Sys :: glFlush

fun glFlush

core :: Sys :: glFlush

Force execution of GL commands in finite time
fun glFramebufferRenderbuffer(target: GLFramebufferTarget, attachment: GLAttachment, renderbuffertarget: GLRenderbufferTarget, renderbuffer: Int)

core :: Sys :: glFramebufferRenderbuffer

Attach a renderbuffer object to a framebuffer object
fun glFramebufferTexture2D(target: GLFramebufferTarget, attachment: GLAttachment, texture_target: GLTextureTarget, texture: Int, level: Int)

core :: Sys :: glFramebufferTexture2D

Attach a level of a texture object as a logical buffer to the currently bound framebuffer object
fun glFrontFace(mode: GLFrontFaceMode)

core :: Sys :: glFrontFace

Define front- and back-facing polygons, gc_CCW by default
fun glGenBuffers(n: Int): Array[Int]

core :: Sys :: glGenBuffers

Generate n buffer names
fun glGenFramebuffers(n: Int): Array[Int]

core :: Sys :: glGenFramebuffers

Generate n framebuffer object names
fun glGenRenderbuffers(n: Int): Array[Int]

core :: Sys :: glGenRenderbuffers

Generate n renderbuffer object names
fun glGenTextures(n: Int): Array[Int]

core :: Sys :: glGenTextures

Generate n texture names
fun glGenerateMipmap(target: GLTextureTarget)

core :: Sys :: glGenerateMipmap

Generate and fill set of mipmaps for the texture object target
fun glGetBooleanv(pname: GLGetParameterName, offset: Int): Bool

core :: Sys :: glGetBooleanv

Get the value of the parameter pname at offset
fun glGetError: GLError

core :: Sys :: glGetError

Error information
fun glGetFloatv(pname: GLGetParameterName, offset: Int): Float

core :: Sys :: glGetFloatv

Get the value of the parameter pname at offset
fun glGetIntegerv(pname: GLGetParameterName, offset: Int): Int

core :: Sys :: glGetIntegerv

Get the value of the parameter pname at offset
fun glGetProgramInfoLog(program: GLProgram): String

core :: Sys :: glGetProgramInfoLog

The information log for the program object
fun glGetProgramiv(program: GLProgram, pname: GLGetParameterName): Int

core :: Sys :: glGetProgramiv

Parameter value from a program object
fun glGetShaderInfoLog(shader: GLShader): String

core :: Sys :: glGetShaderInfoLog

The information log for the shader object
fun glGetShaderiv(shader: GLShader, pname: GLGetParameterName): Int

core :: Sys :: glGetShaderiv

Get a parameter value from a shader object
fun glGetString(name: GLEnum): String

core :: Sys :: glGetString

Return a string describing the current GL configuration
fun glHint(target: GLHintTarget, mode: GLHintMode)

core :: Sys :: glHint

Specify implementation specific hints
fun glHint

core :: Sys :: glHint

fun glIsBuffer(name: Int): Bool

core :: Sys :: glIsBuffer

Does name corresponds to a buffer object?
fun glIsFramebuffer(name: Int): Bool

core :: Sys :: glIsFramebuffer

Does name corresponds to a framebuffer object?
fun glIsProgram(name: GLProgram): Bool

core :: Sys :: glIsProgram

Does name corresponds to a program object?
fun glIsRenderbuffer(name: Int): Bool

core :: Sys :: glIsRenderbuffer

Does name corresponds to a renderbuffer object?
fun glIsShader(name: GLShader): Bool

core :: Sys :: glIsShader

Does name corresponds to a shader object?
fun glIsTexture(name: Int): Bool

core :: Sys :: glIsTexture

Does name corresponds to a texture?
fun glLineWidth(width: Float)

core :: Sys :: glLineWidth

Specify the width of rasterized lines
fun glLinkProgram(program: GLProgram)

core :: Sys :: glLinkProgram

Link the program object
fun glPixelStorei(parameter: GLPack, val: Int)

core :: Sys :: glPixelStorei

Set pixel storage modes
fun glPolygonOffset(factor: Float, units: Float)

core :: Sys :: glPolygonOffset

Set the scale and units used to calculate depth values
fun glReadPixels(x: Int, y: Int, width: Int, height: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glReadPixels

Copy a block of pixels from the framebuffer of fomat and typ at data
fun glRenderbufferStorage(target: GLRenderbufferTarget, format: GLRenderbufferFormat, width: Int, height: Int)

core :: Sys :: glRenderbufferStorage

Establish data storage, format and dimensions of the target renderbuffer object's image
fun glShaderSource(shader: GLShader, code: CString)

core :: Sys :: glShaderSource

Replace the source code in the shader object with code
fun glTexImage2D(target: GLTextureTarget, level: Int, internalformat: GLPixelFormat, width: Int, height: Int, border: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glTexImage2D

Specify a two-dimensional texture image
fun glTexParameteri(target: GLTextureTarget, pname: GLTexParameteriName, param: GLTexParameteri)

core :: Sys :: glTexParameteri

Set texture parameters
fun glTexSubImage2D(target: GLTextureTarget, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, border: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glTexSubImage2D

Specify a two-dimensional texture subimage
fun glUniform1f(index: Int, x: Float)

core :: Sys :: glUniform1f

Specify the value of a uniform variable for the current program object
fun glUniform1i(index: Int, x: Int)

core :: Sys :: glUniform1i

Specify the value of a uniform variable for the current program object
fun glUniform2f(index: Int, x: Float, y: Float)

core :: Sys :: glUniform2f

Specify the value of a uniform variable for the current program object
fun glUniform2i(index: Int, x: Int, y: Int)

core :: Sys :: glUniform2i

Specify the value of a uniform variable for the current program object
fun glUniform3f(index: Int, x: Float, y: Float, z: Float)

core :: Sys :: glUniform3f

Specify the value of a uniform variable for the current program object
fun glUniform3i(index: Int, x: Int, y: Int, z: Int)

core :: Sys :: glUniform3i

Specify the value of a uniform variable for the current program object
fun glUniform4f(index: Int, x: Float, y: Float, z: Float, w: Float)

core :: Sys :: glUniform4f

Specify the value of a uniform variable for the current program object
fun glUniform4i(index: Int, x: Int, y: Int, z: Int, w: Int)

core :: Sys :: glUniform4i

Specify the value of a uniform variable for the current program object
fun glUseProgram(program: GLProgram)

core :: Sys :: glUseProgram

Install the program as part of current rendering state
fun glValidateProgram(program: GLProgram)

core :: Sys :: glValidateProgram

Validate the program object
fun glVertexAttrib1f(index: Int, x: Float)

core :: Sys :: glVertexAttrib1f

Specify the value of a generic vertex attribute
fun glVertexAttrib2f(index: Int, x: Float, y: Float)

core :: Sys :: glVertexAttrib2f

Specify the value of a generic vertex attribute
fun glVertexAttrib3f(index: Int, x: Float, y: Float, z: Float)

core :: Sys :: glVertexAttrib3f

Specify the value of a generic vertex attribute
fun glVertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float)

core :: Sys :: glVertexAttrib4f

Specify the value of a generic vertex attribute
fun glVertexAttribPointer(index: Int, size: Int, typ: GLDataType, normalized: Bool, stride: Int, array: NativeGLfloatArray)

core :: Sys :: glVertexAttribPointer

Define an array of generic vertex attribute data
fun glVertexAttribPointeri(index: Int, size: Int, typ: GLDataType, normalized: Bool, stride: Int, offset: Int)

core :: Sys :: glVertexAttribPointeri

Define an array of generic vertex attribute data, at offset in the array buffer
fun glViewport(x: Int, y: Int, width: Int, height: Int)

core :: Sys :: glViewport

Set the viewport
fun gl_ALPHA: Int

core :: Sys :: gl_ALPHA

fun gl_ARRAY_BUFFER: GLArrayBuffer

core :: Sys :: gl_ARRAY_BUFFER

Array buffer target
fun gl_BACK: Int

core :: Sys :: gl_BACK

fun gl_BLEND: Int

core :: Sys :: gl_BLEND

fun gl_BOOL: Int

core :: Sys :: gl_BOOL

fun gl_BYTE: Int

core :: Sys :: gl_BYTE

fun gl_CCW: Int

core :: Sys :: gl_CCW

fun gl_COLOR_ATTACHMENT0: GLAttachment

core :: Sys :: gl_COLOR_ATTACHMENT0

First color attachment point
fun gl_CW: Int

core :: Sys :: gl_CW

fun gl_DECR: Int

core :: Sys :: gl_DECR

fun gl_DEPTH_ATTACHMENT: GLAttachment

core :: Sys :: gl_DEPTH_ATTACHMENT

Depth attachment point
fun gl_DONT_CARE: GLHintMode

core :: Sys :: gl_DONT_CARE

No preference
fun gl_DYNAMIC_DRAW: GLBufferUsage

core :: Sys :: gl_DYNAMIC_DRAW

Data will be modified repeatedly and used many times
fun gl_EQUAL: Int

core :: Sys :: gl_EQUAL

fun gl_EXTENSIONS: GLEnum

core :: Sys :: gl_EXTENSIONS

Space-separated list of supported extensions to GL
fun gl_FALSE: Int

core :: Sys :: gl_FALSE

fun gl_FASTEST: GLHintMode

core :: Sys :: gl_FASTEST

The most efficient option should be chosen
fun gl_FIXED: Int

core :: Sys :: gl_FIXED

fun gl_FLOAT: Int

core :: Sys :: gl_FLOAT

fun gl_FRAMEBUFFER: GLFramebufferTarget

core :: Sys :: gl_FRAMEBUFFER

Target both reading and writing on the framebuffer with glBindFramebuffer
fun gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Not all framebuffer attachment points are framebuffer attachment complete
fun gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

Not all attached images have the same width and height
fun gl_FRAMEBUFFER_UNSUPPORTED: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_UNSUPPORTED

The combination of internal formats of the attached images violates an implementation-dependent set of restrictions
fun gl_FRONT: Int

core :: Sys :: gl_FRONT

fun gl_GENERATE_MIPMAP_HINT: GLHintTarget

core :: Sys :: gl_GENERATE_MIPMAP_HINT

Indicates the quality of filtering when generating mipmap images
fun gl_INCR: Int

core :: Sys :: gl_INCR

fun gl_INT: Int

core :: Sys :: gl_INT

fun gl_KEEP: Int

core :: Sys :: gl_KEEP

fun gl_LESS: Int

core :: Sys :: gl_LESS

fun gl_LINES: Int

core :: Sys :: gl_LINES

fun gl_NEVER: Int

core :: Sys :: gl_NEVER

fun gl_NICEST: GLHintMode

core :: Sys :: gl_NICEST

The most correct, or highest quality, option should be chosen
fun gl_NONE: Int

core :: Sys :: gl_NONE

fun gl_ONE: Int

core :: Sys :: gl_ONE

fun gl_PACK_ALIGNEMENT: GLPack

core :: Sys :: gl_PACK_ALIGNEMENT

Parameter to specify the alignment requirements for the start of each pixel row in memory
fun gl_RENDERBUFFER: GLRenderbufferTarget

core :: Sys :: gl_RENDERBUFFER

Target a renderbuffer with glBindRenderbuffer
fun gl_RENDERER: GLEnum

core :: Sys :: gl_RENDERER

Name of the renderer, typically specific to a particular configuration of the hardware platform
fun gl_RGB: Int

core :: Sys :: gl_RGB

fun gl_RGB565: GLRenderbufferFormat

core :: Sys :: gl_RGB565

5 red, 6 green, 5 blue bits format
fun gl_RGB5_A1: GLRenderbufferFormat

core :: Sys :: gl_RGB5_A1

5 red, 5 green, 5 blue, 1 alpha bits format
fun gl_RGBA: Int

core :: Sys :: gl_RGBA

fun gl_RGBA4: GLRenderbufferFormat

core :: Sys :: gl_RGBA4

4 red, 4 green, 4 blue, 4 alpha bits format
fun gl_RGBA4: Int

core :: Sys :: gl_RGBA4

fun gl_SHADING_LANGUAGE_VERSION: GLEnum

core :: Sys :: gl_SHADING_LANGUAGE_VERSION

Version or release number for the shading language of the form
fun gl_SHORT: Int

core :: Sys :: gl_SHORT

fun gl_STATIC_DRAW: GLBufferUsage

core :: Sys :: gl_STATIC_DRAW

Data will be modified once and used many times
fun gl_STREAM_DRAW: GLBufferUsage

core :: Sys :: gl_STREAM_DRAW

Data will be modified once and used a few times
fun gl_TEXTURE(offset: Int): GLTextureUnit

core :: Sys :: gl_TEXTURE

Texture unit at offset after gl_TEXTURE0
fun gl_TEXTURE_2D: GLTextureTarget

core :: Sys :: gl_TEXTURE_2D

Two-dimensional texture
fun gl_TRUE: Int

core :: Sys :: gl_TRUE

fun gl_UNPACK_ALIGNEMENT: GLPack

core :: Sys :: gl_UNPACK_ALIGNEMENT

Parameter to specify the alignment requirements for the start of each pixel row in memory
fun gl_VENDOR: GLEnum

core :: Sys :: gl_VENDOR

Company responsible for this GL implementation
fun gl_VERSION: GLEnum

core :: Sys :: gl_VERSION

Version or release number
fun gl_ZERO: Int

core :: Sys :: gl_ZERO

private fun gles: GLES

core :: Sys :: gles

private fun gles=(gles: GLES)

core :: Sys :: gles=

fun gt_coll: Int

core :: Sys :: gt_coll

Number of calls of HashCollection::node_at_idx that collided
protected fun gt_coll=(gt_coll: Int)

core :: Sys :: gt_coll=

Number of calls of HashCollection::node_at_idx that collided
fun gt_count: Int

core :: Sys :: gt_count

Number of calls of HashCollection::node_at_idx
protected fun gt_count=(gt_count: Int)

core :: Sys :: gt_count=

Number of calls of HashCollection::node_at_idx
fun gt_tot_cap: Int

core :: Sys :: gt_tot_cap

Total capacity of hash collections receiver HashCollection::node_at_idx
protected fun gt_tot_cap=(gt_tot_cap: Int)

core :: Sys :: gt_tot_cap=

Total capacity of hash collections receiver HashCollection::node_at_idx
fun gt_tot_coll: Int

core :: Sys :: gt_tot_coll

Total length of collisions on calls of HashCollection::node_at_idx that collided
protected fun gt_tot_coll=(gt_tot_coll: Int)

core :: Sys :: gt_tot_coll=

Total length of collisions on calls of HashCollection::node_at_idx that collided
fun gt_tot_length: Int

core :: Sys :: gt_tot_length

Total length of hash collections receiver of HashCollection::node_at_idx
protected fun gt_tot_length=(gt_tot_length: Int)

core :: Sys :: gt_tot_length=

Total length of hash collections receiver of HashCollection::node_at_idx
fun gtk_init

core :: Sys :: gtk_init

Initialize the GTK system
fun gtk_main

core :: Sys :: gtk_main

Hand over control to the GTK event loop
fun gtk_main_iteration: Bool

core :: Sys :: gtk_main_iteration

Run a single iteration of the main loop, block until an event is noticed
fun gtk_main_iteration_do(blocking: Bool): Bool

core :: Sys :: gtk_main_iteration_do

Run a single iteration of the main loop, only block until an event is noticed if blocking
fun gtk_main_quit

core :: Sys :: gtk_main_quit

Quit the GTK event loop and clean up the system
fun gtk_window_width_request: Int

core :: Sys :: gtk_window_width_request

Request width of the GTK window for an app.nit application
fun h_errno: HErrno

core :: Sys :: h_errno

Last error raised by gethostbyname
fun handshake_app_name: String

core :: Sys :: handshake_app_name

Unique name of the application to use in the handshake
fun handshake_app_version: String

core :: Sys :: handshake_app_version

Version of the communication protocol to use in the handshake
fun hello_world

core :: Sys :: hello_world

Print "Hello world!" to the log
fun host_re: Regex

core :: Sys :: host_re

protected fun host_re=(host_re: Regex)

core :: Sys :: host_re=

fun http_status_codes: HttpStatusCodes

core :: Sys :: http_status_codes

Get the default instance of HttpStatusCodes
fun id_int: IdFn[Int]

core :: Sys :: id_int

fun id_str: IdFn[String]

core :: Sys :: id_str

fun iface: String

core :: Sys :: iface

protected fun iface=(iface: String)

core :: Sys :: iface=

fun index_call: Counter[String]

core :: Sys :: index_call

Counts the number of call to index on a Text
protected fun index_call=(index_call: Counter[String])

core :: Sys :: index_call=

Counts the number of call to index on a Text
fun index_len: Counter[Int]

core :: Sys :: index_len

Distance between characters when looking for a character in a FlatString
protected fun index_len=(index_len: Counter[Int])

core :: Sys :: index_len=

Distance between characters when looking for a character in a FlatString
fun inf: Float

core :: Sys :: inf

Positive float infinite (IEEE 754)
fun info_level: Int

core :: Sys :: info_level

Info severity level
protected fun info_level=(info_level: Int)

core :: Sys :: info_level=

Info severity level
private fun init_args

core :: Sys :: init_args

Initialize program_args with the contents of native_argc and native_argv.
fun intent_action: Action

core :: Sys :: intent_action

Allows user to get values with enum-like syntax : intent_action.main
fun intent_category: Category

core :: Sys :: intent_category

Allows user to get values with enum-like syntax : intent_category.home
fun intent_flag: Flag

core :: Sys :: intent_flag

Allows user to get values with enum-like syntax : intent_flag.activity_brought_to_front
fun interface_kind: MClassKind

core :: Sys :: interface_kind

The class kind interface
private fun intern_poll(in_fds: Array[Int], out_fds: Array[Int]): nullable Int

core :: Sys :: intern_poll

fun intrude_visibility: MVisibility

core :: Sys :: intrude_visibility

The visibility level intrude
fun inv_n: Float

core :: Sys :: inv_n

protected fun inv_n=(inv_n: Float)

core :: Sys :: inv_n=

fun is_windows: Bool

core :: Sys :: is_windows

Is this program currently running in a Windows OS?
fun iso88591_codec: Codec

core :: Sys :: iso88591_codec

Returns the instance of a ISO8859-1 Codec
fun jni_env: JniEnv

core :: Sys :: jni_env

Current main JniEnv
fun jni_env=(jni_env: JniEnv)

core :: Sys :: jni_env=

Sets the current default JNI env (use with jvm=)
private fun jni_env_cache: nullable JniEnv

core :: Sys :: jni_env_cache

private fun jni_env_cache=(jni_env_cache: nullable JniEnv)

core :: Sys :: jni_env_cache=

fun join_bytes(arr: Array[Bytes], sep: nullable BytePattern): Bytes

core :: Sys :: join_bytes

Joins an array of bytes arr separated by sep
fun jvm: JavaVM

core :: Sys :: jvm

Default Java Virtual Machine to use
fun jvm=(jvm: JavaVM)

core :: Sys :: jvm=

Sets the current default Java Virtual Machine (use with jni_env=)
private fun jvm_cache: nullable JavaVM

core :: Sys :: jvm_cache

private fun jvm_cache=(jvm_cache: nullable JavaVM)

core :: Sys :: jvm_cache=

fun keywords: Set[String]

core :: Sys :: keywords

Reserved keywords in the Nit language
protected fun keywords=(keywords: Set[String])

core :: Sys :: keywords=

Reserved keywords in the Nit language
fun last_byte_call: Int

core :: Sys :: last_byte_call

Calls to the last_byte property of a FlatString
protected fun last_byte_call=(last_byte_call: Int)

core :: Sys :: last_byte_call=

Calls to the last_byte property of a FlatString
fun last_mongoc_error: nullable BSONError

core :: Sys :: last_mongoc_error

Last error raised by monogdb::MongoClient.
protected fun last_mongoc_error=(last_mongoc_error: nullable BSONError)

core :: Sys :: last_mongoc_error=

Last error raised by monogdb::MongoClient.
fun last_mongoc_id: nullable BSONObjectId

core :: Sys :: last_mongoc_id

Last auto generated id if any.
fun last_mongoc_id=(last_mongoc_id: nullable BSONObjectId)

core :: Sys :: last_mongoc_id=

Last auto generated id if any.
private fun left_col: Int

core :: Sys :: left_col

private fun left_face: Int

core :: Sys :: left_face

fun length_cache_miss: Counter[String]

core :: Sys :: length_cache_miss

Counts the number of length calls that missed the cache
protected fun length_cache_miss=(length_cache_miss: Counter[String])

core :: Sys :: length_cache_miss=

Counts the number of length calls that missed the cache
fun length_calls: Counter[String]

core :: Sys :: length_calls

Counts the number of calls to property length
protected fun length_calls=(length_calls: Counter[String])

core :: Sys :: length_calls=

Counts the number of calls to property length
fun lfalse: LFalse

core :: Sys :: lfalse

The logical false variable.
fun line: String

core :: Sys :: line

The next line to process by the main program
protected fun line=(line: String)

core :: Sys :: line=

The next line to process by the main program
private fun linkto(o: Object): String

core :: Sys :: linkto

private fun listen_on(interfac: Interface, factory: HttpFactory)

core :: Sys :: listen_on

Activate a listener on interfac if there's not already one
private fun listeners: HashMap2[String, Int, ConnectionListener]

core :: Sys :: listeners

Active listeners
private fun listeners=(listeners: HashMap2[String, Int, ConnectionListener])

core :: Sys :: listeners=

Active listeners
private fun listeners_count: HashMap2[String, Int, Int]

core :: Sys :: listeners_count

Hosts needong each listener
private fun listeners_count=(listeners_count: HashMap2[String, Int, Int])

core :: Sys :: listeners_count=

Hosts needong each listener
fun load_jclass(name: CString): JClass

core :: Sys :: load_jclass

Get a Java class by its name from the current jni_env
private fun load_jclass_intern(instance_class_loader: JavaObject, class_loader_findClass: JMethodID, name: CString): JClass

core :: Sys :: load_jclass_intern

fun log_nitcorn_actions: Bool

core :: Sys :: log_nitcorn_actions

Should the actions be logged? This may log sensitive data.
private fun log_write(level: Int, tag: CString, text: CString)

core :: Sys :: log_write

Write text to Android log at priority level with tag tag
fun ltrue: LTrue

core :: Sys :: ltrue

The logical true variable.
fun main

core :: Sys :: main

The main method of a program.
fun main_thread: MainThread

core :: Sys :: main_thread

Handle to the program's main thread
private fun main_thread_cache: nullable MainThread

core :: Sys :: main_thread_cache

private fun main_thread_cache=(main_thread_cache: nullable MainThread)

core :: Sys :: main_thread_cache=

private fun main_thread_mutex=(main_thread_mutex: Mutex)

core :: Sys :: main_thread_mutex=

protected fun max_flips=(max_flips: Array[Int])

core :: Sys :: max_flips=

fun maxlen: Int

core :: Sys :: maxlen

Maxlen is the maximum length of a Leaf node
fun media_types: MediaTypes

core :: Sys :: media_types

MIME types list.
fun methods_in_object: Array[String]

core :: Sys :: methods_in_object

Top-level methods from the Object class
protected fun methods_in_object=(methods_in_object: Array[String])

core :: Sys :: methods_in_object=

Top-level methods from the Object class
fun methods_in_pointer: Array[String]

core :: Sys :: methods_in_pointer

Methods in the Pointer class
protected fun methods_in_pointer=(methods_in_pointer: Array[String])

core :: Sys :: methods_in_pointer=

Methods in the Pointer class
private fun mid_col: Int

core :: Sys :: mid_col

private fun mid_ln: Int

core :: Sys :: mid_ln

fun mix: Mix

core :: Sys :: mix

SDL2 mixer services
protected fun mix=(mix: Mix)

core :: Sys :: mix=

SDL2 mixer services
fun models: Set[ModelAsset]

core :: Sys :: models

All instantiated asset models
protected fun models=(models: Set[ModelAsset])

core :: Sys :: models=

All instantiated asset models
private fun mtl_libs: Map[String, Map[String, MtlDef]]

core :: Sys :: mtl_libs

Loaded .mtl material definitions, sorted by path in assets and material name
private fun mtl_libs=(mtl_libs: Map[String, Map[String, MtlDef]])

core :: Sys :: mtl_libs=

Loaded .mtl material definitions, sorted by path in assets and material name
fun n: Int

core :: Sys :: n

fun n: Int

core :: Sys :: n

protected fun n=(n: Int)

core :: Sys :: n=

protected fun n=(n: Int)

core :: Sys :: n=

fun n_chunks: Int

core :: Sys :: n_chunks

protected fun n_chunks=(n_chunks: Int)

core :: Sys :: n_chunks=

fun n_tasks: Int

core :: Sys :: n_tasks

protected fun n_tasks=(n_tasks: Int)

core :: Sys :: n_tasks=

fun nan: Float

core :: Sys :: nan

Not a Number, representation of an undefined or unrepresentable float (IEEE 754).
fun nanosleep(sec: Int, nanosec: Int): Bool

core :: Sys :: nanosleep

Wait a specific number of second and nanoseconds
private intern fun native_argc: Int

core :: Sys :: native_argc

First argument of the main C function.
private intern fun native_argv(i: Int): CString

core :: Sys :: native_argv

Second argument of the main C function.
private fun native_getcwd: CString

core :: Sys :: native_getcwd

private fun native_glGetProgramInfoLog(program: GLProgram, buf_size: Int, buf: CString): Int

core :: Sys :: native_glGetProgramInfoLog

Return the program information log in buf
private fun native_glGetShaderInfoLog(shader: GLShader, buf_size: Int, buffer: CString): Int

core :: Sys :: native_glGetShaderInfoLog

private fun native_pthread_self: NativePthread

core :: Sys :: native_pthread_self

NativePthread for running thread
private fun native_readline(prompt: CString): CString

core :: Sys :: native_readline

fun nb_actors: Int

core :: Sys :: nb_actors

numbers of actors to create the ring
protected fun nb_actors=(nb_actors: Int)

core :: Sys :: nb_actors=

protected fun nb_actors=(nb_actors: Int)

core :: Sys :: nb_actors=

numbers of actors to create the ring
fun nb_rounds: Int

core :: Sys :: nb_rounds

How many time do we iterate before deciding if the number
protected fun nb_rounds=(nb_rounds: Int)

core :: Sys :: nb_rounds=

How many time do we iterate before deciding if the number
protected fun nb_threads=(nb_threads: Int)

core :: Sys :: nb_threads=

fun new_int_arr(x: nullable Int): InitArrayFn[Int]

core :: Sys :: new_int_arr

private fun next_notification_id: Int

core :: Sys :: next_notification_id

Returns a unique ID for new notifications
private fun next_notification_id_cache=(next_notification_id_cache: Int)

core :: Sys :: next_notification_id_cache=

fun nitpm_lib_dir: String

core :: Sys :: nitpm_lib_dir

Folder where are downloaded nitpm packages
fun none_visibility: MVisibility

core :: Sys :: none_visibility

The visibility level none (no visibility)
fun nslog(text: NSString)

core :: Sys :: nslog

Print a custom string to the log
protected fun numbers=(numbers: Array[String])

core :: Sys :: numbers=

private fun objc_call_context: ObjCCallContext

core :: Sys :: objc_call_context

Calls withing Objective-C code
private fun open_next_stream

core :: Sys :: open_next_stream

Open the next file until there is no more arguments
fun opt_help: OptionBool

core :: Sys :: opt_help

Help option
protected fun opt_help=(opt_help: OptionBool)

core :: Sys :: opt_help=

Help option
fun opt_verbose: OptionBool

core :: Sys :: opt_verbose

Verbose mode option
protected fun opt_verbose=(opt_verbose: OptionBool)

core :: Sys :: opt_verbose=

Verbose mode option
fun opts: OptionContext

core :: Sys :: opts

General command line options
protected fun opts=(opts: OptionContext)

core :: Sys :: opts=

General command line options
private fun p_escapable: String

core :: Sys :: p_escapable

private fun p_escapable=(p_escapable: String)

core :: Sys :: p_escapable=

fun package_visibility: MVisibility

core :: Sys :: package_visibility

The “package” visiblity.
private fun pbx_file_types: Map[String, String]

core :: Sys :: pbx_file_types

Map to identify the PBX file type for a given file extension
private fun pbx_file_types=(pbx_file_types: Map[String, String])

core :: Sys :: pbx_file_types=

Map to identify the PBX file type for a given file extension
private fun pbx_uuid_generator: PbxUUIDGenerator

core :: Sys :: pbx_uuid_generator

Generator of PBX UUIDs quique to an execution of the compiler
private fun pbx_uuid_generator=(pbx_uuid_generator: PbxUUIDGenerator)

core :: Sys :: pbx_uuid_generator=

Generator of PBX UUIDs quique to an execution of the compiler
fun perfs: PerfMap

core :: Sys :: perfs

Main PerfMap available by default
protected fun perfs=(perfs: PerfMap)

core :: Sys :: perfs=

Main PerfMap available by default
fun perfs_print_period: Int

core :: Sys :: perfs_print_period

Number of actions executed before printing the perfs
fun pi: Float

core :: Sys :: pi

Approximate value of pi.
fun pid: Int

core :: Sys :: pid

The pid of the program
fun placeholder_model: LeafModel

core :: Sys :: placeholder_model

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
protected fun placeholder_model=(placeholder_model: LeafModel)

core :: Sys :: placeholder_model=

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
fun pld: Char

core :: Sys :: pld

Partial line forward (U+008B)
fun plu: Char

core :: Sys :: plu

Partial line backward (U+008C)
protected fun poll(streams: Sequence[FileStream]): nullable FileStream

core :: Sys :: poll

returns first available stream to read or write to
fun position_call: Counter[String]

core :: Sys :: position_call

Counter of the times bytepos is called on each type of receiver
protected fun position_call=(position_call: Counter[String])

core :: Sys :: position_call=

Counter of the times bytepos is called on each type of receiver
fun print(object: Object)

core :: Sys :: print

Print an object on the standard output (stdout) and add a newline.
fun print_colors(c1: Int, c2: Int)

core :: Sys :: print_colors

fun print_error(object: Object)

core :: Sys :: print_error

Print object on the error output (stderr or a log system)
private fun print_help

core :: Sys :: print_help

Print the general help message
fun print_lifecycle_events: Bool

core :: Sys :: print_lifecycle_events

Print Android lifecycle events to the log?
fun print_result(n: Int, res: Int, chk: Int)

core :: Sys :: print_result

fun print_stats

core :: Sys :: print_stats

Display statistics in standard output.
private fun print_usage

core :: Sys :: print_usage

fun print_warning(object: Object)

core :: Sys :: print_warning

Print a warning
fun printn(objects: Object...)

core :: Sys :: printn

Print objects on the standard output (stdout).
private fun priority_debug: Int

core :: Sys :: priority_debug

Debug Android log priority
private fun priority_default: Int

core :: Sys :: priority_default

Default Android log priority
private fun priority_error: Int

core :: Sys :: priority_error

Error Android log priority
private fun priority_fatal: Int

core :: Sys :: priority_fatal

Fatal Android log priority
private fun priority_info: Int

core :: Sys :: priority_info

Info Android log priority
private fun priority_silent: Int

core :: Sys :: priority_silent

Silent Android log priority
private fun priority_verbose: Int

core :: Sys :: priority_verbose

Verbose Android log priority
private fun priority_warn: Int

core :: Sys :: priority_warn

Warn Android log priority
fun private_visibility: MVisibility

core :: Sys :: private_visibility

The visibility level private
fun program_args: Sequence[String]

core :: Sys :: program_args

The arguments of the program as given by the OS
fun program_name: String

core :: Sys :: program_name

The name of the program as given by the OS
fun prompt(prompt: Text, add_history: nullable Bool): nullable String

core :: Sys :: prompt

Display prompt in the console and wait for a response
fun prompt_add_history(line: String)

core :: Sys :: prompt_add_history

Add line to the shell history
fun protected_visibility: MVisibility

core :: Sys :: protected_visibility

The visibility level protected
fun public_visibility: MVisibility

core :: Sys :: public_visibility

The visibility level public
fun raw_kind(s: String): MClassKind

core :: Sys :: raw_kind

A class kind with no equivalent semantic in Nit.
private fun re_atx_heading: Regex

core :: Sys :: re_atx_heading

ATX headings matching
private fun re_atx_heading=(re_atx_heading: Regex)

core :: Sys :: re_atx_heading=

ATX headings matching
private fun re_atx_trailing: Regex

core :: Sys :: re_atx_trailing

ATX trailings matching
private fun re_atx_trailing=(re_atx_trailing: Regex)

core :: Sys :: re_atx_trailing=

ATX trailings matching
fun re_closing_fence: Regex

core :: Sys :: re_closing_fence

Closing fence matching
protected fun re_closing_fence=(re_closing_fence: Regex)

core :: Sys :: re_closing_fence=

Closing fence matching
private fun re_escaped: Regex

core :: Sys :: re_escaped

private fun re_escaped=(re_escaped: Regex)

core :: Sys :: re_escaped=

fun re_html_blocks: Array[Array[nullable Regex]]

core :: Sys :: re_html_blocks

HTML blocks patterns
protected fun re_html_blocks=(re_html_blocks: Array[Array[nullable Regex]])

core :: Sys :: re_html_blocks=

HTML blocks patterns
fun re_list_marker: Regex

core :: Sys :: re_list_marker

List marker matching
protected fun re_list_marker=(re_list_marker: Regex)

core :: Sys :: re_list_marker=

List marker matching
fun re_opening_fence: Regex

core :: Sys :: re_opening_fence

Opening fence matching
protected fun re_opening_fence=(re_opening_fence: Regex)

core :: Sys :: re_opening_fence=

Opening fence matching
private fun re_setext_heading: Regex

core :: Sys :: re_setext_heading

SeText headings matching
private fun re_setext_heading=(re_setext_heading: Regex)

core :: Sys :: re_setext_heading=

SeText headings matching
fun re_thematic_break: Regex

core :: Sys :: re_thematic_break

Thematic break pattern
protected fun re_thematic_break=(re_thematic_break: Regex)

core :: Sys :: re_thematic_break=

Thematic break pattern
fun re_trailing_blank_lines: Regex

core :: Sys :: re_trailing_blank_lines

Blank lines matching
protected fun re_trailing_blank_lines=(re_trailing_blank_lines: Regex)

core :: Sys :: re_trailing_blank_lines=

Blank lines matching
private fun re_whitespace: Regex

core :: Sys :: re_whitespace

private fun re_whitespace=(re_whitespace: Regex)

core :: Sys :: re_whitespace=

private fun read_next_line

core :: Sys :: read_next_line

Read the next useful line from file-name arguments
private fun read_only: CString

core :: Sys :: read_only

Constant for read-only file streams
fun readline(message: String, with_history: nullable Bool): nullable String

core :: Sys :: readline

Use the GNU Library readline function
fun red: Int

core :: Sys :: red

private fun right_col: Int

core :: Sys :: right_col

private fun right_face: Int

core :: Sys :: right_face

fun root_window: Window

core :: Sys :: root_window

Hook to create the first window shown to the user
private fun rotation_matrix_cache=(rotation_matrix_cache: nullable Matrix)

core :: Sys :: rotation_matrix_cache=

private fun rotation_pitch: Float

core :: Sys :: rotation_pitch

private fun rotation_pitch=(rotation_pitch: Float)

core :: Sys :: rotation_pitch=

private fun rotation_roll: Float

core :: Sys :: rotation_roll

private fun rotation_roll=(rotation_roll: Float)

core :: Sys :: rotation_roll=

private fun rotation_yaw: Float

core :: Sys :: rotation_yaw

private fun rotation_yaw=(rotation_yaw: Float)

core :: Sys :: rotation_yaw=

fun run

core :: Sys :: run

The entry point for the execution of the whole program.
fun sdl: SDL

core :: Sys :: sdl

Access to the global methods of sdl2
protected fun sdl=(sdl: SDL)

core :: Sys :: sdl=

Access to the global methods of sdl2
fun search(index: ModelIndex, toolcontext: ToolContext, query: String): Float

core :: Sys :: search

private fun self_thread_key=(self_thread_key: NativePthreadKey)

core :: Sys :: self_thread_key=

fun sendmail_is_available: Bool

core :: Sys :: sendmail_is_available

Can we find the external program sendmail?
fun sessions: HashMap[String, Session]

core :: Sys :: sessions

Active sessions
protected fun sessions=(sessions: HashMap[String, Session])

core :: Sys :: sessions=

Active sessions
fun set_alarm(sec: Int)

core :: Sys :: set_alarm

Set alarm signal
fun set_emacs_mode

core :: Sys :: set_emacs_mode

Set emacs keybindings mode
fun set_vi_mode

core :: Sys :: set_vi_mode

Set emacs keybindings mode
fun show_hash_stats

core :: Sys :: show_hash_stats

Force the display of the current hash statistics
fun sigabrt: Int

core :: Sys :: sigabrt

This signal is sent to a process to tell it to abort, i. e. to terminate
fun sigalarm: Int

core :: Sys :: sigalarm

Alarm Clock signal
fun sigbus: Int

core :: Sys :: sigbus

This signal is sent to a process when it causes a bus error
fun sigchild: Int

core :: Sys :: sigchild

Sent to a process when a child process terminates or is interrupted
fun sigcont: Int

core :: Sys :: sigcont

Tell the operating system to continue (restart) a process previously paused by the SIGSTOP or SIGTSTP signal
fun sigfpe: Int

core :: Sys :: sigfpe

Issued if an illegal mathematical operation is attempted
fun sighup: Int

core :: Sys :: sighup

Hang up detected on controlling terminal or death of controlling process
fun sigill: Int

core :: Sys :: sigill

Issued if the user attempts to execute an illegal, malformed, unknown, or privileged instruction
fun sigint: Int

core :: Sys :: sigint

Issued if the user sends an interrupt signal
fun sigkill: Int

core :: Sys :: sigkill

If a process gets this signal it must quit immediately and will not perform any clean-up operations
fun sigpipe: Int

core :: Sys :: sigpipe

Sent to a process when it attempts to write to a pipe without a process connected to the other end
fun sigprof: Int

core :: Sys :: sigprof

Profiling timer expired
fun sigpwr: Int

core :: Sys :: sigpwr

Sent to a process when the system experiences a power failure
fun sigquit: Int

core :: Sys :: sigquit

Issued if the user sends a quit signal
fun sigsegv: Int

core :: Sys :: sigsegv

Sent to a process when it makes an invalid virtual memory reference, or segmentation fault
fun sigstop: Int

core :: Sys :: sigstop

Tell the operating system to stop a process
fun sigsys: Int

core :: Sys :: sigsys

Sent to a process when it passes a bad argument to a system call
fun sigterm: Int

core :: Sys :: sigterm

Software termination signal
fun sigtrap: Int

core :: Sys :: sigtrap

Issued when an exception occurs: a condition that a debugger has requested to be informed of
fun sigtstp: Int

core :: Sys :: sigtstp

Sent to a process by its terminal to request it to stop temporarily
fun sigurg: Int

core :: Sys :: sigurg

Sent to a process when a socket has urgent or out-of-band data available to read
fun sigusr1: Int

core :: Sys :: sigusr1

Sent to a process to indicate user-defined conditions
fun sigusr2: Int

core :: Sys :: sigusr2

Sent to a process to indicate user-defined conditions
fun sigvtalrm: Int

core :: Sys :: sigvtalrm

Virtual timer expired
fun sigwinch: Int

core :: Sys :: sigwinch

Sent to a process when its controlling terminal changes its window size
fun sigxcpu: Int

core :: Sys :: sigxcpu

Sent to a process when it has used the CPU for a duration that exceeds a user-settable value
fun sigxfsz: Int

core :: Sys :: sigxfsz

Sent to a process when it grows a file larger than the maximum allowed size
fun sounds: Array[PlayableAudio]

core :: Sys :: sounds

All instantiated sounds
protected fun sounds=(sounds: Array[PlayableAudio])

core :: Sys :: sounds=

All instantiated sounds
private fun sprite_draw_order_sorter=(sprite_draw_order_sorter: DrawOrderComparator)

core :: Sys :: sprite_draw_order_sorter=

fun sqlite_open_error: Sqlite3Code

core :: Sys :: sqlite_open_error

Last error raised when calling Sqlite3::open
private fun square: String

core :: Sys :: square

fun srand

core :: Sys :: srand

Reinitialize the pseudo-random generator used by the method rand and other.
fun srand_from(x: Int)

core :: Sys :: srand_from

Initialize the pseudo-random generator with the given seed.
fun st_coll: Int

core :: Sys :: st_coll

Number of calls of HashCollection::store that collided
protected fun st_coll=(st_coll: Int)

core :: Sys :: st_coll=

Number of calls of HashCollection::store that collided
fun st_count: Int

core :: Sys :: st_count

Number of calls of HashCollection::store
protected fun st_count=(st_count: Int)

core :: Sys :: st_count=

Number of calls of HashCollection::store
fun st_tot_cap: Int

core :: Sys :: st_tot_cap

Total capacity of hash collections receiver HashCollection::store
protected fun st_tot_cap=(st_tot_cap: Int)

core :: Sys :: st_tot_cap=

Total capacity of hash collections receiver HashCollection::store
fun st_tot_coll: Int

core :: Sys :: st_tot_coll

Total length of collisions on calls of HashCollection::store that collided
protected fun st_tot_coll=(st_tot_coll: Int)

core :: Sys :: st_tot_coll=

Total length of collisions on calls of HashCollection::store that collided
fun st_tot_length: Int

core :: Sys :: st_tot_length

Total length of hash collections receiver of HashCollection::store
protected fun st_tot_length=(st_tot_length: Int)

core :: Sys :: st_tot_length=

Total length of hash collections receiver of HashCollection::store
fun start_not_sticky: Int

core :: Sys :: start_not_sticky

The service may be stopped by the system and will not be restarted
fun start_redeliver_intent: Int

core :: Sys :: start_redeliver_intent

The service is explicitly started and stopped, it is restarted with the last intent if stopped by the system
fun start_sticky: Int

core :: Sys :: start_sticky

The service is explicitly started and stopped, it is restarted if stopped by the system
fun stderr: Writer

core :: Sys :: stderr

Standard output for errors
protected fun stderr=(stderr: Writer)

core :: Sys :: stderr=

Standard output for errors
fun stdin: PollableReader

core :: Sys :: stdin

Standard input
protected fun stdin=(stdin: PollableReader)

core :: Sys :: stdin=

Standard input
fun stdout: Writer

core :: Sys :: stdout

Standard output
protected fun stdout=(stdout: Writer)

core :: Sys :: stdout=

Standard output
private fun stdout_isatty: Bool

core :: Sys :: stdout_isatty

private fun stdout_isatty=(stdout_isatty: Bool)

core :: Sys :: stdout_isatty=

fun str_byte_length: Counter[Int]

core :: Sys :: str_byte_length

Length (bytes) of the FlatString created by lib
protected fun str_byte_length=(str_byte_length: Counter[Int])

core :: Sys :: str_byte_length=

Length (bytes) of the FlatString created by lib
fun str_full_created: Int

core :: Sys :: str_full_created

Number of strings created with full length created
protected fun str_full_created=(str_full_created: Int)

core :: Sys :: str_full_created=

Number of strings created with full length created
fun subset_kind: MClassKind

core :: Sys :: subset_kind

The class kind subset
fun suggest_garbage_collection

core :: Sys :: suggest_garbage_collection

The emscripten GC must be manually invoked, it will not act by itself
fun sum_fn: SumFn

core :: Sys :: sum_fn

fun system(command: Text): Int

core :: Sys :: system

Execute a shell command and return its error code
protected fun task_id=(task_id: AtomicInt)

core :: Sys :: task_id=

fun tcp_addr: String

core :: Sys :: tcp_addr

Config for test sockets
protected fun tcp_addr=(tcp_addr: String)

core :: Sys :: tcp_addr=

Config for test sockets
fun tcp_port: Int

core :: Sys :: tcp_port

protected fun tcp_port=(tcp_port: Int)

core :: Sys :: tcp_port=

private fun test_bound_platform

core :: Sys :: test_bound_platform

Test if the application was bound to a platform, if not crash
fun test_cancel

core :: Sys :: test_cancel

Does not return if the running thread is to be cancelled
fun test_host: String

core :: Sys :: test_host

Use localhost for testing
protected fun test_host=(test_host: String)

core :: Sys :: test_host=

Use localhost for testing
fun test_port: Int

core :: Sys :: test_port

Return a new port for each instance
fun testing_id: Int

core :: Sys :: testing_id

Nitdoc testing ID
protected fun testing_id=(testing_id: Int)

core :: Sys :: testing_id=

fun textdomain(domain: String)

core :: Sys :: textdomain

Gettext textdomain, SEE gettext manual for further info
fun thread: Thread

core :: Sys :: thread

Returns the handle to the running Thread
fun to_c_call_context: ToCCallContext

core :: Sys :: to_c_call_context

Context when calling user C code from generated code
private fun to_objc_call_context: ToObjCCallContext

core :: Sys :: to_objc_call_context

Calls from C to Objective-C
private fun top_face: Int

core :: Sys :: top_face

private fun top_ln: Int

core :: Sys :: top_ln

fun triangulate(points: Array[Point[Float]]): Array[ConvexPolygon]

core :: Sys :: triangulate

Split a polygon into triangles
fun triangulate_recursive(points: Array[Point[Float]], results: Array[ConvexPolygon])

core :: Sys :: triangulate_recursive

Split a polygon into triangles using arrays in-place
fun turn_left(p1: Point[Float], p2: Point[Float], p3: Point[Float]): Bool

core :: Sys :: turn_left

Is the angle between [p1,p2] and [p2,p3] going left (counter clockwise) or right (clockwise) ?
fun uid: Int

core :: Sys :: uid

Current real user id of this process
fun uid=(uid: Int): Bool

core :: Sys :: uid=

Set the real current user id of this process
fun uniflatstr_allocations: Int

core :: Sys :: uniflatstr_allocations

Counts the number of allocations of UnicodeFlatString
protected fun uniflatstr_allocations=(uniflatstr_allocations: Int)

core :: Sys :: uniflatstr_allocations=

Counts the number of allocations of UnicodeFlatString
protected fun unix_socket_path=(unix_socket_path: String)

core :: Sys :: unix_socket_path=

fun unknown_level: Int

core :: Sys :: unknown_level

Unknown severity level
protected fun unknown_level=(unknown_level: Int)

core :: Sys :: unknown_level=

Unknown severity level
fun use_pthreads: Bool

core :: Sys :: use_pthreads

Use Pthreads locking and thread ID functions
fun use_windows_threads: Bool

core :: Sys :: use_windows_threads

Use Windows builtin locking and thread ID functions
fun utf8_codec: Codec

core :: Sys :: utf8_codec

Returns the instance of a UTF-8 Codec
private fun verbose: Bool

core :: Sys :: verbose

fun warn_level: Int

core :: Sys :: warn_level

Warning severity level
protected fun warn_level=(warn_level: Int)

core :: Sys :: warn_level=

Warning severity level
private fun wipe_write: CString

core :: Sys :: wipe_write

Constant for write-only file streams
fun work(n: Int, nb_colors: Int)

core :: Sys :: work

fun x_open_default_display: Pointer

core :: Sys :: x_open_default_display

Open the current display from the environment variables
fun x_open_display(name: String): Pointer

core :: Sys :: x_open_display

Open a specific display
fun xdg_basedir: XdgBasedir

core :: Sys :: xdg_basedir

Get an instance of XdgBasedir
fun xdg_basedir_spec: Float

core :: Sys :: xdg_basedir_spec

Version of XDG Base Directory specification implemented in this library.
fun yellow: Int

core :: Sys :: yellow

Redefined properties

redef type SELF: Sys

core $ Sys :: SELF

Type of this instance, automatically specialized in every class
redef fun bind_screen_framebuffer(fbo: Int)

gamnit :: gamnit_ios $ Sys :: bind_screen_framebuffer

Portable indirection to glBindFramebuffer(gl_FRAMEBUFFER, fbo)
redef fun bound_platform: String

linux :: linux $ Sys :: bound_platform

Platform bound at compilation (by importation or -m)
redef fun bound_platform: String

android :: platform $ Sys :: bound_platform

Platform bound at compilation (by importation or -m)
redef fun class_inheritance_metamodel: POSet[String]

json :: serialization_read $ Sys :: class_inheritance_metamodel

Class inheritance graph, implemented by the json package
redef fun create_default_jvm

android :: dalvik $ Sys :: create_default_jvm

We cannot create a JVM on Android
redef fun do_work(mainmodule: MModule, given_mmodules: SequenceRead[MModule], modelbuilder: ModelBuilder)

nitc :: nitsaf $ Sys :: do_work

Easy entry point to prototype a specific work or proof-of-concept.
redef fun do_work(mainmodule: MModule, given_mmodules: SequenceRead[MModule], modelbuilder: ModelBuilder)

nitc :: test_test_phase $ Sys :: do_work

The body of the specific work.
redef fun do_work(mainmodule: MModule, mmodules: SequenceRead[MModule], mb: ModelBuilder)

nitc :: test_highlight $ Sys :: do_work

Easy entry point to prototype a specific work or proof-of-concept.
redef fun do_work(mainmodule: MModule, given_mmodules: SequenceRead[MModule], modelbuilder: ModelBuilder)

nitc :: test_model_visitor $ Sys :: do_work

The body of the specific work.
redef fun exit(i: Int)

array_debug :: array_debug $ Sys :: exit

Quit the program with a specific return code
redef fun exit(i: Int)

hash_debug :: hash_debug $ Sys :: exit

Quit the program with a specific return code
redef fun exit(i: Int)

text_stat :: text_stat $ Sys :: exit

Quit the program with a specific return code
redef fun force_console_colors: Bool

rubix :: rubix $ Sys :: force_console_colors

Force coloring terminal output, even if stdout is not a TTY?
redef fun force_garbage_collection

emscripten :: emscripten $ Sys :: force_garbage_collection

Initiate a garbage collection
redef init init

core :: environ $ Sys :: init

redef init init

core :: math $ Sys :: init

redef fun jni_env: JniEnv

android :: dalvik $ Sys :: jni_env

Current main JniEnv
redef fun jvm: JavaVM

android :: nit_activity $ Sys :: jvm

Default Java Virtual Machine to use
redef fun jvm: JavaVM

android :: native_app_glue $ Sys :: jvm

Default Java Virtual Machine to use
redef fun load_jclass(name: CString): JClass

android :: dalvik $ Sys :: load_jclass

Get a Java class by its name from the current jni_env
redef fun main

pthreads :: threaded_example $ Sys :: main

The main method of a program.
redef fun main

libevent :: libevent_example $ Sys :: main

The main method of a program.
redef fun main

html :: html_page $ Sys :: main

The main method of a program.
redef fun main

dot :: hello $ Sys :: main

The main method of a program.
redef fun main

template :: tmpl_composer $ Sys :: main

The main method of a program.
redef fun main

xdg_basedir :: show_basedir $ Sys :: main

The main method of a program.
redef fun main

curl :: curl_http $ Sys :: main

The main method of a program.
redef fun main

libevent :: libevent_test $ Sys :: main

The main method of a program.
redef fun main

pthreads :: concurrent_array_and_barrier $ Sys :: main

The main method of a program.
redef fun main

socket :: socket_client $ Sys :: main

The main method of a program.
redef fun main

socket :: socket_server $ Sys :: main

The main method of a program.
redef fun main

socket :: socket_simple_server $ Sys :: main

The main method of a program.
redef fun main

gettext :: langannot $ Sys :: main

The main method of a program.
redef fun main

cocoa :: cocoa_extern_types $ Sys :: main

The main method of a program.
redef fun main

cocoa :: cocoa_message_box $ Sys :: main

The main method of a program.
redef fun main

dot :: clusters $ Sys :: main

The main method of a program.
redef fun main

dot :: undirected_clusters $ Sys :: main

The main method of a program.
redef fun main

actors :: thread_ring $ Sys :: main

The main method of a program.
redef fun main

privileges :: drop_privileges $ Sys :: main

The main method of a program.
redef fun main

pthreads :: jointask_example $ Sys :: main

The main method of a program.
redef fun main

pthreads :: threadpool_example $ Sys :: main

The main method of a program.
redef fun main

actors :: chameneosredux $ Sys :: main

The main method of a program.
redef fun main

actors :: fannkuchredux $ Sys :: main

The main method of a program.
redef fun main

actors :: mandelbrot $ Sys :: main

The main method of a program.
redef fun main

actors :: simple $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitweb $ Sys :: main

The main method of a program.
redef fun main

ios :: app $ Sys :: main

The main method of a program.
redef fun main

cocoa :: hello_cocoa $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitx $ Sys :: main

The main method of a program.
redef fun main

ai :: puzzle $ Sys :: main

The main method of a program.
redef fun main

bcm2835 :: input $ Sys :: main

The main method of a program.
redef fun main

actors :: simple_simulation $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitvm $ Sys :: main

The main method of a program.
redef fun main

sdl2 :: minimal $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitunit $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitserial $ Sys :: main

The main method of a program.
redef fun main

nitc :: test_neo $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitpm $ Sys :: main

The main method of a program.
redef fun main

markdown :: nitmd $ Sys :: main

The main method of a program.
redef fun main

serialization :: custom_serialization $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitdoc $ Sys :: main

The main method of a program.
redef fun main

vsm :: example_vsm $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitpick $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitcatalog $ Sys :: main

The main method of a program.
redef fun main

crapto :: repeating_key_xor_solve $ Sys :: main

The main method of a program.
redef fun main

glesv2 :: opengles2_hello_triangle $ Sys :: main

The main method of a program.
redef fun main

websocket :: websocket_server $ Sys :: main

The main method of a program.
redef fun main

ai :: queens $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitpackage $ Sys :: main

The main method of a program.
redef fun main

nitc :: nit $ Sys :: main

The main method of a program.
redef fun main

nitc :: test_model_index $ Sys :: main

The main method of a program.
redef fun main

dom :: checker $ Sys :: main

The main method of a program.
redef fun main

nitc :: abstract_compiler $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitsmells $ Sys :: main

The main method of a program.
redef fun main

gamnit :: texture_atlas_parser $ Sys :: main

The main method of a program.
redef fun main

markdown2 :: nitmd $ Sys :: main

The main method of a program.
redef fun main

nitc :: test_toolcontext $ Sys :: main

The main method of a program.
redef fun main

markdown2 :: commonmark_gen $ Sys :: main

The main method of a program.
redef fun main

curl :: curl_rest $ Sys :: main

The main method of a program.
redef fun main

mpi :: mpi_simple $ Sys :: main

The main method of a program.
redef fun main

msgpack :: msgpack_to_json $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitj $ Sys :: main

The main method of a program.
redef fun main

nitc :: nituml $ Sys :: main

The main method of a program.
redef fun main

app :: app_base $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: nitcorn_reverse_proxy $ Sys :: main

The main method of a program.
redef fun main

nlp :: nlp_index $ Sys :: main

The main method of a program.
redef fun main

nlp :: nlp_server $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: htcpcp_server $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: nitcorn_hello_world $ Sys :: main

The main method of a program.
redef fun main

nitc :: test_parser $ Sys :: main

The main method of a program.
redef fun main

functional :: functional_gen $ Sys :: main

The main method of a program.
redef fun main

android :: nit_activity $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: simple_file_server $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitlight $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitls $ Sys :: main

The main method of a program.
redef fun main

nitc :: test_phase $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_post_handler $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_query_string $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_hello $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_advanced_logger $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_html_error_handler $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_simple_error_handler $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_simple_logger $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_glob_route $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_param_route $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_router $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_session $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_static $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_static_default $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_static_multiple $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: restful_annot $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitpretty $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitmetrics $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: test_restful_annot $ Sys :: main

The main method of a program.
redef fun main

nitc :: nitrestful $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_angular $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_mongodb $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_templates $ Sys :: main

The main method of a program.
redef fun main

github :: loader $ Sys :: main

The main method of a program.
redef fun nitpm_lib_dir: String

nitc :: nitpm $ Sys :: nitpm_lib_dir

Folder where are downloaded nitpm packages
redef fun print(object: Object)

android :: http_request $ Sys :: print

Force linearization of print
redef fun print(object: Object)

nitcorn :: log $ Sys :: print

Print an object on the standard output (stdout) and add a newline.
redef fun print(object: Object)

pthreads :: pthreads $ Sys :: print

Print object and '\n' with the same system call
redef fun print(object: Object)

android :: log $ Sys :: print

Use Android logs to print
redef fun print(msg: Object)

ios :: ios $ Sys :: print

Print an object on the standard output (stdout) and add a newline.
redef fun print_error(msg: Object)

ios :: ios $ Sys :: print_error

Print object on the error output (stderr or a log system)
redef fun print_error(object: Object)

android :: log $ Sys :: print_error

Use Android logs to print errors
redef fun print_error(object: Object)

nitcorn :: log $ Sys :: print_error

Print object on the error output (stderr or a log system)
redef fun print_warning(object: Object)

android :: log $ Sys :: print_warning

Use Android logs to print warnings
redef fun prompt(prompt: Text, add_history: nullable Bool): nullable String

readline :: readline $ Sys :: prompt

Display prompt in the console and wait for a response
redef fun prompt_add_history(line: String)

readline :: readline $ Sys :: prompt_add_history

Add line to the shell history
redef fun root_window: Window

app :: ui_example $ Sys :: root_window

Hook to create the first window shown to the user
redef fun root_window: Window

app :: http_request_example $ Sys :: root_window

Hook to create the first window shown to the user
redef fun run

actors :: actors $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

niti_runtime :: niti_runtime $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

hash_debug :: hash_debug $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

gettext :: gettext $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

text_stat :: text_stat $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

array_debug :: array_debug $ Sys :: run

The entry point for the execution of the whole program.
redef fun system(cmd: Text): Int

nitcorn :: test_restful_annot $ Sys :: system

Execute a shell command and return its error code
redef fun system(cmd: Text): Int

libevent :: libevent_test $ Sys :: system

Execute a shell command and return its error code
redef fun test_bound_platform

android :: platform $ Sys :: test_bound_platform

Test if the application was bound to a platform, if not crash
redef fun test_bound_platform

linux :: linux $ Sys :: test_bound_platform

Test if the application was bound to a platform, if not crash

All properties

fun !=(other: nullable Object): Bool

core :: Object :: !=

Have self and other different values?
fun ==(other: nullable Object): Bool

core :: Object :: ==

Have self and other the same value?
type CLASS: Class[SELF]

core :: Object :: CLASS

The type of the class of self.
type SELF: Object

core :: Object :: SELF

Type of this instance, automatically specialized in every class
private var _active_actors: SynchronizedCounter

core :: Sys :: _active_actors

Number of active actors
private var _all_root_textures: TextureSet

core :: Sys :: _all_root_textures

All declared root textures
private var _args_cache: nullable Sequence[String]

core :: Sys :: _args_cache

private var _arr_len: Counter[Int]

core :: Sys :: _arr_len

Keeps the average length of an Array when calling to_s
private var _arr_s_len: Counter[Int]

core :: Sys :: _arr_s_len

Tracks the average length of the Strings of an array when calling to_s
private var _asciiflatstr_allocations: Int

core :: Sys :: _asciiflatstr_allocations

Counts the number of allocations of ASCIIFlatString
private var _asset_textures_by_name: Map[String, TextureAsset]

core :: Sys :: _asset_textures_by_name

Textures loaded from .mtl files for models
private var _atomic: AtomicInt

core :: Sys :: _atomic

private var _auto_hash_display: Bool

core :: Sys :: _auto_hash_display

Activate the automatic call of show_hash_stats at the end of programs
private var _byte_length_call: Counter[String]

core :: Sys :: _byte_length_call

Counter of the times byte_length is called on FlatString
private var _bytepos_call: Counter[String]

core :: Sys :: _bytepos_call

Counter of the times bytepos is called on each type of receiver
private var _chk_sums: Array[Int]

core :: Sys :: _chk_sums

private var _chunk_sz: Int

core :: Sys :: _chunk_sz

private var _cib: Array[Float]

core :: Sys :: _cib

private var _class_loader: nullable JavaObject

core :: Sys :: _class_loader

private var _colors: Array[String]

core :: Sys :: _colors

private var _commands: Map[String, Command]

core :: Sys :: _commands

All command line actions, mapped to their short name
private var _complements: Array[Array[Int]]

core :: Sys :: _complements

Matrix for complementing colors
private var _concat_allocations: Int

core :: Sys :: _concat_allocations

Counts the number of allocations of Concat
private var _concat_cache_miss: Int

core :: Sys :: _concat_cache_miss

Count the number of times that an indexed access
private var _crb: Array[Float]

core :: Sys :: _crb

private var _data: Array[Array[Int]]

core :: Sys :: _data

private var _debug_level: Int

core :: Sys :: _debug_level

Debug severity level
private var _en_count: Int

core :: Sys :: _en_count

Number of calls of HashCollection::enlarge
private var _en_tot_cap: Int

core :: Sys :: _en_tot_cap

Total capacity of hash collections receiver HashCollection::enlarge
private var _en_tot_length: Int

core :: Sys :: _en_tot_length

Total length of hash collections receiver of HashCollection::enlarge
private var _english_freqs: HashMap[Char, Float]

core :: Sys :: _english_freqs

English letter frequency map
private var _error_level: Int

core :: Sys :: _error_level

Error severity level
private var _fact: Array[Int]

core :: Sys :: _fact

private var _fatal_level: Int

core :: Sys :: _fatal_level

Fatal severity level
private var _first_byte_call: Int

core :: Sys :: _first_byte_call

Calls to the first_byte property of a FlatString
private var _flatbuf_allocations: Int

core :: Sys :: _flatbuf_allocations

Counts the number of allocations of FlatBuffer
private var _force_console_colors: Bool

core :: Sys :: _force_console_colors

Force coloring terminal output, even if stdout is not a TTY?
private var _gles: GLES

core :: Sys :: _gles

private var _gt_coll: Int

core :: Sys :: _gt_coll

Number of calls of HashCollection::node_at_idx that collided
private var _gt_count: Int

core :: Sys :: _gt_count

Number of calls of HashCollection::node_at_idx
private var _gt_tot_cap: Int

core :: Sys :: _gt_tot_cap

Total capacity of hash collections receiver HashCollection::node_at_idx
private var _gt_tot_coll: Int

core :: Sys :: _gt_tot_coll

Total length of collisions on calls of HashCollection::node_at_idx that collided
private var _gt_tot_length: Int

core :: Sys :: _gt_tot_length

Total length of hash collections receiver of HashCollection::node_at_idx
private var _host_re: Regex

core :: Sys :: _host_re

private var _iface: String

core :: Sys :: _iface

private var _index_call: Counter[String]

core :: Sys :: _index_call

Counts the number of call to index on a Text
private var _index_len: Counter[Int]

core :: Sys :: _index_len

Distance between characters when looking for a character in a FlatString
private var _info_level: Int

core :: Sys :: _info_level

Info severity level
private var _inv_n: Float

core :: Sys :: _inv_n

private var _jni_env_cache: nullable JniEnv

core :: Sys :: _jni_env_cache

private var _jvm_cache: nullable JavaVM

core :: Sys :: _jvm_cache

private var _keywords: Set[String]

core :: Sys :: _keywords

Reserved keywords in the Nit language
private var _last_byte_call: Int

core :: Sys :: _last_byte_call

Calls to the last_byte property of a FlatString
private var _last_mongoc_error: nullable BSONError

core :: Sys :: _last_mongoc_error

Last error raised by monogdb::MongoClient.
private var _last_mongoc_id: nullable BSONObjectId

core :: Sys :: _last_mongoc_id

Last auto generated id if any.
private var _length_cache_miss: Counter[String]

core :: Sys :: _length_cache_miss

Counts the number of length calls that missed the cache
private var _length_calls: Counter[String]

core :: Sys :: _length_calls

Counts the number of calls to property length
private var _line: String

core :: Sys :: _line

The next line to process by the main program
private var _listeners: HashMap2[String, Int, ConnectionListener]

core :: Sys :: _listeners

Active listeners
private var _listeners_count: HashMap2[String, Int, Int]

core :: Sys :: _listeners_count

Hosts needong each listener
private var _main_thread_cache: nullable MainThread

core :: Sys :: _main_thread_cache

private var _max_flips: Array[Int]

core :: Sys :: _max_flips

private var _methods_in_object: Array[String]

core :: Sys :: _methods_in_object

Top-level methods from the Object class
private var _methods_in_pointer: Array[String]

core :: Sys :: _methods_in_pointer

Methods in the Pointer class
private var _mix: Mix

core :: Sys :: _mix

SDL2 mixer services
private var _models: Set[ModelAsset]

core :: Sys :: _models

All instantiated asset models
private var _mtl_libs: Map[String, Map[String, MtlDef]]

core :: Sys :: _mtl_libs

Loaded .mtl material definitions, sorted by path in assets and material name
private var _n: Int

core :: Sys :: _n

private var _n: Int

core :: Sys :: _n

private var _n_chunks: Int

core :: Sys :: _n_chunks

private var _n_tasks: Int

core :: Sys :: _n_tasks

private var _nb_actors: Int

core :: Sys :: _nb_actors

numbers of actors to create the ring
private var _nb_actors: Int

core :: Sys :: _nb_actors

private var _nb_rounds: Int

core :: Sys :: _nb_rounds

How many time do we iterate before deciding if the number
private var _nb_threads: Int

core :: Sys :: _nb_threads

private var _numbers: Array[String]

core :: Sys :: _numbers

private var _opt_help: OptionBool

core :: Sys :: _opt_help

Help option
private var _opt_verbose: OptionBool

core :: Sys :: _opt_verbose

Verbose mode option
private var _opts: OptionContext

core :: Sys :: _opts

General command line options
private var _p_escapable: String

core :: Sys :: _p_escapable

private var _pbx_file_types: Map[String, String]

core :: Sys :: _pbx_file_types

Map to identify the PBX file type for a given file extension
private var _pbx_uuid_generator: PbxUUIDGenerator

core :: Sys :: _pbx_uuid_generator

Generator of PBX UUIDs quique to an execution of the compiler
private var _perfs: PerfMap

core :: Sys :: _perfs

Main PerfMap available by default
private var _placeholder_model: LeafModel

core :: Sys :: _placeholder_model

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
private var _position_call: Counter[String]

core :: Sys :: _position_call

Counter of the times bytepos is called on each type of receiver
private var _re_atx_heading: Regex

core :: Sys :: _re_atx_heading

ATX headings matching
private var _re_atx_trailing: Regex

core :: Sys :: _re_atx_trailing

ATX trailings matching
private var _re_closing_fence: Regex

core :: Sys :: _re_closing_fence

Closing fence matching
private var _re_escaped: Regex

core :: Sys :: _re_escaped

private var _re_html_blocks: Array[Array[nullable Regex]]

core :: Sys :: _re_html_blocks

HTML blocks patterns
private var _re_list_marker: Regex

core :: Sys :: _re_list_marker

List marker matching
private var _re_opening_fence: Regex

core :: Sys :: _re_opening_fence

Opening fence matching
private var _re_setext_heading: Regex

core :: Sys :: _re_setext_heading

SeText headings matching
private var _re_thematic_break: Regex

core :: Sys :: _re_thematic_break

Thematic break pattern
private var _re_trailing_blank_lines: Regex

core :: Sys :: _re_trailing_blank_lines

Blank lines matching
private var _re_whitespace: Regex

core :: Sys :: _re_whitespace

private var _rotation_roll: Float

core :: Sys :: _rotation_roll

private var _rotation_yaw: Float

core :: Sys :: _rotation_yaw

private var _sdl: SDL

core :: Sys :: _sdl

Access to the global methods of sdl2
private var _sessions: HashMap[String, Session]

core :: Sys :: _sessions

Active sessions
private var _sounds: Array[PlayableAudio]

core :: Sys :: _sounds

All instantiated sounds
private var _st_coll: Int

core :: Sys :: _st_coll

Number of calls of HashCollection::store that collided
private var _st_count: Int

core :: Sys :: _st_count

Number of calls of HashCollection::store
private var _st_tot_cap: Int

core :: Sys :: _st_tot_cap

Total capacity of hash collections receiver HashCollection::store
private var _st_tot_coll: Int

core :: Sys :: _st_tot_coll

Total length of collisions on calls of HashCollection::store that collided
private var _st_tot_length: Int

core :: Sys :: _st_tot_length

Total length of hash collections receiver of HashCollection::store
private var _stderr: Writer

core :: Sys :: _stderr

Standard output for errors
private var _stdin: PollableReader

core :: Sys :: _stdin

Standard input
private var _stdout: Writer

core :: Sys :: _stdout

Standard output
private var _stdout_isatty: Bool

core :: Sys :: _stdout_isatty

private var _str_byte_length: Counter[Int]

core :: Sys :: _str_byte_length

Length (bytes) of the FlatString created by lib
private var _str_full_created: Int

core :: Sys :: _str_full_created

Number of strings created with full length created
private var _task_id: AtomicInt

core :: Sys :: _task_id

private var _tcp_addr: String

core :: Sys :: _tcp_addr

Config for test sockets
private var _tcp_port: Int

core :: Sys :: _tcp_port

private var _test_host: String

core :: Sys :: _test_host

Use localhost for testing
private var _testing_id: Int

core :: Sys :: _testing_id

private var _uniflatstr_allocations: Int

core :: Sys :: _uniflatstr_allocations

Counts the number of allocations of UnicodeFlatString
private var _unknown_level: Int

core :: Sys :: _unknown_level

Unknown severity level
private var _warn_level: Int

core :: Sys :: _warn_level

Warning severity level
fun abstract_kind: MClassKind

core :: Sys :: abstract_kind

The class kind abstract
fun active_actors: SynchronizedCounter

core :: Sys :: active_actors

Number of active actors
protected fun active_actors=(active_actors: SynchronizedCounter)

core :: Sys :: active_actors=

Number of active actors
fun add_history(data: String)

core :: Sys :: add_history

Adds the data String to the history no matter what it contains
fun all_root_textures: TextureSet

core :: Sys :: all_root_textures

All declared root textures
protected fun all_root_textures=(all_root_textures: TextureSet)

core :: Sys :: all_root_textures=

All declared root textures
fun alpha_comparator: Comparator

core :: Sys :: alpha_comparator

Stateless comparator that naively use to_s to compare things.
fun android_r_layout_simple_list_item_1: Int

core :: Sys :: android_r_layout_simple_list_item_1

Java getter: android.R$layout.simple_list_item_1
fun android_r_layout_simple_list_item_2: Int

core :: Sys :: android_r_layout_simple_list_item_2

Java getter: android.R$layout.simple_list_item_2
fun android_r_layout_simple_list_item_activated_1: Int

core :: Sys :: android_r_layout_simple_list_item_activated_1

Java getter: android.R$layout.simple_list_item_activated_1
fun android_r_layout_simple_list_item_activated_2: Int

core :: Sys :: android_r_layout_simple_list_item_activated_2

Java getter: android.R$layout.simple_list_item_activated_2
fun android_r_layout_simple_list_item_checked: Int

core :: Sys :: android_r_layout_simple_list_item_checked

Java getter: android.R$layout.simple_list_item_checked
fun android_r_layout_simple_list_item_multiple_choice: Int

core :: Sys :: android_r_layout_simple_list_item_multiple_choice

Java getter: android.R$layout.simple_list_item_multiple_choice
fun android_r_layout_simple_list_item_single_choice: Int

core :: Sys :: android_r_layout_simple_list_item_single_choice

Java getter: android.R$layout.simple_list_item_single_choice
fun android_r_layout_simple_selectable_list_item: Int

core :: Sys :: android_r_layout_simple_selectable_list_item

Java getter: android.R$layout.simple_selectable_list_item
fun android_r_style_text_appearance_large: Int

core :: Sys :: android_r_style_text_appearance_large

Java getter: android.R$style.TextAppearance_Large
fun android_r_style_text_appearance_medium: Int

core :: Sys :: android_r_style_text_appearance_medium

Java getter: android.R$style.TextAppearance_Medium
fun android_r_style_text_appearance_small: Int

core :: Sys :: android_r_style_text_appearance_small

Java getter: android.R$style.TextAppearance_Small
fun android_view_key_event_keycode_back: Int

core :: Sys :: android_view_key_event_keycode_back

Java getter: android.view.KeyEvent.KEYCODE_BACK
fun android_widget_adapter_ignore_item_view_type: Int

core :: Sys :: android_widget_adapter_ignore_item_view_type

Java getter: android.widget.Adapter.IGNORE_ITEM_VIEW_TYPE
fun android_widget_adapter_no_selection: Int

core :: Sys :: android_widget_adapter_no_selection

Java getter: android.widget.Adapter.NO_SELECTION
fun app: App

core :: Sys :: app

The running App
fun args: Sequence[String]

core :: Sys :: args

The arguments of the program as given by the OS
private fun args_cache: nullable Sequence[String]

core :: Sys :: args_cache

private fun args_cache=(args_cache: nullable Sequence[String])

core :: Sys :: args_cache=

fun arr_len: Counter[Int]

core :: Sys :: arr_len

Keeps the average length of an Array when calling to_s
protected fun arr_len=(arr_len: Counter[Int])

core :: Sys :: arr_len=

Keeps the average length of an Array when calling to_s
fun arr_s_len: Counter[Int]

core :: Sys :: arr_s_len

Tracks the average length of the Strings of an array when calling to_s
protected fun arr_s_len=(arr_s_len: Counter[Int])

core :: Sys :: arr_s_len=

Tracks the average length of the Strings of an array when calling to_s
private fun array1d_copy_to(fromarr: Array[Int], oarr: Array[Int])

core :: Sys :: array1d_copy_to

fun asciiflatstr_allocations: Int

core :: Sys :: asciiflatstr_allocations

Counts the number of allocations of ASCIIFlatString
protected fun asciiflatstr_allocations=(asciiflatstr_allocations: Int)

core :: Sys :: asciiflatstr_allocations=

Counts the number of allocations of ASCIIFlatString
private fun asset_content(path: NSString): NSString

core :: Sys :: asset_content

private fun asset_path(path: NSString): NSString

core :: Sys :: asset_path

fun asset_textures_by_name: Map[String, TextureAsset]

core :: Sys :: asset_textures_by_name

Textures loaded from .mtl files for models
protected fun asset_textures_by_name=(asset_textures_by_name: Map[String, TextureAsset])

core :: Sys :: asset_textures_by_name=

Textures loaded from .mtl files for models
private fun asset_url(path: NSString): NSObject

core :: Sys :: asset_url

fun atan2(y: Float, x: Float): Float

core :: Sys :: atan2

Computes the arc tangent given y and x.
protected fun atomic=(atomic: AtomicInt)

core :: Sys :: atomic=

fun auto_hash_display: Bool

core :: Sys :: auto_hash_display

Activate the automatic call of show_hash_stats at the end of programs
fun auto_hash_display=(auto_hash_display: Bool)

core :: Sys :: auto_hash_display=

Activate the automatic call of show_hash_stats at the end of programs
fun avg_arr_len: Float

core :: Sys :: avg_arr_len

Compute the average array length.
fun avg_s_len: Float

core :: Sys :: avg_s_len

Compute the average string length.
private fun back_face: Int

core :: Sys :: back_face

fun bar(i: Int, s: String): Threadedbar

core :: Sys :: bar

Parameterized threaded method, same as foo, but with parameters
fun baz(i: Int, j: Int): Threadedbaz

core :: Sys :: baz

Parameterized threaded method with a return type
fun bev_event_connected: Int

core :: Sys :: bev_event_connected

connect operation finished.
fun bev_event_eof: Int

core :: Sys :: bev_event_eof

eof file reached
fun bev_event_error: Int

core :: Sys :: bev_event_error

unrecoverable error encountered
fun bev_event_reading: Int

core :: Sys :: bev_event_reading

error encountered while reading
fun bev_event_timeout: Int

core :: Sys :: bev_event_timeout

user-specified timeout reached
fun bev_event_writing: Int

core :: Sys :: bev_event_writing

error encountered while writing
fun bev_opt_close_on_free: Int

core :: Sys :: bev_opt_close_on_free

Close the underlying file descriptor/bufferevent/whatever when this bufferevent is freed.
fun bev_opt_defer_callbacks: Int

core :: Sys :: bev_opt_defer_callbacks

Run callbacks deferred in the event loop.
fun bev_opt_threadsafe: Int

core :: Sys :: bev_opt_threadsafe

If threading is enabled, protect the operations on this bufferevent with a lock.
fun bev_opt_unlock_callbacks: Int

core :: Sys :: bev_opt_unlock_callbacks

If set, callbacks are executed without locks being held on the bufferevent.
fun bind_screen_framebuffer(fbo: Int)

core :: Sys :: bind_screen_framebuffer

Portable indirection to glBindFramebuffer(gl_FRAMEBUFFER, fbo)
fun bindtextdomain(domain: String, dir: String)

core :: Sys :: bindtextdomain

Gettext bindtextdomain, SEE gettext manual for further info
fun blue: Int

core :: Sys :: blue

private fun bottom_face: Int

core :: Sys :: bottom_face

private fun bottom_ln: Int

core :: Sys :: bottom_ln

fun bound_platform: String

core :: Sys :: bound_platform

Platform bound at compilation (by importation or -m)
fun buffer_mode_full: Int

core :: Sys :: buffer_mode_full

Enumeration for buffer mode full (flushes when buffer is full)
fun buffer_mode_line: Int

core :: Sys :: buffer_mode_line

Enumeration for buffer mode line (flushes when a \n is encountered)
fun buffer_mode_none: Int

core :: Sys :: buffer_mode_none

Enumeration for buffer mode none (flushes ASAP when something is written)
fun byte_length_call: Counter[String]

core :: Sys :: byte_length_call

Counter of the times byte_length is called on FlatString
protected fun byte_length_call=(byte_length_call: Counter[String])

core :: Sys :: byte_length_call=

Counter of the times byte_length is called on FlatString
fun bytepos_call: Counter[String]

core :: Sys :: bytepos_call

Counter of the times bytepos is called on each type of receiver
protected fun bytepos_call=(bytepos_call: Counter[String])

core :: Sys :: bytepos_call=

Counter of the times bytepos is called on each type of receiver
fun check_error(loc: String)

core :: Sys :: check_error

Check for an error, then print and clear it
private fun check_git

core :: Sys :: check_git

Check if git is available, exit if not
fun check_signals: Bool

core :: Sys :: check_signals

Check signals for safe operation
protected fun chk_sums=(chk_sums: Array[Int])

core :: Sys :: chk_sums=

fun chunk_sz: Int

core :: Sys :: chunk_sz

protected fun chunk_sz=(chunk_sz: Int)

core :: Sys :: chunk_sz=

fun cib: Array[Float]

core :: Sys :: cib

protected fun cib=(cib: Array[Float])

core :: Sys :: cib=

protected fun class_factory(name: String): CLASS

core :: Object :: class_factory

Implementation used by get_class to create the specific class.
abstract fun class_inheritance_metamodel: POSet[String]

core :: Sys :: class_inheritance_metamodel

Class inheritance graph, implemented by the json package
protected fun class_inheritance_metamodel=(class_inheritance_metamodel: POSet[String])

core :: Sys :: class_inheritance_metamodel=

private intern fun class_inheritance_metamodel_json: CString

core :: Sys :: class_inheritance_metamodel_json

Class inheritance graph as a POSet[String] serialized to JSON
private fun class_loader: nullable JavaObject

core :: Sys :: class_loader

private fun class_loader=(class_loader: nullable JavaObject)

core :: Sys :: class_loader=

private fun class_loader_method: nullable JMethodID

core :: Sys :: class_loader_method

private fun class_loader_method=(class_loader_method: nullable JMethodID)

core :: Sys :: class_loader_method=

fun class_name: String

core :: Object :: class_name

The class name of the object.
fun clear_hash_stats

core :: Sys :: clear_hash_stats

Reset the hash statistics to 0
private fun clock: Int

core :: Sys :: clock

fun clock_agent=(clock_agent: ClockAgent)

core :: Sys :: clock_agent=

fun colors: Array[String]

core :: Sys :: colors

protected fun colors=(colors: Array[String])

core :: Sys :: colors=

fun comm_world: Comm

core :: Sys :: comm_world

Shortcut to the world communicator (same as new Comm.world)
private fun command_help=(command_help: CommandHelp)

core :: Sys :: command_help=

private fun command_install=(command_install: CommandInstall)

core :: Sys :: command_install=

private fun command_list=(command_list: CommandList)

core :: Sys :: command_list=

private fun command_uninstall=(command_uninstall: CommandUninstall)

core :: Sys :: command_uninstall=

private fun command_update=(command_update: CommandUpgrade)

core :: Sys :: command_update=

fun commands: Map[String, Command]

core :: Sys :: commands

All command line actions, mapped to their short name
protected fun commands=(commands: Map[String, Command])

core :: Sys :: commands=

All command line actions, mapped to their short name
fun complements: Array[Array[Int]]

core :: Sys :: complements

Matrix for complementing colors
protected fun complements=(complements: Array[Array[Int]])

core :: Sys :: complements=

Matrix for complementing colors
fun compute_nullables_metrics(modelbuilder: ModelBuilder)

core :: Sys :: compute_nullables_metrics

Visit the AST and print metrics about the usage of send on nullable reciever.
fun compute_refinement_metrics(model: Model)

core :: Sys :: compute_refinement_metrics

Print refinement usage metrics
fun compute_self_metrics(modelbuilder: ModelBuilder)

core :: Sys :: compute_self_metrics

Visit the AST and print metics about the usage of self.
fun compute_static_types_metrics(modelbuilder: ModelBuilder)

core :: Sys :: compute_static_types_metrics

Visit the AST and print metrics on the usage of explicit static types.
fun compute_tables_metrics(main: MModule)

core :: Sys :: compute_tables_metrics

Print class tables metrics for the classes of the program main
fun concat_allocations: Int

core :: Sys :: concat_allocations

Counts the number of allocations of Concat
protected fun concat_allocations=(concat_allocations: Int)

core :: Sys :: concat_allocations=

Counts the number of allocations of Concat
fun concat_cache_miss: Int

core :: Sys :: concat_cache_miss

Count the number of times that an indexed access
protected fun concat_cache_miss=(concat_cache_miss: Int)

core :: Sys :: concat_cache_miss=

Count the number of times that an indexed access
fun concrete_kind: MClassKind

core :: Sys :: concrete_kind

The class kind concrete
fun convex_hull(points: Array[Point[Float]]): ConvexPolygon

core :: Sys :: convex_hull

Get the convex hull of the set of points
private fun counterclock: Int

core :: Sys :: counterclock

fun crb: Array[Float]

core :: Sys :: crb

protected fun crb=(crb: Array[Float])

core :: Sys :: crb=

protected fun create_default_jvm

core :: Sys :: create_default_jvm

Called by jvm and jni_env to instantiate a Java Virtual Machine.
fun data: Array[Array[Int]]

core :: Sys :: data

protected fun data=(data: Array[Array[Int]])

core :: Sys :: data=

fun debug_gamnit: Bool

core :: Sys :: debug_gamnit

Should Gamnit be more verbose?
fun debug_level: Int

core :: Sys :: debug_level

Debug severity level
protected fun debug_level=(debug_level: Int)

core :: Sys :: debug_level=

Debug severity level
fun default_comparator: DefaultComparator

core :: Sys :: default_comparator

Easy-to-use general stateless default comparator that uses <=> to compare things.
fun default_reverse_comparator: DefaultReverseComparator

core :: Sys :: default_reverse_comparator

Easy-to-use general stateless default reverse comparator.
private fun dialog

core :: Sys :: dialog

private fun diff(file1: String, file2: String): String

core :: Sys :: diff

Return result from diff between file1 and file2.
fun discover_local_servers(timeout: nullable Float): Array[RemoteServerConfig]

core :: Sys :: discover_local_servers

Discover local servers responding on UDP discovery_port
fun discovery_port: Int

core :: Sys :: discovery_port

Server port listening for discovery requests
private fun discovery_request_message: String

core :: Sys :: discovery_request_message

First word in discovery requests
private fun discovery_response_message: String

core :: Sys :: discovery_response_message

First word in discovery responses
fun div(n: Int, d: Int): String

core :: Sys :: div

Helper function to display n/d and handle division by 0
private fun div(n: Int, d: Int): String

core :: Sys :: div

private fun dlerror: CString

core :: Sys :: dlerror

fun do_work(mainmodule: MModule, given_mmodules: SequenceRead[MModule], modelbuilder: ModelBuilder)

core :: Sys :: do_work

Easy entry point to prototype a specific work or proof-of-concept.
fun egid: Int

core :: Sys :: egid

The effective group id of this process
fun egid=(gid: Int): Bool

core :: Sys :: egid=

Set the effective group id of this process
fun egl_default_display: Pointer

core :: Sys :: egl_default_display

Handle to the default display to use with EGL
fun en_count: Int

core :: Sys :: en_count

Number of calls of HashCollection::enlarge
protected fun en_count=(en_count: Int)

core :: Sys :: en_count=

Number of calls of HashCollection::enlarge
fun en_tot_cap: Int

core :: Sys :: en_tot_cap

Total capacity of hash collections receiver HashCollection::enlarge
protected fun en_tot_cap=(en_tot_cap: Int)

core :: Sys :: en_tot_cap=

Total capacity of hash collections receiver HashCollection::enlarge
fun en_tot_length: Int

core :: Sys :: en_tot_length

Total length of hash collections receiver of HashCollection::enlarge
protected fun en_tot_length=(en_tot_length: Int)

core :: Sys :: en_tot_length=

Total length of hash collections receiver of HashCollection::enlarge
fun enable_debug_mode

core :: Sys :: enable_debug_mode

Enable some relatively expensive debugging checks that would normally be turned off
fun english_freqs: HashMap[Char, Float]

core :: Sys :: english_freqs

English letter frequency map
protected fun english_freqs=(english_freqs: HashMap[Char, Float])

core :: Sys :: english_freqs=

English letter frequency map
fun enum_kind: MClassKind

core :: Sys :: enum_kind

The class kind enum
fun errno: Int

core :: Sys :: errno

Number of the last error
private fun error_espace: Int

core :: Sys :: error_espace

fun error_level: Int

core :: Sys :: error_level

Error severity level
protected fun error_level=(error_level: Int)

core :: Sys :: error_level=

Error severity level
private fun error_nomatch: Int

core :: Sys :: error_nomatch

fun euid: Int

core :: Sys :: euid

The effective user id of this process
fun euid=(uid: Int): Bool

core :: Sys :: euid=

Set the effective user id of this process
fun ev_read: Int

core :: Sys :: ev_read

Read operation
fun ev_write: Int

core :: Sys :: ev_write

Write operation
fun evutil_socket_error: Int

core :: Sys :: evutil_socket_error

Global error code for the last socket operation on the calling thread
fun evutil_socket_error_to_string(error_code: Int): CString

core :: Sys :: evutil_socket_error_to_string

Convert an error code from evutil_socket_error to a string
intern fun exit(exit_value: Int)

core :: Sys :: exit

Quit the program with a specific return code
fun exit_thread(value: nullable Object)

core :: Sys :: exit_thread

Exit current thread and return value to caller of Thread::join
fun extern_kind: MClassKind

core :: Sys :: extern_kind

The class kind extern
fun fact: Array[Int]

core :: Sys :: fact

protected fun fact=(fact: Array[Int])

core :: Sys :: fact=

fun fatal_level: Int

core :: Sys :: fatal_level

Fatal severity level
protected fun fatal_level=(fatal_level: Int)

core :: Sys :: fatal_level=

Fatal severity level
fun file_open(path: String): ForAbuser[FileReader]

core :: Sys :: file_open

Open and read a file through a for abuse.
private fun find_class_loader(native_context: NativeContext)

core :: Sys :: find_class_loader

fun first_byte_call: Int

core :: Sys :: first_byte_call

Calls to the first_byte property of a FlatString
protected fun first_byte_call=(first_byte_call: Int)

core :: Sys :: first_byte_call=

Calls to the first_byte property of a FlatString
private fun flag_extended: Int

core :: Sys :: flag_extended

private fun flag_icase: Int

core :: Sys :: flag_icase

private fun flag_newline: Int

core :: Sys :: flag_newline

private fun flag_nosub: Int

core :: Sys :: flag_nosub

private fun flag_notbol: Int

core :: Sys :: flag_notbol

private fun flag_noteol: Int

core :: Sys :: flag_noteol

fun flatbuf_allocations: Int

core :: Sys :: flatbuf_allocations

Counts the number of allocations of FlatBuffer
protected fun flatbuf_allocations=(flatbuf_allocations: Int)

core :: Sys :: flatbuf_allocations=

Counts the number of allocations of FlatBuffer
fun foo: Threadedfoo

core :: Sys :: foo

the is threaded annotation makes this method run on an other thread
fun force_console_colors: Bool

core :: Sys :: force_console_colors

Force coloring terminal output, even if stdout is not a TTY?
fun force_console_colors=(force_console_colors: Bool)

core :: Sys :: force_console_colors=

Force coloring terminal output, even if stdout is not a TTY?
intern fun force_garbage_collection

core :: Sys :: force_garbage_collection

Initiate a garbage collection
fun from_c_call_context: FromCCallContext

core :: Sys :: from_c_call_context

Context when calling generated code from user C code
private fun from_objc_call_context: FromObjCCallContext

core :: Sys :: from_objc_call_context

Calls from Objective-C to C
private fun front_face: Int

core :: Sys :: front_face

fun fun_to_s: Function[Object, String]

core :: Sys :: fun_to_s

Stateless singleton that reify to the to_s method.
private fun gammit_gl_error: nullable Error

core :: Sys :: gammit_gl_error

fun gdk_threads_add_idle(task: Task): Int

core :: Sys :: gdk_threads_add_idle

Add a callback to execute whenever there are no higher priority events pending
fun gen_generics(nargs: Int): Array[String]

core :: Sys :: gen_generics

Generates of an array of formal type as strings.
fun generate_class_hierarchy(toolcontext: ToolContext, mmodule: MModule)

core :: Sys :: generate_class_hierarchy

Create a dot file representing the class hierarchy of a model.
fun generate_classdef_hierarchy(toolcontext: ToolContext, model: Model)

core :: Sys :: generate_classdef_hierarchy

Create a dot file representing the classdef hierarchy of a model.
fun generate_functypes(n: Int, writer: Writer)

core :: Sys :: generate_functypes

Writes all functional types
fun generate_model_hyperdoc(toolcontext: ToolContext, model: Model)

core :: Sys :: generate_model_hyperdoc

Genetate a HTML file for the model.
fun generate_module_hierarchy(toolcontext: ToolContext, given_mmodules: Collection[MModule])

core :: Sys :: generate_module_hierarchy

Create a dot file representing the module hierarchy of a model.
fun generate_token(length: nullable Int, force_rand: nullable Bool): String

core :: Sys :: generate_token

Generate a random token of length chars long
fun get_class: CLASS

core :: Object :: get_class

The meta-object representing the dynamic type of self.
fun get_github_oauth: String

core :: Sys :: get_github_oauth

Gets the Github token from git configuration
fun get_microtime: Int

core :: Sys :: get_microtime

The number of microseconds elapsed since January 1, 1970
fun get_millitime: Int

core :: Sys :: get_millitime

The number of milliseconds elapsed since January 1, 1970
fun get_time: Int

core :: Sys :: get_time

The number of seconds elapsed since January 1, 1970
fun getc: Char

core :: Sys :: getc

Read a character from the standard input (stdin).
fun getcwd: String

core :: Sys :: getcwd

Return the working (current) directory
fun gethostbyname(name: CString): NativeSocketHostent

core :: Sys :: gethostbyname

Get network host entry
fun gets: String

core :: Sys :: gets

Read a line from the standard input (stdin).
fun gid: Int

core :: Sys :: gid

Current real group id of this process
fun gid=(gid: Int): Bool

core :: Sys :: gid=

Set the current real group id of this process
fun git_run(command: String...): String

core :: Sys :: git_run

Execute a git command and return the result
fun gl: GLES

core :: Sys :: gl

Entry points to OpenGL ES 2.0 services
fun glActiveTexture(texture: GLTextureUnit)

core :: Sys :: glActiveTexture

Select server-side active texture unit
fun glAttachShader(program: GLProgram, shader: GLShader)

core :: Sys :: glAttachShader

Attach a shader to program
fun glBindBuffer(target: GLArrayBuffer, buffer: Int)

core :: Sys :: glBindBuffer

Bind the named buffer object
fun glBindFramebuffer(target: GLFramebufferTarget, framebuffer: Int)

core :: Sys :: glBindFramebuffer

Bind framebuffer to a framebuffer target
fun glBindRenderbuffer(target: GLRenderbufferTarget, renderbuffer: Int)

core :: Sys :: glBindRenderbuffer

Bind renderbuffer to a renderbuffer target
fun glBindTexture(target: GLTextureTarget, texture: Int)

core :: Sys :: glBindTexture

Bind the named texture to a target
fun glBlendFunc(src_factor: GLBlendFactor, dst_factor: GLBlendFactor)

core :: Sys :: glBlendFunc

Set the pixel arithmetic for the blending operations
fun glBufferData(target: GLArrayBuffer, size: Int, data: Pointer, usage: GLBufferUsage)

core :: Sys :: glBufferData

Create and initialize a buffer object's data store
fun glBufferSubData(target: GLArrayBuffer, offset: Int, size: Int, data: Pointer)

core :: Sys :: glBufferSubData

Update a subset of a buffer object's data store
fun glCheckFramebufferStatus(target: GLFramebufferTarget): GLFramebufferStatus

core :: Sys :: glCheckFramebufferStatus

Completeness status of a framebuffer object
fun glClear

core :: Sys :: glClear

fun glClear(buffer: GLBuffer)

core :: Sys :: glClear

Clear the buffer
fun glClearColor(red: Float, green: Float, blue: Float, alpha: Float)

core :: Sys :: glClearColor

Specify the clear values for the color buffer, default values are at 0.0
fun glClearDepthf(value: Float)

core :: Sys :: glClearDepthf

Specify the clear value for the depth buffer, default at 1.0
fun glClearStencil(value: Int)

core :: Sys :: glClearStencil

Specify the clear value for the stencil buffer, default at 0
fun glColorMask(red: Bool, green: Bool, blue: Bool, alpha: Bool)

core :: Sys :: glColorMask

Enable and disable writing of frame buffer color components
fun glCompileShader(shader: GLShader)

core :: Sys :: glCompileShader

Compile the shader object
fun glCopyTexImage2D(target: GLTextureTarget, level: Int, internalformat: GLPixelFormat, x: Int, y: Int, width: Int, height: Int, border: Int)

core :: Sys :: glCopyTexImage2D

Copy pixels into a 2D texture image
fun glCopyTexSubImage2D(target: GLTextureTarget, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int)

core :: Sys :: glCopyTexSubImage2D

Copy a two-dimensional texture subimage
fun glCreateProgram: GLProgram

core :: Sys :: glCreateProgram

Create a program object
fun glCreateShader(shader_type: GLShaderType): GLShader

core :: Sys :: glCreateShader

Create a shader object of the shader_type
fun glCullFace(mode: GLCullFaceMode)

core :: Sys :: glCullFace

Specify whether front- or back-facing polygons can be culled, default is back only
fun glDeleteBuffers(buffers: SequenceRead[Int])

core :: Sys :: glDeleteBuffers

Delete named buffer objects
fun glDeleteFramebuffers(framebuffers: SequenceRead[Int])

core :: Sys :: glDeleteFramebuffers

Delete named framebuffer objects
fun glDeleteProgram(program: GLProgram)

core :: Sys :: glDeleteProgram

Delete the program object
fun glDeleteRenderbuffers(renderbuffers: SequenceRead[Int])

core :: Sys :: glDeleteRenderbuffers

Delete named renderbuffer objects
fun glDeleteShader(shader: GLShader)

core :: Sys :: glDeleteShader

Delete the shader object
fun glDeleteTextures(textures: SequenceRead[Int])

core :: Sys :: glDeleteTextures

Delete named textures
fun glDepthFunc(func: GLDepthFunc)

core :: Sys :: glDepthFunc

Specify the value used for depth buffer comparisons
fun glDepthMask(value: Bool)

core :: Sys :: glDepthMask

Enable or disable writing into the depth buffer
fun glDepthRangef(near: Float, far: Float)

core :: Sys :: glDepthRangef

Specify mapping of depth values from normalized device coordinates to window coordinates
fun glDetachShader(program: GLProgram, shader: GLShader)

core :: Sys :: glDetachShader

Detach shader from program
fun glDisableVertexAttribArray(index: Int)

core :: Sys :: glDisableVertexAttribArray

Disable the generic vertex attribute array at index
fun glDrawArrays(mode: GLDrawMode, from: Int, count: Int)

core :: Sys :: glDrawArrays

Render primitives from array data
fun glDrawElements(mode: GLDrawMode, count: Int, typ: GLDataType, indices: Pointer)

core :: Sys :: glDrawElements

Render primitives from array data by their index listed in indices
fun glDrawElementsi(mode: GLDrawMode, count: Int, typ: GLDataType, offset: Int)

core :: Sys :: glDrawElementsi

Render primitives from array data, at offset in the element buffer
fun glEnable

core :: Sys :: glEnable

fun glEnableVertexAttribArray(index: Int)

core :: Sys :: glEnableVertexAttribArray

Enable the generic vertex attribute array at index
fun glFinish

core :: Sys :: glFinish

Block until all GL execution is complete
fun glFinish

core :: Sys :: glFinish

fun glFlush

core :: Sys :: glFlush

Force execution of GL commands in finite time
fun glFlush

core :: Sys :: glFlush

fun glFramebufferRenderbuffer(target: GLFramebufferTarget, attachment: GLAttachment, renderbuffertarget: GLRenderbufferTarget, renderbuffer: Int)

core :: Sys :: glFramebufferRenderbuffer

Attach a renderbuffer object to a framebuffer object
fun glFramebufferTexture2D(target: GLFramebufferTarget, attachment: GLAttachment, texture_target: GLTextureTarget, texture: Int, level: Int)

core :: Sys :: glFramebufferTexture2D

Attach a level of a texture object as a logical buffer to the currently bound framebuffer object
fun glFrontFace(mode: GLFrontFaceMode)

core :: Sys :: glFrontFace

Define front- and back-facing polygons, gc_CCW by default
fun glGenBuffers(n: Int): Array[Int]

core :: Sys :: glGenBuffers

Generate n buffer names
fun glGenFramebuffers(n: Int): Array[Int]

core :: Sys :: glGenFramebuffers

Generate n framebuffer object names
fun glGenRenderbuffers(n: Int): Array[Int]

core :: Sys :: glGenRenderbuffers

Generate n renderbuffer object names
fun glGenTextures(n: Int): Array[Int]

core :: Sys :: glGenTextures

Generate n texture names
fun glGenerateMipmap(target: GLTextureTarget)

core :: Sys :: glGenerateMipmap

Generate and fill set of mipmaps for the texture object target
fun glGetBooleanv(pname: GLGetParameterName, offset: Int): Bool

core :: Sys :: glGetBooleanv

Get the value of the parameter pname at offset
fun glGetError: GLError

core :: Sys :: glGetError

Error information
fun glGetFloatv(pname: GLGetParameterName, offset: Int): Float

core :: Sys :: glGetFloatv

Get the value of the parameter pname at offset
fun glGetIntegerv(pname: GLGetParameterName, offset: Int): Int

core :: Sys :: glGetIntegerv

Get the value of the parameter pname at offset
fun glGetProgramInfoLog(program: GLProgram): String

core :: Sys :: glGetProgramInfoLog

The information log for the program object
fun glGetProgramiv(program: GLProgram, pname: GLGetParameterName): Int

core :: Sys :: glGetProgramiv

Parameter value from a program object
fun glGetShaderInfoLog(shader: GLShader): String

core :: Sys :: glGetShaderInfoLog

The information log for the shader object
fun glGetShaderiv(shader: GLShader, pname: GLGetParameterName): Int

core :: Sys :: glGetShaderiv

Get a parameter value from a shader object
fun glGetString(name: GLEnum): String

core :: Sys :: glGetString

Return a string describing the current GL configuration
fun glHint

core :: Sys :: glHint

fun glHint(target: GLHintTarget, mode: GLHintMode)

core :: Sys :: glHint

Specify implementation specific hints
fun glIsBuffer(name: Int): Bool

core :: Sys :: glIsBuffer

Does name corresponds to a buffer object?
fun glIsFramebuffer(name: Int): Bool

core :: Sys :: glIsFramebuffer

Does name corresponds to a framebuffer object?
fun glIsProgram(name: GLProgram): Bool

core :: Sys :: glIsProgram

Does name corresponds to a program object?
fun glIsRenderbuffer(name: Int): Bool

core :: Sys :: glIsRenderbuffer

Does name corresponds to a renderbuffer object?
fun glIsShader(name: GLShader): Bool

core :: Sys :: glIsShader

Does name corresponds to a shader object?
fun glIsTexture(name: Int): Bool

core :: Sys :: glIsTexture

Does name corresponds to a texture?
fun glLineWidth(width: Float)

core :: Sys :: glLineWidth

Specify the width of rasterized lines
fun glLinkProgram(program: GLProgram)

core :: Sys :: glLinkProgram

Link the program object
fun glPixelStorei(parameter: GLPack, val: Int)

core :: Sys :: glPixelStorei

Set pixel storage modes
fun glPolygonOffset(factor: Float, units: Float)

core :: Sys :: glPolygonOffset

Set the scale and units used to calculate depth values
fun glReadPixels(x: Int, y: Int, width: Int, height: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glReadPixels

Copy a block of pixels from the framebuffer of fomat and typ at data
fun glRenderbufferStorage(target: GLRenderbufferTarget, format: GLRenderbufferFormat, width: Int, height: Int)

core :: Sys :: glRenderbufferStorage

Establish data storage, format and dimensions of the target renderbuffer object's image
fun glShaderSource(shader: GLShader, code: CString)

core :: Sys :: glShaderSource

Replace the source code in the shader object with code
fun glTexImage2D(target: GLTextureTarget, level: Int, internalformat: GLPixelFormat, width: Int, height: Int, border: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glTexImage2D

Specify a two-dimensional texture image
fun glTexParameteri(target: GLTextureTarget, pname: GLTexParameteriName, param: GLTexParameteri)

core :: Sys :: glTexParameteri

Set texture parameters
fun glTexSubImage2D(target: GLTextureTarget, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, border: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glTexSubImage2D

Specify a two-dimensional texture subimage
fun glUniform1f(index: Int, x: Float)

core :: Sys :: glUniform1f

Specify the value of a uniform variable for the current program object
fun glUniform1i(index: Int, x: Int)

core :: Sys :: glUniform1i

Specify the value of a uniform variable for the current program object
fun glUniform2f(index: Int, x: Float, y: Float)

core :: Sys :: glUniform2f

Specify the value of a uniform variable for the current program object
fun glUniform2i(index: Int, x: Int, y: Int)

core :: Sys :: glUniform2i

Specify the value of a uniform variable for the current program object
fun glUniform3f(index: Int, x: Float, y: Float, z: Float)

core :: Sys :: glUniform3f

Specify the value of a uniform variable for the current program object
fun glUniform3i(index: Int, x: Int, y: Int, z: Int)

core :: Sys :: glUniform3i

Specify the value of a uniform variable for the current program object
fun glUniform4f(index: Int, x: Float, y: Float, z: Float, w: Float)

core :: Sys :: glUniform4f

Specify the value of a uniform variable for the current program object
fun glUniform4i(index: Int, x: Int, y: Int, z: Int, w: Int)

core :: Sys :: glUniform4i

Specify the value of a uniform variable for the current program object
fun glUseProgram(program: GLProgram)

core :: Sys :: glUseProgram

Install the program as part of current rendering state
fun glValidateProgram(program: GLProgram)

core :: Sys :: glValidateProgram

Validate the program object
fun glVertexAttrib1f(index: Int, x: Float)

core :: Sys :: glVertexAttrib1f

Specify the value of a generic vertex attribute
fun glVertexAttrib2f(index: Int, x: Float, y: Float)

core :: Sys :: glVertexAttrib2f

Specify the value of a generic vertex attribute
fun glVertexAttrib3f(index: Int, x: Float, y: Float, z: Float)

core :: Sys :: glVertexAttrib3f

Specify the value of a generic vertex attribute
fun glVertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float)

core :: Sys :: glVertexAttrib4f

Specify the value of a generic vertex attribute
fun glVertexAttribPointer(index: Int, size: Int, typ: GLDataType, normalized: Bool, stride: Int, array: NativeGLfloatArray)

core :: Sys :: glVertexAttribPointer

Define an array of generic vertex attribute data
fun glVertexAttribPointeri(index: Int, size: Int, typ: GLDataType, normalized: Bool, stride: Int, offset: Int)

core :: Sys :: glVertexAttribPointeri

Define an array of generic vertex attribute data, at offset in the array buffer
fun glViewport(x: Int, y: Int, width: Int, height: Int)

core :: Sys :: glViewport

Set the viewport
fun gl_ALPHA: Int

core :: Sys :: gl_ALPHA

fun gl_ARRAY_BUFFER: GLArrayBuffer

core :: Sys :: gl_ARRAY_BUFFER

Array buffer target
fun gl_BACK: Int

core :: Sys :: gl_BACK

fun gl_BLEND: Int

core :: Sys :: gl_BLEND

fun gl_BOOL: Int

core :: Sys :: gl_BOOL

fun gl_BYTE: Int

core :: Sys :: gl_BYTE

fun gl_CCW: Int

core :: Sys :: gl_CCW

fun gl_COLOR_ATTACHMENT0: GLAttachment

core :: Sys :: gl_COLOR_ATTACHMENT0

First color attachment point
fun gl_CW: Int

core :: Sys :: gl_CW

fun gl_DECR: Int

core :: Sys :: gl_DECR

fun gl_DEPTH_ATTACHMENT: GLAttachment

core :: Sys :: gl_DEPTH_ATTACHMENT

Depth attachment point
fun gl_DONT_CARE: GLHintMode

core :: Sys :: gl_DONT_CARE

No preference
fun gl_DYNAMIC_DRAW: GLBufferUsage

core :: Sys :: gl_DYNAMIC_DRAW

Data will be modified repeatedly and used many times
fun gl_EQUAL: Int

core :: Sys :: gl_EQUAL

fun gl_EXTENSIONS: GLEnum

core :: Sys :: gl_EXTENSIONS

Space-separated list of supported extensions to GL
fun gl_FALSE: Int

core :: Sys :: gl_FALSE

fun gl_FASTEST: GLHintMode

core :: Sys :: gl_FASTEST

The most efficient option should be chosen
fun gl_FIXED: Int

core :: Sys :: gl_FIXED

fun gl_FLOAT: Int

core :: Sys :: gl_FLOAT

fun gl_FRAMEBUFFER: GLFramebufferTarget

core :: Sys :: gl_FRAMEBUFFER

Target both reading and writing on the framebuffer with glBindFramebuffer
fun gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Not all framebuffer attachment points are framebuffer attachment complete
fun gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

Not all attached images have the same width and height
fun gl_FRAMEBUFFER_UNSUPPORTED: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_UNSUPPORTED

The combination of internal formats of the attached images violates an implementation-dependent set of restrictions
fun gl_FRONT: Int

core :: Sys :: gl_FRONT

fun gl_GENERATE_MIPMAP_HINT: GLHintTarget

core :: Sys :: gl_GENERATE_MIPMAP_HINT

Indicates the quality of filtering when generating mipmap images
fun gl_INCR: Int

core :: Sys :: gl_INCR

fun gl_INT: Int

core :: Sys :: gl_INT

fun gl_KEEP: Int

core :: Sys :: gl_KEEP

fun gl_LESS: Int

core :: Sys :: gl_LESS

fun gl_LINES: Int

core :: Sys :: gl_LINES

fun gl_NEVER: Int

core :: Sys :: gl_NEVER

fun gl_NICEST: GLHintMode

core :: Sys :: gl_NICEST

The most correct, or highest quality, option should be chosen
fun gl_NONE: Int

core :: Sys :: gl_NONE

fun gl_ONE: Int

core :: Sys :: gl_ONE

fun gl_PACK_ALIGNEMENT: GLPack

core :: Sys :: gl_PACK_ALIGNEMENT

Parameter to specify the alignment requirements for the start of each pixel row in memory
fun gl_RENDERBUFFER: GLRenderbufferTarget

core :: Sys :: gl_RENDERBUFFER

Target a renderbuffer with glBindRenderbuffer
fun gl_RENDERER: GLEnum

core :: Sys :: gl_RENDERER

Name of the renderer, typically specific to a particular configuration of the hardware platform
fun gl_RGB: Int

core :: Sys :: gl_RGB

fun gl_RGB565: GLRenderbufferFormat

core :: Sys :: gl_RGB565

5 red, 6 green, 5 blue bits format
fun gl_RGB5_A1: GLRenderbufferFormat

core :: Sys :: gl_RGB5_A1

5 red, 5 green, 5 blue, 1 alpha bits format
fun gl_RGBA: Int

core :: Sys :: gl_RGBA

fun gl_RGBA4: Int

core :: Sys :: gl_RGBA4

fun gl_RGBA4: GLRenderbufferFormat

core :: Sys :: gl_RGBA4

4 red, 4 green, 4 blue, 4 alpha bits format
fun gl_SHADING_LANGUAGE_VERSION: GLEnum

core :: Sys :: gl_SHADING_LANGUAGE_VERSION

Version or release number for the shading language of the form
fun gl_SHORT: Int

core :: Sys :: gl_SHORT

fun gl_STATIC_DRAW: GLBufferUsage

core :: Sys :: gl_STATIC_DRAW

Data will be modified once and used many times
fun gl_STREAM_DRAW: GLBufferUsage

core :: Sys :: gl_STREAM_DRAW

Data will be modified once and used a few times
fun gl_TEXTURE(offset: Int): GLTextureUnit

core :: Sys :: gl_TEXTURE

Texture unit at offset after gl_TEXTURE0
fun gl_TEXTURE_2D: GLTextureTarget

core :: Sys :: gl_TEXTURE_2D

Two-dimensional texture
fun gl_TRUE: Int

core :: Sys :: gl_TRUE

fun gl_UNPACK_ALIGNEMENT: GLPack

core :: Sys :: gl_UNPACK_ALIGNEMENT

Parameter to specify the alignment requirements for the start of each pixel row in memory
fun gl_VENDOR: GLEnum

core :: Sys :: gl_VENDOR

Company responsible for this GL implementation
fun gl_VERSION: GLEnum

core :: Sys :: gl_VERSION

Version or release number
fun gl_ZERO: Int

core :: Sys :: gl_ZERO

private fun gles: GLES

core :: Sys :: gles

private fun gles=(gles: GLES)

core :: Sys :: gles=

fun gt_coll: Int

core :: Sys :: gt_coll

Number of calls of HashCollection::node_at_idx that collided
protected fun gt_coll=(gt_coll: Int)

core :: Sys :: gt_coll=

Number of calls of HashCollection::node_at_idx that collided
fun gt_count: Int

core :: Sys :: gt_count

Number of calls of HashCollection::node_at_idx
protected fun gt_count=(gt_count: Int)

core :: Sys :: gt_count=

Number of calls of HashCollection::node_at_idx
fun gt_tot_cap: Int

core :: Sys :: gt_tot_cap

Total capacity of hash collections receiver HashCollection::node_at_idx
protected fun gt_tot_cap=(gt_tot_cap: Int)

core :: Sys :: gt_tot_cap=

Total capacity of hash collections receiver HashCollection::node_at_idx
fun gt_tot_coll: Int

core :: Sys :: gt_tot_coll

Total length of collisions on calls of HashCollection::node_at_idx that collided
protected fun gt_tot_coll=(gt_tot_coll: Int)

core :: Sys :: gt_tot_coll=

Total length of collisions on calls of HashCollection::node_at_idx that collided
fun gt_tot_length: Int

core :: Sys :: gt_tot_length

Total length of hash collections receiver of HashCollection::node_at_idx
protected fun gt_tot_length=(gt_tot_length: Int)

core :: Sys :: gt_tot_length=

Total length of hash collections receiver of HashCollection::node_at_idx
fun gtk_init

core :: Sys :: gtk_init

Initialize the GTK system
fun gtk_main

core :: Sys :: gtk_main

Hand over control to the GTK event loop
fun gtk_main_iteration: Bool

core :: Sys :: gtk_main_iteration

Run a single iteration of the main loop, block until an event is noticed
fun gtk_main_iteration_do(blocking: Bool): Bool

core :: Sys :: gtk_main_iteration_do

Run a single iteration of the main loop, only block until an event is noticed if blocking
fun gtk_main_quit

core :: Sys :: gtk_main_quit

Quit the GTK event loop and clean up the system
fun gtk_window_width_request: Int

core :: Sys :: gtk_window_width_request

Request width of the GTK window for an app.nit application
fun h_errno: HErrno

core :: Sys :: h_errno

Last error raised by gethostbyname
fun handshake_app_name: String

core :: Sys :: handshake_app_name

Unique name of the application to use in the handshake
fun handshake_app_version: String

core :: Sys :: handshake_app_version

Version of the communication protocol to use in the handshake
fun hash: Int

core :: Object :: hash

The hash code of the object.
fun hello_world

core :: Sys :: hello_world

Print "Hello world!" to the log
fun host_re: Regex

core :: Sys :: host_re

protected fun host_re=(host_re: Regex)

core :: Sys :: host_re=

fun http_status_codes: HttpStatusCodes

core :: Sys :: http_status_codes

Get the default instance of HttpStatusCodes
fun id_int: IdFn[Int]

core :: Sys :: id_int

fun id_str: IdFn[String]

core :: Sys :: id_str

fun iface: String

core :: Sys :: iface

protected fun iface=(iface: String)

core :: Sys :: iface=

fun index_call: Counter[String]

core :: Sys :: index_call

Counts the number of call to index on a Text
protected fun index_call=(index_call: Counter[String])

core :: Sys :: index_call=

Counts the number of call to index on a Text
fun index_len: Counter[Int]

core :: Sys :: index_len

Distance between characters when looking for a character in a FlatString
protected fun index_len=(index_len: Counter[Int])

core :: Sys :: index_len=

Distance between characters when looking for a character in a FlatString
fun inf: Float

core :: Sys :: inf

Positive float infinite (IEEE 754)
fun info_level: Int

core :: Sys :: info_level

Info severity level
protected fun info_level=(info_level: Int)

core :: Sys :: info_level=

Info severity level
init init

core :: Object :: init

private fun init_args

core :: Sys :: init_args

Initialize program_args with the contents of native_argc and native_argv.
fun inspect: String

core :: Object :: inspect

Developer readable representation of self.
protected fun inspect_head: String

core :: Object :: inspect_head

Return "CLASSNAME:#OBJECTID".
fun intent_action: Action

core :: Sys :: intent_action

Allows user to get values with enum-like syntax : intent_action.main
fun intent_category: Category

core :: Sys :: intent_category

Allows user to get values with enum-like syntax : intent_category.home
fun intent_flag: Flag

core :: Sys :: intent_flag

Allows user to get values with enum-like syntax : intent_flag.activity_brought_to_front
fun interface_kind: MClassKind

core :: Sys :: interface_kind

The class kind interface
private fun intern_poll(in_fds: Array[Int], out_fds: Array[Int]): nullable Int

core :: Sys :: intern_poll

fun intrude_visibility: MVisibility

core :: Sys :: intrude_visibility

The visibility level intrude
fun inv_n: Float

core :: Sys :: inv_n

protected fun inv_n=(inv_n: Float)

core :: Sys :: inv_n=

intern fun is_same_instance(other: nullable Object): Bool

core :: Object :: is_same_instance

Return true if self and other are the same instance (i.e. same identity).
fun is_same_serialized(other: nullable Object): Bool

core :: Object :: is_same_serialized

Is self the same as other in a serialization context?
intern fun is_same_type(other: Object): Bool

core :: Object :: is_same_type

Return true if self and other have the same dynamic type.
fun is_windows: Bool

core :: Sys :: is_windows

Is this program currently running in a Windows OS?
fun iso88591_codec: Codec

core :: Sys :: iso88591_codec

Returns the instance of a ISO8859-1 Codec
fun jni_env: JniEnv

core :: Sys :: jni_env

Current main JniEnv
fun jni_env=(jni_env: JniEnv)

core :: Sys :: jni_env=

Sets the current default JNI env (use with jvm=)
private fun jni_env_cache: nullable JniEnv

core :: Sys :: jni_env_cache

private fun jni_env_cache=(jni_env_cache: nullable JniEnv)

core :: Sys :: jni_env_cache=

fun join_bytes(arr: Array[Bytes], sep: nullable BytePattern): Bytes

core :: Sys :: join_bytes

Joins an array of bytes arr separated by sep
fun jvm: JavaVM

core :: Sys :: jvm

Default Java Virtual Machine to use
fun jvm=(jvm: JavaVM)

core :: Sys :: jvm=

Sets the current default Java Virtual Machine (use with jni_env=)
private fun jvm_cache: nullable JavaVM

core :: Sys :: jvm_cache

private fun jvm_cache=(jvm_cache: nullable JavaVM)

core :: Sys :: jvm_cache=

fun keywords: Set[String]

core :: Sys :: keywords

Reserved keywords in the Nit language
protected fun keywords=(keywords: Set[String])

core :: Sys :: keywords=

Reserved keywords in the Nit language
fun last_byte_call: Int

core :: Sys :: last_byte_call

Calls to the last_byte property of a FlatString
protected fun last_byte_call=(last_byte_call: Int)

core :: Sys :: last_byte_call=

Calls to the last_byte property of a FlatString
fun last_mongoc_error: nullable BSONError

core :: Sys :: last_mongoc_error

Last error raised by monogdb::MongoClient.
protected fun last_mongoc_error=(last_mongoc_error: nullable BSONError)

core :: Sys :: last_mongoc_error=

Last error raised by monogdb::MongoClient.
fun last_mongoc_id: nullable BSONObjectId

core :: Sys :: last_mongoc_id

Last auto generated id if any.
fun last_mongoc_id=(last_mongoc_id: nullable BSONObjectId)

core :: Sys :: last_mongoc_id=

Last auto generated id if any.
private fun left_col: Int

core :: Sys :: left_col

private fun left_face: Int

core :: Sys :: left_face

fun length_cache_miss: Counter[String]

core :: Sys :: length_cache_miss

Counts the number of length calls that missed the cache
protected fun length_cache_miss=(length_cache_miss: Counter[String])

core :: Sys :: length_cache_miss=

Counts the number of length calls that missed the cache
fun length_calls: Counter[String]

core :: Sys :: length_calls

Counts the number of calls to property length
protected fun length_calls=(length_calls: Counter[String])

core :: Sys :: length_calls=

Counts the number of calls to property length
fun lfalse: LFalse

core :: Sys :: lfalse

The logical false variable.
fun line: String

core :: Sys :: line

The next line to process by the main program
protected fun line=(line: String)

core :: Sys :: line=

The next line to process by the main program
private fun linkto(o: Object): String

core :: Sys :: linkto

private fun listen_on(interfac: Interface, factory: HttpFactory)

core :: Sys :: listen_on

Activate a listener on interfac if there's not already one
private fun listeners: HashMap2[String, Int, ConnectionListener]

core :: Sys :: listeners

Active listeners
private fun listeners=(listeners: HashMap2[String, Int, ConnectionListener])

core :: Sys :: listeners=

Active listeners
private fun listeners_count: HashMap2[String, Int, Int]

core :: Sys :: listeners_count

Hosts needong each listener
private fun listeners_count=(listeners_count: HashMap2[String, Int, Int])

core :: Sys :: listeners_count=

Hosts needong each listener
fun load_jclass(name: CString): JClass

core :: Sys :: load_jclass

Get a Java class by its name from the current jni_env
private fun load_jclass_intern(instance_class_loader: JavaObject, class_loader_findClass: JMethodID, name: CString): JClass

core :: Sys :: load_jclass_intern

fun log_nitcorn_actions: Bool

core :: Sys :: log_nitcorn_actions

Should the actions be logged? This may log sensitive data.
private fun log_write(level: Int, tag: CString, text: CString)

core :: Sys :: log_write

Write text to Android log at priority level with tag tag
fun ltrue: LTrue

core :: Sys :: ltrue

The logical true variable.
fun main

core :: Sys :: main

The main method of a program.
fun main_thread: MainThread

core :: Sys :: main_thread

Handle to the program's main thread
private fun main_thread_cache: nullable MainThread

core :: Sys :: main_thread_cache

private fun main_thread_cache=(main_thread_cache: nullable MainThread)

core :: Sys :: main_thread_cache=

private fun main_thread_mutex=(main_thread_mutex: Mutex)

core :: Sys :: main_thread_mutex=

protected fun max_flips=(max_flips: Array[Int])

core :: Sys :: max_flips=

fun maxlen: Int

core :: Sys :: maxlen

Maxlen is the maximum length of a Leaf node
fun media_types: MediaTypes

core :: Sys :: media_types

MIME types list.
fun methods_in_object: Array[String]

core :: Sys :: methods_in_object

Top-level methods from the Object class
protected fun methods_in_object=(methods_in_object: Array[String])

core :: Sys :: methods_in_object=

Top-level methods from the Object class
fun methods_in_pointer: Array[String]

core :: Sys :: methods_in_pointer

Methods in the Pointer class
protected fun methods_in_pointer=(methods_in_pointer: Array[String])

core :: Sys :: methods_in_pointer=

Methods in the Pointer class
private fun mid_col: Int

core :: Sys :: mid_col

private fun mid_ln: Int

core :: Sys :: mid_ln

fun mix: Mix

core :: Sys :: mix

SDL2 mixer services
protected fun mix=(mix: Mix)

core :: Sys :: mix=

SDL2 mixer services
fun models: Set[ModelAsset]

core :: Sys :: models

All instantiated asset models
protected fun models=(models: Set[ModelAsset])

core :: Sys :: models=

All instantiated asset models
private fun mtl_libs: Map[String, Map[String, MtlDef]]

core :: Sys :: mtl_libs

Loaded .mtl material definitions, sorted by path in assets and material name
private fun mtl_libs=(mtl_libs: Map[String, Map[String, MtlDef]])

core :: Sys :: mtl_libs=

Loaded .mtl material definitions, sorted by path in assets and material name
fun n: Int

core :: Sys :: n

fun n: Int

core :: Sys :: n

protected fun n=(n: Int)

core :: Sys :: n=

protected fun n=(n: Int)

core :: Sys :: n=

fun n_chunks: Int

core :: Sys :: n_chunks

protected fun n_chunks=(n_chunks: Int)

core :: Sys :: n_chunks=

fun n_tasks: Int

core :: Sys :: n_tasks

protected fun n_tasks=(n_tasks: Int)

core :: Sys :: n_tasks=

fun nan: Float

core :: Sys :: nan

Not a Number, representation of an undefined or unrepresentable float (IEEE 754).
fun nanosleep(sec: Int, nanosec: Int): Bool

core :: Sys :: nanosleep

Wait a specific number of second and nanoseconds
private intern fun native_argc: Int

core :: Sys :: native_argc

First argument of the main C function.
private intern fun native_argv(i: Int): CString

core :: Sys :: native_argv

Second argument of the main C function.
private intern fun native_class_name: CString

core :: Object :: native_class_name

The class name of the object in CString format.
private fun native_getcwd: CString

core :: Sys :: native_getcwd

private fun native_glGetProgramInfoLog(program: GLProgram, buf_size: Int, buf: CString): Int

core :: Sys :: native_glGetProgramInfoLog

Return the program information log in buf
private fun native_glGetShaderInfoLog(shader: GLShader, buf_size: Int, buffer: CString): Int

core :: Sys :: native_glGetShaderInfoLog

private fun native_pthread_self: NativePthread

core :: Sys :: native_pthread_self

NativePthread for running thread
private fun native_readline(prompt: CString): CString

core :: Sys :: native_readline

fun nb_actors: Int

core :: Sys :: nb_actors

numbers of actors to create the ring
protected fun nb_actors=(nb_actors: Int)

core :: Sys :: nb_actors=

protected fun nb_actors=(nb_actors: Int)

core :: Sys :: nb_actors=

numbers of actors to create the ring
fun nb_rounds: Int

core :: Sys :: nb_rounds

How many time do we iterate before deciding if the number
protected fun nb_rounds=(nb_rounds: Int)

core :: Sys :: nb_rounds=

How many time do we iterate before deciding if the number
protected fun nb_threads=(nb_threads: Int)

core :: Sys :: nb_threads=

fun new_int_arr(x: nullable Int): InitArrayFn[Int]

core :: Sys :: new_int_arr

private fun next_notification_id: Int

core :: Sys :: next_notification_id

Returns a unique ID for new notifications
private fun next_notification_id_cache=(next_notification_id_cache: Int)

core :: Sys :: next_notification_id_cache=

fun nitpm_lib_dir: String

core :: Sys :: nitpm_lib_dir

Folder where are downloaded nitpm packages
fun none_visibility: MVisibility

core :: Sys :: none_visibility

The visibility level none (no visibility)
fun nslog(text: NSString)

core :: Sys :: nslog

Print a custom string to the log
protected fun numbers=(numbers: Array[String])

core :: Sys :: numbers=

private fun objc_call_context: ObjCCallContext

core :: Sys :: objc_call_context

Calls withing Objective-C code
intern fun object_id: Int

core :: Object :: object_id

An internal hash code for the object based on its identity.
private fun open_next_stream

core :: Sys :: open_next_stream

Open the next file until there is no more arguments
fun opt_help: OptionBool

core :: Sys :: opt_help

Help option
protected fun opt_help=(opt_help: OptionBool)

core :: Sys :: opt_help=

Help option
fun opt_verbose: OptionBool

core :: Sys :: opt_verbose

Verbose mode option
protected fun opt_verbose=(opt_verbose: OptionBool)

core :: Sys :: opt_verbose=

Verbose mode option
fun opts: OptionContext

core :: Sys :: opts

General command line options
protected fun opts=(opts: OptionContext)

core :: Sys :: opts=

General command line options
fun output

core :: Object :: output

Display self on stdout (debug only).
intern fun output_class_name

core :: Object :: output_class_name

Display class name on stdout (debug only).
private fun p_escapable: String

core :: Sys :: p_escapable

private fun p_escapable=(p_escapable: String)

core :: Sys :: p_escapable=

fun package_visibility: MVisibility

core :: Sys :: package_visibility

The “package” visiblity.
private fun pbx_file_types: Map[String, String]

core :: Sys :: pbx_file_types

Map to identify the PBX file type for a given file extension
private fun pbx_file_types=(pbx_file_types: Map[String, String])

core :: Sys :: pbx_file_types=

Map to identify the PBX file type for a given file extension
private fun pbx_uuid_generator: PbxUUIDGenerator

core :: Sys :: pbx_uuid_generator

Generator of PBX UUIDs quique to an execution of the compiler
private fun pbx_uuid_generator=(pbx_uuid_generator: PbxUUIDGenerator)

core :: Sys :: pbx_uuid_generator=

Generator of PBX UUIDs quique to an execution of the compiler
fun perfs: PerfMap

core :: Sys :: perfs

Main PerfMap available by default
protected fun perfs=(perfs: PerfMap)

core :: Sys :: perfs=

Main PerfMap available by default
fun perfs_print_period: Int

core :: Sys :: perfs_print_period

Number of actions executed before printing the perfs
fun pi: Float

core :: Sys :: pi

Approximate value of pi.
fun pid: Int

core :: Sys :: pid

The pid of the program
fun placeholder_model: LeafModel

core :: Sys :: placeholder_model

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
protected fun placeholder_model=(placeholder_model: LeafModel)

core :: Sys :: placeholder_model=

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
fun pld: Char

core :: Sys :: pld

Partial line forward (U+008B)
fun plu: Char

core :: Sys :: plu

Partial line backward (U+008C)
protected fun poll(streams: Sequence[FileStream]): nullable FileStream

core :: Sys :: poll

returns first available stream to read or write to
fun position_call: Counter[String]

core :: Sys :: position_call

Counter of the times bytepos is called on each type of receiver
protected fun position_call=(position_call: Counter[String])

core :: Sys :: position_call=

Counter of the times bytepos is called on each type of receiver
fun print(object: Object)

core :: Sys :: print

Print an object on the standard output (stdout) and add a newline.
fun print_colors(c1: Int, c2: Int)

core :: Sys :: print_colors

fun print_error(object: Object)

core :: Sys :: print_error

Print object on the error output (stderr or a log system)
private fun print_help

core :: Sys :: print_help

Print the general help message
fun print_lifecycle_events: Bool

core :: Sys :: print_lifecycle_events

Print Android lifecycle events to the log?
fun print_result(n: Int, res: Int, chk: Int)

core :: Sys :: print_result

fun print_stats

core :: Sys :: print_stats

Display statistics in standard output.
private fun print_usage

core :: Sys :: print_usage

fun print_warning(object: Object)

core :: Sys :: print_warning

Print a warning
fun printn(objects: Object...)

core :: Sys :: printn

Print objects on the standard output (stdout).
private fun priority_debug: Int

core :: Sys :: priority_debug

Debug Android log priority
private fun priority_default: Int

core :: Sys :: priority_default

Default Android log priority
private fun priority_error: Int

core :: Sys :: priority_error

Error Android log priority
private fun priority_fatal: Int

core :: Sys :: priority_fatal

Fatal Android log priority
private fun priority_info: Int

core :: Sys :: priority_info

Info Android log priority
private fun priority_silent: Int

core :: Sys :: priority_silent

Silent Android log priority
private fun priority_verbose: Int

core :: Sys :: priority_verbose

Verbose Android log priority
private fun priority_warn: Int

core :: Sys :: priority_warn

Warn Android log priority
fun private_visibility: MVisibility

core :: Sys :: private_visibility

The visibility level private
fun program_args: Sequence[String]

core :: Sys :: program_args

The arguments of the program as given by the OS
fun program_name: String

core :: Sys :: program_name

The name of the program as given by the OS
fun prompt(prompt: Text, add_history: nullable Bool): nullable String

core :: Sys :: prompt

Display prompt in the console and wait for a response
fun prompt_add_history(line: String)

core :: Sys :: prompt_add_history

Add line to the shell history
fun protected_visibility: MVisibility

core :: Sys :: protected_visibility

The visibility level protected
fun public_visibility: MVisibility

core :: Sys :: public_visibility

The visibility level public
fun raw_kind(s: String): MClassKind

core :: Sys :: raw_kind

A class kind with no equivalent semantic in Nit.
private fun re_atx_heading: Regex

core :: Sys :: re_atx_heading

ATX headings matching
private fun re_atx_heading=(re_atx_heading: Regex)

core :: Sys :: re_atx_heading=

ATX headings matching
private fun re_atx_trailing: Regex

core :: Sys :: re_atx_trailing

ATX trailings matching
private fun re_atx_trailing=(re_atx_trailing: Regex)

core :: Sys :: re_atx_trailing=

ATX trailings matching
fun re_closing_fence: Regex

core :: Sys :: re_closing_fence

Closing fence matching
protected fun re_closing_fence=(re_closing_fence: Regex)

core :: Sys :: re_closing_fence=

Closing fence matching
private fun re_escaped: Regex

core :: Sys :: re_escaped

private fun re_escaped=(re_escaped: Regex)

core :: Sys :: re_escaped=

fun re_html_blocks: Array[Array[nullable Regex]]

core :: Sys :: re_html_blocks

HTML blocks patterns
protected fun re_html_blocks=(re_html_blocks: Array[Array[nullable Regex]])

core :: Sys :: re_html_blocks=

HTML blocks patterns
fun re_list_marker: Regex

core :: Sys :: re_list_marker

List marker matching
protected fun re_list_marker=(re_list_marker: Regex)

core :: Sys :: re_list_marker=

List marker matching
fun re_opening_fence: Regex

core :: Sys :: re_opening_fence

Opening fence matching
protected fun re_opening_fence=(re_opening_fence: Regex)

core :: Sys :: re_opening_fence=

Opening fence matching
private fun re_setext_heading: Regex

core :: Sys :: re_setext_heading

SeText headings matching
private fun re_setext_heading=(re_setext_heading: Regex)

core :: Sys :: re_setext_heading=

SeText headings matching
fun re_thematic_break: Regex

core :: Sys :: re_thematic_break

Thematic break pattern
protected fun re_thematic_break=(re_thematic_break: Regex)

core :: Sys :: re_thematic_break=

Thematic break pattern
fun re_trailing_blank_lines: Regex

core :: Sys :: re_trailing_blank_lines

Blank lines matching
protected fun re_trailing_blank_lines=(re_trailing_blank_lines: Regex)

core :: Sys :: re_trailing_blank_lines=

Blank lines matching
private fun re_whitespace: Regex

core :: Sys :: re_whitespace

private fun re_whitespace=(re_whitespace: Regex)

core :: Sys :: re_whitespace=

private fun read_next_line

core :: Sys :: read_next_line

Read the next useful line from file-name arguments
private fun read_only: CString

core :: Sys :: read_only

Constant for read-only file streams
fun readline(message: String, with_history: nullable Bool): nullable String

core :: Sys :: readline

Use the GNU Library readline function
fun red: Int

core :: Sys :: red

private fun right_col: Int

core :: Sys :: right_col

private fun right_face: Int

core :: Sys :: right_face

fun root_window: Window

core :: Sys :: root_window

Hook to create the first window shown to the user
private fun rotation_matrix_cache=(rotation_matrix_cache: nullable Matrix)

core :: Sys :: rotation_matrix_cache=

private fun rotation_pitch: Float

core :: Sys :: rotation_pitch

private fun rotation_pitch=(rotation_pitch: Float)

core :: Sys :: rotation_pitch=

private fun rotation_roll: Float

core :: Sys :: rotation_roll

private fun rotation_roll=(rotation_roll: Float)

core :: Sys :: rotation_roll=

private fun rotation_yaw: Float

core :: Sys :: rotation_yaw

private fun rotation_yaw=(rotation_yaw: Float)

core :: Sys :: rotation_yaw=

fun run

core :: Sys :: run

The entry point for the execution of the whole program.
fun sdl: SDL

core :: Sys :: sdl

Access to the global methods of sdl2
protected fun sdl=(sdl: SDL)

core :: Sys :: sdl=

Access to the global methods of sdl2
fun search(index: ModelIndex, toolcontext: ToolContext, query: String): Float

core :: Sys :: search

private fun self_thread_key=(self_thread_key: NativePthreadKey)

core :: Sys :: self_thread_key=

fun sendmail_is_available: Bool

core :: Sys :: sendmail_is_available

Can we find the external program sendmail?
fun serialization_hash: Int

core :: Object :: serialization_hash

Hash value use for serialization
fun sessions: HashMap[String, Session]

core :: Sys :: sessions

Active sessions
protected fun sessions=(sessions: HashMap[String, Session])

core :: Sys :: sessions=

Active sessions
fun set_alarm(sec: Int)

core :: Sys :: set_alarm

Set alarm signal
fun set_emacs_mode

core :: Sys :: set_emacs_mode

Set emacs keybindings mode
fun set_vi_mode

core :: Sys :: set_vi_mode

Set emacs keybindings mode
fun show_hash_stats

core :: Sys :: show_hash_stats

Force the display of the current hash statistics
fun sigabrt: Int

core :: Sys :: sigabrt

This signal is sent to a process to tell it to abort, i. e. to terminate
fun sigalarm: Int

core :: Sys :: sigalarm

Alarm Clock signal
fun sigbus: Int

core :: Sys :: sigbus

This signal is sent to a process when it causes a bus error
fun sigchild: Int

core :: Sys :: sigchild

Sent to a process when a child process terminates or is interrupted
fun sigcont: Int

core :: Sys :: sigcont

Tell the operating system to continue (restart) a process previously paused by the SIGSTOP or SIGTSTP signal
fun sigfpe: Int

core :: Sys :: sigfpe

Issued if an illegal mathematical operation is attempted
fun sighup: Int

core :: Sys :: sighup

Hang up detected on controlling terminal or death of controlling process
fun sigill: Int

core :: Sys :: sigill

Issued if the user attempts to execute an illegal, malformed, unknown, or privileged instruction
fun sigint: Int

core :: Sys :: sigint

Issued if the user sends an interrupt signal
fun sigkill: Int

core :: Sys :: sigkill

If a process gets this signal it must quit immediately and will not perform any clean-up operations
fun sigpipe: Int

core :: Sys :: sigpipe

Sent to a process when it attempts to write to a pipe without a process connected to the other end
fun sigprof: Int

core :: Sys :: sigprof

Profiling timer expired
fun sigpwr: Int

core :: Sys :: sigpwr

Sent to a process when the system experiences a power failure
fun sigquit: Int

core :: Sys :: sigquit

Issued if the user sends a quit signal
fun sigsegv: Int

core :: Sys :: sigsegv

Sent to a process when it makes an invalid virtual memory reference, or segmentation fault
fun sigstop: Int

core :: Sys :: sigstop

Tell the operating system to stop a process
fun sigsys: Int

core :: Sys :: sigsys

Sent to a process when it passes a bad argument to a system call
fun sigterm: Int

core :: Sys :: sigterm

Software termination signal
fun sigtrap: Int

core :: Sys :: sigtrap

Issued when an exception occurs: a condition that a debugger has requested to be informed of
fun sigtstp: Int

core :: Sys :: sigtstp

Sent to a process by its terminal to request it to stop temporarily
fun sigurg: Int

core :: Sys :: sigurg

Sent to a process when a socket has urgent or out-of-band data available to read
fun sigusr1: Int

core :: Sys :: sigusr1

Sent to a process to indicate user-defined conditions
fun sigusr2: Int

core :: Sys :: sigusr2

Sent to a process to indicate user-defined conditions
fun sigvtalrm: Int

core :: Sys :: sigvtalrm

Virtual timer expired
fun sigwinch: Int

core :: Sys :: sigwinch

Sent to a process when its controlling terminal changes its window size
fun sigxcpu: Int

core :: Sys :: sigxcpu

Sent to a process when it has used the CPU for a duration that exceeds a user-settable value
fun sigxfsz: Int

core :: Sys :: sigxfsz

Sent to a process when it grows a file larger than the maximum allowed size
fun sounds: Array[PlayableAudio]

core :: Sys :: sounds

All instantiated sounds
protected fun sounds=(sounds: Array[PlayableAudio])

core :: Sys :: sounds=

All instantiated sounds
private fun sprite_draw_order_sorter=(sprite_draw_order_sorter: DrawOrderComparator)

core :: Sys :: sprite_draw_order_sorter=

fun sqlite_open_error: Sqlite3Code

core :: Sys :: sqlite_open_error

Last error raised when calling Sqlite3::open
private fun square: String

core :: Sys :: square

fun srand

core :: Sys :: srand

Reinitialize the pseudo-random generator used by the method rand and other.
fun srand_from(x: Int)

core :: Sys :: srand_from

Initialize the pseudo-random generator with the given seed.
fun st_coll: Int

core :: Sys :: st_coll

Number of calls of HashCollection::store that collided
protected fun st_coll=(st_coll: Int)

core :: Sys :: st_coll=

Number of calls of HashCollection::store that collided
fun st_count: Int

core :: Sys :: st_count

Number of calls of HashCollection::store
protected fun st_count=(st_count: Int)

core :: Sys :: st_count=

Number of calls of HashCollection::store
fun st_tot_cap: Int

core :: Sys :: st_tot_cap

Total capacity of hash collections receiver HashCollection::store
protected fun st_tot_cap=(st_tot_cap: Int)

core :: Sys :: st_tot_cap=

Total capacity of hash collections receiver HashCollection::store
fun st_tot_coll: Int

core :: Sys :: st_tot_coll

Total length of collisions on calls of HashCollection::store that collided
protected fun st_tot_coll=(st_tot_coll: Int)

core :: Sys :: st_tot_coll=

Total length of collisions on calls of HashCollection::store that collided
fun st_tot_length: Int

core :: Sys :: st_tot_length

Total length of hash collections receiver of HashCollection::store
protected fun st_tot_length=(st_tot_length: Int)

core :: Sys :: st_tot_length=

Total length of hash collections receiver of HashCollection::store
fun start_not_sticky: Int

core :: Sys :: start_not_sticky

The service may be stopped by the system and will not be restarted
fun start_redeliver_intent: Int

core :: Sys :: start_redeliver_intent

The service is explicitly started and stopped, it is restarted with the last intent if stopped by the system
fun start_sticky: Int

core :: Sys :: start_sticky

The service is explicitly started and stopped, it is restarted if stopped by the system
fun stderr: Writer

core :: Sys :: stderr

Standard output for errors
protected fun stderr=(stderr: Writer)

core :: Sys :: stderr=

Standard output for errors
fun stdin: PollableReader

core :: Sys :: stdin

Standard input
protected fun stdin=(stdin: PollableReader)

core :: Sys :: stdin=

Standard input
fun stdout: Writer

core :: Sys :: stdout

Standard output
protected fun stdout=(stdout: Writer)

core :: Sys :: stdout=

Standard output
private fun stdout_isatty: Bool

core :: Sys :: stdout_isatty

private fun stdout_isatty=(stdout_isatty: Bool)

core :: Sys :: stdout_isatty=

fun str_byte_length: Counter[Int]

core :: Sys :: str_byte_length

Length (bytes) of the FlatString created by lib
protected fun str_byte_length=(str_byte_length: Counter[Int])

core :: Sys :: str_byte_length=

Length (bytes) of the FlatString created by lib
fun str_full_created: Int

core :: Sys :: str_full_created

Number of strings created with full length created
protected fun str_full_created=(str_full_created: Int)

core :: Sys :: str_full_created=

Number of strings created with full length created
fun subset_kind: MClassKind

core :: Sys :: subset_kind

The class kind subset
fun suggest_garbage_collection

core :: Sys :: suggest_garbage_collection

The emscripten GC must be manually invoked, it will not act by itself
fun sum_fn: SumFn

core :: Sys :: sum_fn

intern fun sys: Sys

core :: Object :: sys

Return the global sys object, the only instance of the Sys class.
fun system(command: Text): Int

core :: Sys :: system

Execute a shell command and return its error code
protected fun task_id=(task_id: AtomicInt)

core :: Sys :: task_id=

fun tcp_addr: String

core :: Sys :: tcp_addr

Config for test sockets
protected fun tcp_addr=(tcp_addr: String)

core :: Sys :: tcp_addr=

Config for test sockets
fun tcp_port: Int

core :: Sys :: tcp_port

protected fun tcp_port=(tcp_port: Int)

core :: Sys :: tcp_port=

private fun test_bound_platform

core :: Sys :: test_bound_platform

Test if the application was bound to a platform, if not crash
fun test_cancel

core :: Sys :: test_cancel

Does not return if the running thread is to be cancelled
fun test_host: String

core :: Sys :: test_host

Use localhost for testing
protected fun test_host=(test_host: String)

core :: Sys :: test_host=

Use localhost for testing
fun test_port: Int

core :: Sys :: test_port

Return a new port for each instance
fun testing_id: Int

core :: Sys :: testing_id

Nitdoc testing ID
protected fun testing_id=(testing_id: Int)

core :: Sys :: testing_id=

fun textdomain(domain: String)

core :: Sys :: textdomain

Gettext textdomain, SEE gettext manual for further info
fun thread: Thread

core :: Sys :: thread

Returns the handle to the running Thread
fun to_c_call_context: ToCCallContext

core :: Sys :: to_c_call_context

Context when calling user C code from generated code
abstract fun to_jvalue(env: JniEnv): JValue

core :: Object :: to_jvalue

private fun to_objc_call_context: ToObjCCallContext

core :: Sys :: to_objc_call_context

Calls from C to Objective-C
fun to_s: String

core :: Object :: to_s

User readable representation of self.
private fun top_face: Int

core :: Sys :: top_face

private fun top_ln: Int

core :: Sys :: top_ln

fun triangulate(points: Array[Point[Float]]): Array[ConvexPolygon]

core :: Sys :: triangulate

Split a polygon into triangles
fun triangulate_recursive(points: Array[Point[Float]], results: Array[ConvexPolygon])

core :: Sys :: triangulate_recursive

Split a polygon into triangles using arrays in-place
fun turn_left(p1: Point[Float], p2: Point[Float], p3: Point[Float]): Bool

core :: Sys :: turn_left

Is the angle between [p1,p2] and [p2,p3] going left (counter clockwise) or right (clockwise) ?
fun uid: Int

core :: Sys :: uid

Current real user id of this process
fun uid=(uid: Int): Bool

core :: Sys :: uid=

Set the real current user id of this process
fun uniflatstr_allocations: Int

core :: Sys :: uniflatstr_allocations

Counts the number of allocations of UnicodeFlatString
protected fun uniflatstr_allocations=(uniflatstr_allocations: Int)

core :: Sys :: uniflatstr_allocations=

Counts the number of allocations of UnicodeFlatString
protected fun unix_socket_path=(unix_socket_path: String)

core :: Sys :: unix_socket_path=

fun unknown_level: Int

core :: Sys :: unknown_level

Unknown severity level
protected fun unknown_level=(unknown_level: Int)

core :: Sys :: unknown_level=

Unknown severity level
fun use_pthreads: Bool

core :: Sys :: use_pthreads

Use Pthreads locking and thread ID functions
fun use_windows_threads: Bool

core :: Sys :: use_windows_threads

Use Windows builtin locking and thread ID functions
fun utf8_codec: Codec

core :: Sys :: utf8_codec

Returns the instance of a UTF-8 Codec
private fun verbose: Bool

core :: Sys :: verbose

fun warn_level: Int

core :: Sys :: warn_level

Warning severity level
protected fun warn_level=(warn_level: Int)

core :: Sys :: warn_level=

Warning severity level
private fun wipe_write: CString

core :: Sys :: wipe_write

Constant for write-only file streams
fun work(n: Int, nb_colors: Int)

core :: Sys :: work

fun x_open_default_display: Pointer

core :: Sys :: x_open_default_display

Open the current display from the environment variables
fun x_open_display(name: String): Pointer

core :: Sys :: x_open_display

Open a specific display
fun xdg_basedir: XdgBasedir

core :: Sys :: xdg_basedir

Get an instance of XdgBasedir
fun xdg_basedir_spec: Float

core :: Sys :: xdg_basedir_spec

Version of XDG Base Directory specification implemented in this library.
fun yellow: Int

core :: Sys :: yellow

package_diagram core::Sys Sys core::Object Object core::Sys->core::Object

Parents

interface Object

core :: Object

The root of the class hierarchy.