From 3252898634f50b410fbe38e8f4cfd181caa1d442 Mon Sep 17 00:00:00 2001 From: Friedrich Weber Date: Wed, 21 Jul 2010 00:52:39 +0200 Subject: [PATCH] That was stupid. --- source/sdk/out/get-sdk.rst | 5 - source/sdk/out/io/File.rst | 190 ------ source/sdk/out/io/FileReader.rst | 56 -- source/sdk/out/io/FileWriter.rst | 36 - source/sdk/out/io/Reader.rst | 32 - source/sdk/out/io/Writer.rst | 29 - source/sdk/out/io/native/FileUnix.rst | 114 ---- source/sdk/out/io/native/FileWin32.rst | 117 ---- source/sdk/out/io/native/dirent.rst | 25 - source/sdk/out/lang/math.rst | 53 -- source/sdk/out/lang/memory.rst | 31 - source/sdk/out/lang/stdio.rst | 84 --- source/sdk/out/lang/string.rst | 11 - source/sdk/out/lang/system.rst | 7 - source/sdk/out/lang/types.rst | 634 ------------------ source/sdk/out/lang/vararg.rst | 14 - source/sdk/out/math/Random.rst | 40 -- source/sdk/out/native/win32/errors.rst | 7 - source/sdk/out/native/win32/types.rst | 25 - source/sdk/out/net/Address.rst | 312 --------- source/sdk/out/net/DNS.rst | 62 -- source/sdk/out/net/DatagramSocket.rst | 12 - source/sdk/out/net/Exceptions.rst | 37 - source/sdk/out/net/ServerSocket.rst | 35 - source/sdk/out/net/Socket.rst | 36 - source/sdk/out/net/StreamSocket.rst | 86 --- source/sdk/out/net/berkeley.rst | 125 ---- source/sdk/out/os/Env.rst | 28 - source/sdk/out/os/FileDescriptor.rst | 34 - source/sdk/out/os/Pipe.rst | 28 - source/sdk/out/os/PipeReader.rst | 26 - source/sdk/out/os/Process.rst | 73 -- source/sdk/out/os/Terminal.rst | 78 --- source/sdk/out/os/Time.rst | 63 -- source/sdk/out/os/fcntl.rst | 16 - source/sdk/out/os/mmap.rst | 77 --- source/sdk/out/os/native/PipeUnix.rst | 34 - source/sdk/out/os/native/ProcessUnix.rst | 20 - source/sdk/out/os/native/ProcessWin32.rst | 46 -- source/sdk/out/os/unistd.rst | 27 - source/sdk/out/os/wait.rst | 13 - source/sdk/out/structs/ArrayList.rst | 103 --- source/sdk/out/structs/Bag.rst | 38 -- source/sdk/out/structs/HashBag.rst | 34 - source/sdk/out/structs/HashMap.rst | 151 ----- source/sdk/out/structs/LinkedList.rst | 90 --- source/sdk/out/structs/List.rst | 142 ---- source/sdk/out/structs/MultiMap.rst | 57 -- source/sdk/out/structs/OrderedMultiMap.rst | 22 - source/sdk/out/structs/Stack.rst | 32 - source/sdk/out/text/Buffer.rst | 88 --- source/sdk/out/text/EscapeSequence.rst | 41 -- source/sdk/out/text/Regexp.rst | 114 ---- source/sdk/out/text/Shlex.rst | 40 -- source/sdk/out/text/StringReader.rst | 12 - source/sdk/out/text/StringTemplate.rst | 22 - source/sdk/out/text/StringTokenizer.rst | 83 --- source/sdk/out/text/regexp/PCRE.rst | 39 -- source/sdk/out/text/regexp/POSIX.rst | 20 - source/sdk/out/text/regexp/Regexp.rst | 44 -- source/sdk/out/text/regexp/RegexpBackend.rst | 26 - source/sdk/out/threading/Mutex.rst | 37 - source/sdk/out/threading/Runnable.rst | 10 - source/sdk/out/threading/Thread.rst | 16 - source/sdk/out/threading/native/MutexUnix.rst | 50 -- .../sdk/out/threading/native/MutexWin32.rst | 5 - .../sdk/out/threading/native/ThreadUnix.rst | 25 - .../sdk/out/threading/native/ThreadWin32.rst | 33 - 68 files changed, 4152 deletions(-) delete mode 100644 source/sdk/out/get-sdk.rst delete mode 100644 source/sdk/out/io/File.rst delete mode 100644 source/sdk/out/io/FileReader.rst delete mode 100644 source/sdk/out/io/FileWriter.rst delete mode 100644 source/sdk/out/io/Reader.rst delete mode 100644 source/sdk/out/io/Writer.rst delete mode 100644 source/sdk/out/io/native/FileUnix.rst delete mode 100644 source/sdk/out/io/native/FileWin32.rst delete mode 100644 source/sdk/out/io/native/dirent.rst delete mode 100644 source/sdk/out/lang/math.rst delete mode 100644 source/sdk/out/lang/memory.rst delete mode 100644 source/sdk/out/lang/stdio.rst delete mode 100644 source/sdk/out/lang/string.rst delete mode 100644 source/sdk/out/lang/system.rst delete mode 100644 source/sdk/out/lang/types.rst delete mode 100644 source/sdk/out/lang/vararg.rst delete mode 100644 source/sdk/out/math/Random.rst delete mode 100644 source/sdk/out/native/win32/errors.rst delete mode 100644 source/sdk/out/native/win32/types.rst delete mode 100644 source/sdk/out/net/Address.rst delete mode 100644 source/sdk/out/net/DNS.rst delete mode 100644 source/sdk/out/net/DatagramSocket.rst delete mode 100644 source/sdk/out/net/Exceptions.rst delete mode 100644 source/sdk/out/net/ServerSocket.rst delete mode 100644 source/sdk/out/net/Socket.rst delete mode 100644 source/sdk/out/net/StreamSocket.rst delete mode 100644 source/sdk/out/net/berkeley.rst delete mode 100644 source/sdk/out/os/Env.rst delete mode 100644 source/sdk/out/os/FileDescriptor.rst delete mode 100644 source/sdk/out/os/Pipe.rst delete mode 100644 source/sdk/out/os/PipeReader.rst delete mode 100644 source/sdk/out/os/Process.rst delete mode 100644 source/sdk/out/os/Terminal.rst delete mode 100644 source/sdk/out/os/Time.rst delete mode 100644 source/sdk/out/os/fcntl.rst delete mode 100644 source/sdk/out/os/mmap.rst delete mode 100644 source/sdk/out/os/native/PipeUnix.rst delete mode 100644 source/sdk/out/os/native/ProcessUnix.rst delete mode 100644 source/sdk/out/os/native/ProcessWin32.rst delete mode 100644 source/sdk/out/os/unistd.rst delete mode 100644 source/sdk/out/os/wait.rst delete mode 100644 source/sdk/out/structs/ArrayList.rst delete mode 100644 source/sdk/out/structs/Bag.rst delete mode 100644 source/sdk/out/structs/HashBag.rst delete mode 100644 source/sdk/out/structs/HashMap.rst delete mode 100644 source/sdk/out/structs/LinkedList.rst delete mode 100644 source/sdk/out/structs/List.rst delete mode 100644 source/sdk/out/structs/MultiMap.rst delete mode 100644 source/sdk/out/structs/OrderedMultiMap.rst delete mode 100644 source/sdk/out/structs/Stack.rst delete mode 100644 source/sdk/out/text/Buffer.rst delete mode 100644 source/sdk/out/text/EscapeSequence.rst delete mode 100644 source/sdk/out/text/Regexp.rst delete mode 100644 source/sdk/out/text/Shlex.rst delete mode 100644 source/sdk/out/text/StringReader.rst delete mode 100644 source/sdk/out/text/StringTemplate.rst delete mode 100644 source/sdk/out/text/StringTokenizer.rst delete mode 100644 source/sdk/out/text/regexp/PCRE.rst delete mode 100644 source/sdk/out/text/regexp/POSIX.rst delete mode 100644 source/sdk/out/text/regexp/Regexp.rst delete mode 100644 source/sdk/out/text/regexp/RegexpBackend.rst delete mode 100644 source/sdk/out/threading/Mutex.rst delete mode 100644 source/sdk/out/threading/Runnable.rst delete mode 100644 source/sdk/out/threading/Thread.rst delete mode 100644 source/sdk/out/threading/native/MutexUnix.rst delete mode 100644 source/sdk/out/threading/native/MutexWin32.rst delete mode 100644 source/sdk/out/threading/native/ThreadUnix.rst delete mode 100644 source/sdk/out/threading/native/ThreadWin32.rst diff --git a/source/sdk/out/get-sdk.rst b/source/sdk/out/get-sdk.rst deleted file mode 100644 index e8a7206..0000000 --- a/source/sdk/out/get-sdk.rst +++ /dev/null @@ -1,5 +0,0 @@ -get-sdk -======= - -.. module:: get-sdk - diff --git a/source/sdk/out/io/File.rst b/source/sdk/out/io/File.rst deleted file mode 100644 index 2293219..0000000 --- a/source/sdk/out/io/File.rst +++ /dev/null @@ -1,190 +0,0 @@ -io/File -======= - -.. module:: io/File - -.. class:: File - - :extends: :class:`~lang/types Object` - .. staticmethod:: new (path: :cover:`~lang/types String` ) -> :class:`~io/File File` - - .. staticmethod:: new~parentFile (parent: :class:`~io/File File` , path: :cover:`~lang/types String` ) -> :class:`~io/File File` - - .. staticmethod:: new~parentPath (parent, path: :cover:`~lang/types String` ) -> :class:`~io/File File` - - .. method:: isDir -> :cover:`~lang/types Bool` - - :return: true if it's a directory - - - .. method:: isFile -> :cover:`~lang/types Bool` - - :return: true if it's a file (ie. not a directory nor a symbolic link) - - - .. method:: isLink -> :cover:`~lang/types Bool` - - :return: true if the file is a symbolic link - - - .. method:: size -> :cover:`~lang/types LLong` - - :return: the size of the file, in bytes - - - .. method:: exists -> :cover:`~lang/types Bool` - - :return: true if the file exists and can be - opened for reading - - - .. method:: ownerPerm -> :cover:`~lang/types Int` - - :return: the permissions for the owner of this file - - - .. method:: groupPerm -> :cover:`~lang/types Int` - - :return: the permissions for the group of this file - - - .. method:: otherPerm -> :cover:`~lang/types Int` - - :return: the permissions for the others (not owner, not group) - - - .. method:: name -> :cover:`~lang/types String` - - :return: the last part of the path, e.g. for /etc/init.d/bluetooth - name() will return 'bluetooth' - - - .. method:: parent -> :class:`~io/File File` - - :return: the parent of this file, e.g. for /etc/init.d/bluetooth - it will return /etc/init.d/ (as a File), or null if it's the - root directory. - - - .. method:: parentName -> :cover:`~lang/types String` - - :return: the parent of this file, e.g. for /etc/init.d/bluetooth - it will return /etc/init.d/ (as a File), or null if it's the - root directory. - - - .. method:: mkdir -> :cover:`~lang/types Int` - - create a directory at the path specified by this file, - with permissions 0c755 by default - - - .. method:: mkdir~withMode (mode: :cover:`~lang/types Int32` ) -> :cover:`~lang/types Int` - - create a directory at the path specified by this file - - :param mode: The permissions at the creation of the directory - - - .. method:: mkdirs - - create a directory at the path specified by this file, - and all the parent directories if needed, - with permissions 0c755 by default - - - .. method:: mkdirs~withMode (mode: :cover:`~lang/types Int32` ) -> :cover:`~lang/types Int` - - create a directory at the path specified by this file, - and all the parent directories if needed - - :param mode: The permissions at the creation of the directory - - - .. method:: lastAccessed -> :cover:`~lang/types Long` - - :return: the time of last access - - - .. method:: lastModified -> :cover:`~lang/types Long` - - :return: the time of last modification - - - .. method:: created -> :cover:`~lang/types Long` - - :return: the time of creation - - - .. method:: isRelative -> :cover:`~lang/types Bool` - - :return: true if the function is relative to the current directory - - - .. method:: getPath -> :cover:`~lang/types String` - - the path this file has been created with - - - .. method:: getAbsolutePath -> :cover:`~lang/types String` - - The absolute path, e.g. "my/dir" => "/current/directory/my/dir" - - - .. method:: getAbsoluteFile -> :class:`~io/File File` - - A file corresponding to the absolute path - - :see: getAbsolutePath - - - .. method:: getChildrenNames -> :class:`~structs/ArrayList ArrayList` - - List the name of the children of this path - Works only on directories, obviously - - - .. method:: getChildren -> :class:`~structs/ArrayList ArrayList` - - List the children of this path - Works only on directories, obviously - - - .. method:: remove -> :cover:`~lang/types Int` - - Tries to remove the file. This only works for files, not directories. - - - .. method:: copyTo (dstFile: :class:`~io/File File` ) - - Copies the content of this file to another - - :param dstFile: the file to copy to - - - .. method:: read -> :cover:`~lang/types String` - - .. method:: write~string (str: :cover:`~lang/types String` ) - - .. method:: write~reader (reader: :class:`~io/Reader Reader` ) - - .. method:: getChild (name: :cover:`~lang/types String` ) -> :class:`~io/File File` - - Get a child of this path - - :param name: The name of the child, relatively to this path - - - .. staticmethod:: getCwd -> :cover:`~lang/types String` - - :return: the current working directory - - - .. field:: MAX_PATH_LENGTH -> :cover:`~lang/types Int` - - .. field:: path -> :cover:`~lang/types String` - - .. field:: separator -> :cover:`~lang/types Char` - - .. field:: pathDelimiter -> :cover:`~lang/types Char` - diff --git a/source/sdk/out/io/FileReader.rst b/source/sdk/out/io/FileReader.rst deleted file mode 100644 index 263e7f8..0000000 --- a/source/sdk/out/io/FileReader.rst +++ /dev/null @@ -1,56 +0,0 @@ -io/FileReader -============= - -.. module:: io/FileReader - -.. function:: fopen (filename, mode: :cover:`~lang/types Char` *) -> :cover:`~lang/stdio FILE` * - -.. function:: fread (ptr: :cover:`~lang/types Pointer` , size, count: :cover:`~lang/types SizeT` , stream: :cover:`~lang/stdio FILE` *) -> :cover:`~lang/types SizeT` - -.. function:: ferror (stream: :cover:`~lang/stdio FILE` *) -> :cover:`~lang/types Int` - -.. function:: feof (stream: :cover:`~lang/stdio FILE` *) -> :cover:`~lang/types Int` - -.. function:: fseek (stream: :cover:`~lang/stdio FILE` *, offset: :cover:`~lang/types Long` , origin: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: ftell (stream: :cover:`~lang/stdio FILE` *) -> :cover:`~lang/types Long` - -.. class:: FileReader - - :extends: :class:`~io/Reader Reader` - .. staticmethod:: new~withFile (fileObject: :class:`~io/File File` ) -> :class:`~io/FileReader FileReader` - - .. method:: init~withFile (fileObject: :class:`~io/File File` ) - - .. staticmethod:: new~withName (fileName: :cover:`~lang/types String` ) -> :class:`~io/FileReader FileReader` - - .. method:: init~withName (fileName: :cover:`~lang/types String` ) - - .. staticmethod:: new~withMode (fileName, mode: :cover:`~lang/types String` ) -> :class:`~io/FileReader FileReader` - - .. method:: init~withMode (fileName, mode: :cover:`~lang/types String` ) - - .. method:: read (chars: :cover:`~lang/types String` , offset, count: :cover:`~lang/types Int` ) -> :cover:`~lang/types SizeT` - - .. method:: read~char -> :cover:`~lang/types Char` - - .. method:: readLine -> :cover:`~lang/types String` - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: rewind (offset: :cover:`~lang/types Int` ) - - .. method:: mark -> :cover:`~lang/types Long` - - .. method:: reset (marker: :cover:`~lang/types Long` ) - - .. method:: close - - .. field:: file -> :cover:`~lang/stdio FILE` * - -.. var:: SEEK_CUR -> :cover:`~lang/types Int` - -.. var:: SEEK_SET -> :cover:`~lang/types Int` - -.. var:: SEEK_END -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/io/FileWriter.rst b/source/sdk/out/io/FileWriter.rst deleted file mode 100644 index 5ace771..0000000 --- a/source/sdk/out/io/FileWriter.rst +++ /dev/null @@ -1,36 +0,0 @@ -io/FileWriter -============= - -.. module:: io/FileWriter - -.. class:: FileWriter - - :extends: :class:`~io/Writer Writer` - .. staticmethod:: new~withFile (fileObject: :class:`~io/File File` , append: :cover:`~lang/types Bool` ) -> :class:`~io/FileWriter FileWriter` - - .. method:: init~withFile (fileObject: :class:`~io/File File` , append: :cover:`~lang/types Bool` ) - - .. staticmethod:: new~withFileOverwrite (fileObject: :class:`~io/File File` ) -> :class:`~io/FileWriter FileWriter` - - .. method:: init~withFileOverwrite (fileObject: :class:`~io/File File` ) - - .. staticmethod:: new~withName (fileName: :cover:`~lang/types String` , append: :cover:`~lang/types Bool` ) -> :class:`~io/FileWriter FileWriter` - - .. method:: init~withName (fileName: :cover:`~lang/types String` , append: :cover:`~lang/types Bool` ) - - .. staticmethod:: new~withNameOverwrite (fileName: :cover:`~lang/types String` ) -> :class:`~io/FileWriter FileWriter` - - .. method:: init~withNameOverwrite (fileName: :cover:`~lang/types String` ) - - .. method:: write (chars: :cover:`~lang/types String` , length: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types SizeT` - - .. method:: write~chr (chr: :cover:`~lang/types Char` ) - - .. method:: close - - .. method:: writef (fmt: :cover:`~lang/types String` , ...) - - .. method:: vwritef (fmt: :cover:`~lang/types String` , args: :cover:`~lang/vararg VaList` ) - - .. field:: file -> :cover:`~lang/stdio FStream` - diff --git a/source/sdk/out/io/Reader.rst b/source/sdk/out/io/Reader.rst deleted file mode 100644 index 15c9685..0000000 --- a/source/sdk/out/io/Reader.rst +++ /dev/null @@ -1,32 +0,0 @@ -io/Reader -========= - -.. module:: io/Reader - -.. class:: Reader - - :extends: :class:`~lang/types Object` - .. method:: read (chars: :cover:`~lang/types String` , offset, count: :cover:`~lang/types Int` ) -> :cover:`~lang/types SizeT` - - .. method:: read~char -> :cover:`~lang/types Char` - - .. method:: readUntil (end: :cover:`~lang/types Char` ) -> :cover:`~lang/types String` - - .. method:: readLine -> :cover:`~lang/types String` - - .. method:: peek -> :cover:`~lang/types Char` - - .. method:: skipWhile (unwanted: :cover:`~lang/types Char` ) - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: rewind (offset: :cover:`~lang/types Int` ) - - .. method:: mark -> :cover:`~lang/types Long` - - .. method:: reset (marker: :cover:`~lang/types Long` ) - - .. method:: skip (offset: :cover:`~lang/types Int` ) - - .. field:: marker -> :cover:`~lang/types Long` - diff --git a/source/sdk/out/io/Writer.rst b/source/sdk/out/io/Writer.rst deleted file mode 100644 index 62f7887..0000000 --- a/source/sdk/out/io/Writer.rst +++ /dev/null @@ -1,29 +0,0 @@ -io/Writer -========= - -.. module:: io/Writer - -.. class:: Writer - - :extends: :class:`~lang/types Object` - .. method:: close - - .. method:: write~chr (chr: :cover:`~lang/types Char` ) - - .. method:: write (chars: :cover:`~lang/types String` , length: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types SizeT` - - .. method:: write~implicitLength (chars: :cover:`~lang/types String` ) -> :cover:`~lang/types SizeT` - - .. method:: write~fromReader (source: :class:`~io/Reader Reader` , bufferSize: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types SizeT` - - Copies data from a Reader into this Writer. - - :param bufferSize: size in bytes of the internal transfer buffer - :return: total bytes transfered - - - .. method:: write~fromReaderDefaultBufferSize (source: :class:`~io/Reader Reader` ) - - Same as write(source, bufferSize) except uses a default buffer size of 8192 bytes. - - diff --git a/source/sdk/out/io/native/FileUnix.rst b/source/sdk/out/io/native/FileUnix.rst deleted file mode 100644 index 8612596..0000000 --- a/source/sdk/out/io/native/FileUnix.rst +++ /dev/null @@ -1,114 +0,0 @@ -io/native/FileUnix -================== - -.. module:: io/native/FileUnix - -.. function:: realpath (path, resolved: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - -.. function:: _getcwd (buf: :cover:`~lang/types String` , size: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types String` - -.. function:: S_ISDIR (...) -> :cover:`~lang/types Bool` - -.. function:: S_ISREG (...) -> :cover:`~lang/types Bool` - -.. function:: S_ISLNK (...) -> :cover:`~lang/types Bool` - -.. function:: S_IRWXU (...) - -.. function:: S_IRWXG (...) - -.. function:: S_IRWXO (...) - -.. function:: lstat (:cover:`~lang/types String` , :cover:`~io/native/FileUnix FileStat` *) -> :cover:`~lang/types Int` - -.. function:: _mkdir (:cover:`~lang/types String` , :cover:`~io/native/FileUnix ModeT` ) -> :cover:`~lang/types Int` - -.. function:: remove (path: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - -.. function:: _remove (path: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - -.. cover:: ModeT - - :from: ``mode_t`` -.. cover:: FileStat - - :from: ``struct stat`` -.. class:: FileUnix - - :extends: :class:`~io/File File` - .. staticmethod:: new~unix (path: :cover:`~lang/types String` ) -> :class:`~io/native/FileUnix FileUnix` - - .. method:: init~unix (path: :cover:`~lang/types String` ) - - .. method:: isDir -> :cover:`~lang/types Bool` - - @return true if it's a directory - - - .. method:: isFile -> :cover:`~lang/types Bool` - - @return true if it's a file (ie. not a directory nor a symbolic link) - - - .. method:: isLink -> :cover:`~lang/types Bool` - - @return true if the file is a symbolic link - - - .. method:: size -> :cover:`~lang/types LLong` - - @return the size of the file, in bytes - - - .. method:: ownerPerm -> :cover:`~lang/types Int` - - @return the permissions for the owner of this file - - - .. method:: groupPerm -> :cover:`~lang/types Int` - - @return the permissions for the group of this file - - - .. method:: otherPerm -> :cover:`~lang/types Int` - - @return the permissions for the others (not owner, not group) - - - .. method:: lastAccessed -> :cover:`~lang/types Long` - - @return the time of last access, or -1 if it doesn't exist - - - .. method:: lastModified -> :cover:`~lang/types Long` - - @return the time of last modification, or -1 if it doesn't exist - - - .. method:: created -> :cover:`~lang/types Long` - - @return the time of creation, or -1 if it doesn't exist - - - .. method:: isRelative -> :cover:`~lang/types Bool` - - @return true if the function is relative to the current directory - - - .. method:: getAbsolutePath -> :cover:`~lang/types String` - - The absolute path, e.g. "my/dir" => "/current/directory/my/dir" - - - .. method:: getAbsoluteFile -> :class:`~io/File File` - - A file corresponding to the absolute path - @see getAbsolutePath - - - .. method:: getChildrenNames -> :class:`~structs/ArrayList ArrayList` - - .. method:: getChildren -> :class:`~structs/ArrayList ArrayList` - - .. method:: mkdir~withMode (mode: :cover:`~lang/types Int32` ) -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/io/native/FileWin32.rst b/source/sdk/out/io/native/FileWin32.rst deleted file mode 100644 index 63fd73a..0000000 --- a/source/sdk/out/io/native/FileWin32.rst +++ /dev/null @@ -1,117 +0,0 @@ -io/native/FileWin32 -=================== - -.. module:: io/native/FileWin32 - -.. function:: FindFirstFile (:cover:`~lang/types String` , :cover:`~io/native/FileWin32 FindData` *) -> :cover:`~native/win32/types Handle` - -.. function:: FindNextFile (:cover:`~native/win32/types Handle` , :cover:`~io/native/FileWin32 FindData` *) -> :cover:`~lang/types Bool` - -.. function:: FindClose (:cover:`~native/win32/types Handle` ) - -.. function:: GetFileAttributes (:cover:`~lang/types String` ) -> :cover:`~lang/types Long` - -.. function:: CreateDirectory (:cover:`~lang/types String` , :cover:`~lang/types Pointer` ) -> :cover:`~lang/types Bool` - -.. function:: _remove (path: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - -.. cover:: FindData - - :from: ``WIN32_FIND_DATA`` -.. class:: FileWin32 - - :extends: :class:`~io/File File` - .. staticmethod:: new~win32 (path: :cover:`~lang/types String` ) -> :class:`~io/native/FileWin32 FileWin32` - - .. method:: init~win32 (path: :cover:`~lang/types String` ) - - .. method:: exists -> :cover:`~lang/types Bool` - - @return true if the file exists and can be - opened for reading - - - .. method:: findSingle (ffdPtr: :cover:`~io/native/FileWin32 FindData` *) - - .. method:: findFirst (ffdPtr: :cover:`~io/native/FileWin32 FindData` *) -> :cover:`~native/win32/types Handle` - - .. method:: isDir -> :cover:`~lang/types Bool` - - @return true if it's a directory - - - .. method:: isFile -> :cover:`~lang/types Bool` - - @return true if it's a file (ie. not a directory nor a symbolic link) - - - .. method:: isLink -> :cover:`~lang/types Bool` - - @return true if the file is a symbolic link - - - .. method:: size -> :cover:`~lang/types LLong` - - @return the size of the file, in bytes - - - .. method:: ownerPerm -> :cover:`~lang/types Int` - - @return the permissions for the owner of this file - - - .. method:: groupPerm -> :cover:`~lang/types Int` - - @return the permissions for the group of this file - - - .. method:: otherPerm -> :cover:`~lang/types Int` - - @return the permissions for the others (not owner, not group) - - - .. method:: mkdir~withMode (mode: :cover:`~lang/types Int32` ) -> :cover:`~lang/types Int` - - .. method:: lastAccessed -> :cover:`~lang/types Long` - - @return the time of last access - - - .. method:: lastModified -> :cover:`~lang/types Long` - - @return the time of last modification - - - .. method:: created -> :cover:`~lang/types Long` - - @return the time of creation - - - .. method:: isRelative -> :cover:`~lang/types Bool` - - @return true if the function is relative to the current directory - - - .. method:: getAbsolutePath -> :cover:`~lang/types String` - - The absolute path, e.g. "my/dir" => "/current/directory/my/dir" - - - .. method:: getChildrenNames -> :class:`~structs/ArrayList ArrayList` - - List the name of the children of this path - Works only on directories, obviously - - - .. method:: getChildren -> :class:`~structs/ArrayList ArrayList` - - List the children of this path - Works only on directories, obviously - - -.. var:: FILE_ATTRIBUTE_DIRECTORY -> :cover:`~lang/types Long` - -.. var:: FILE_ATTRIBUTE_NORMAL -> :cover:`~lang/types Long` - -.. var:: FILE_ATTRIBUTE_REPARSE_POINT -> :cover:`~lang/types Long` - diff --git a/source/sdk/out/io/native/dirent.rst b/source/sdk/out/io/native/dirent.rst deleted file mode 100644 index 5d52ff7..0000000 --- a/source/sdk/out/io/native/dirent.rst +++ /dev/null @@ -1,25 +0,0 @@ -io/native/dirent -================ - -.. module:: io/native/dirent - -.. function:: closedir (:cover:`~io/native/dirent DirPtr` ) -> :cover:`~lang/types Int` - -.. function:: opendir (:cover:`~lang/types String` ) -> :cover:`~io/native/dirent DirPtr` - -.. function:: readdir (:cover:`~io/native/dirent DirPtr` ) -> :cover:`~io/native/dirent DirEnt` * - -.. function:: readdir_r (:cover:`~io/native/dirent DirPtr` , :cover:`~io/native/dirent DirEnt` *, :cover:`~io/native/dirent DirEnt` **) -> :cover:`~lang/types Int` - -.. function:: rewinddir (:cover:`~io/native/dirent DirPtr` ) - -.. function:: seekdir (:cover:`~io/native/dirent DirPtr` , :cover:`~lang/types Long` ) - -.. function:: telldir (:cover:`~io/native/dirent DirPtr` ) -> :cover:`~lang/types Long` - -.. cover:: DirPtr - - :from: ``DIR*`` -.. cover:: DirEnt - - :from: ``struct dirent`` diff --git a/source/sdk/out/lang/math.rst b/source/sdk/out/lang/math.rst deleted file mode 100644 index 9eaa2a9..0000000 --- a/source/sdk/out/lang/math.rst +++ /dev/null @@ -1,53 +0,0 @@ -lang/math -========= - -.. module:: lang/math - -.. function:: cos (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: sin (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: tan (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: acos (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: asin (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: atan (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: atan2 (:cover:`~lang/types Double` , :cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: sqrt (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: pow (:cover:`~lang/types Double` , :cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: srand (:cover:`~lang/types Int` ) - -.. function:: rand -> :cover:`~lang/types Int` - -.. function:: log~Double (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: log~Float (:cover:`~lang/types Float` ) -> :cover:`~lang/types Float` - -.. function:: log~Long (:cover:`~lang/types LDouble` ) -> :cover:`~lang/types LDouble` - -.. function:: log10~Double (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: log10~Float (:cover:`~lang/types Float` ) -> :cover:`~lang/types Float` - -.. function:: log10~Long (:cover:`~lang/types LDouble` ) -> :cover:`~lang/types LDouble` - -.. function:: round~dl (:cover:`~lang/types Double` ) -> :cover:`~lang/types Long` - -.. function:: ceil~Double (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: ceil~Float (:cover:`~lang/types Float` ) -> :cover:`~lang/types Float` - -.. function:: ceil~Long (:cover:`~lang/types LDouble` ) -> :cover:`~lang/types LDouble` - -.. function:: floor~Double (:cover:`~lang/types Double` ) -> :cover:`~lang/types Double` - -.. function:: floor~Float (:cover:`~lang/types Float` ) -> :cover:`~lang/types Float` - -.. function:: floor~Long (:cover:`~lang/types LDouble` ) -> :cover:`~lang/types LDouble` - diff --git a/source/sdk/out/lang/memory.rst b/source/sdk/out/lang/memory.rst deleted file mode 100644 index ce802ef..0000000 --- a/source/sdk/out/lang/memory.rst +++ /dev/null @@ -1,31 +0,0 @@ -lang/memory -=========== - -.. module:: lang/memory - -.. function:: gc_malloc (size: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Pointer` - -.. function:: gc_malloc_atomic (size: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Pointer` - -.. function:: gc_realloc (ptr: :cover:`~lang/types Pointer` , size: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Pointer` - -.. function:: gc_calloc (nmemb, size: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Pointer` - -.. function:: gc_register_finalizer (obj: :cover:`~lang/types Pointer` , callback: :cover:`~lang/memory GC_finalization_proc` , userdata, oldObj, oldCallback: :cover:`~lang/types Pointer` ) - -.. function:: gc_invoke_finalizers - -.. function:: sizeof (...) -> :cover:`~lang/types SizeT` - -.. function:: memset (:cover:`~lang/types Pointer` , :cover:`~lang/types Int` , :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Pointer` - -.. function:: memcmp (:cover:`~lang/types Pointer` , :cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Int` - -.. function:: memmove (:cover:`~lang/types Pointer` , :cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` ) - -.. function:: memcpy (:cover:`~lang/types Pointer` , :cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` ) - -.. function:: free (:cover:`~lang/types Pointer` ) - -.. cover:: GC_finalization_proc - diff --git a/source/sdk/out/lang/stdio.rst b/source/sdk/out/lang/stdio.rst deleted file mode 100644 index cb16148..0000000 --- a/source/sdk/out/lang/stdio.rst +++ /dev/null @@ -1,84 +0,0 @@ -lang/stdio -========== - -.. module:: lang/stdio - -.. function:: println~withStr (str: :cover:`~lang/types String` ) - -.. function:: println - -.. function:: printf (:cover:`~lang/types Char` *, ...) -> :cover:`~lang/types Int` - -.. function:: fprintf (:cover:`~lang/stdio FStream` , :cover:`~lang/types Char` *, ...) -> :cover:`~lang/types Int` - -.. function:: sprintf (:cover:`~lang/types Char` *, :cover:`~lang/types Char` *, ...) -> :cover:`~lang/types Int` - -.. function:: snprintf (:cover:`~lang/types Char` *, :cover:`~lang/types Int` , :cover:`~lang/types Char` *, ...) -> :cover:`~lang/types Int` - -.. function:: vprintf (:cover:`~lang/types Char` *, :cover:`~lang/vararg VaList` ) -> :cover:`~lang/types Int` - -.. function:: vfprintf (:cover:`~lang/stdio FStream` , :cover:`~lang/types Char` *, :cover:`~lang/vararg VaList` ) -> :cover:`~lang/types Int` - -.. function:: vsprintf (:cover:`~lang/types Char` *, :cover:`~lang/types Char` *, :cover:`~lang/vararg VaList` ) -> :cover:`~lang/types Int` - -.. function:: vsnprintf (:cover:`~lang/types Char` *, :cover:`~lang/types Int` , :cover:`~lang/types Char` *, :cover:`~lang/vararg VaList` ) -> :cover:`~lang/types Int` - -.. function:: fread (ptr: :cover:`~lang/types Pointer` , size, nmemb: :cover:`~lang/types SizeT` , stream: :cover:`~lang/stdio FStream` ) -> :cover:`~lang/types SizeT` - -.. function:: fwrite (ptr: :cover:`~lang/types Pointer` , size, nmemb: :cover:`~lang/types SizeT` , stream: :cover:`~lang/stdio FStream` ) -> :cover:`~lang/types SizeT` - -.. function:: feof (stream: :cover:`~lang/stdio FStream` ) -> :cover:`~lang/types Int` - -.. function:: fopen (:cover:`~lang/types Char` *, :cover:`~lang/types Char` *) -> :cover:`~lang/stdio FStream` - -.. function:: fclose (:cover:`~lang/stdio FStream` ) -> :cover:`~lang/types Int` - -.. function:: fflush (stream: :cover:`~lang/stdio FStream` ) - -.. function:: fputc (:cover:`~lang/types Char` , :cover:`~lang/stdio FStream` ) - -.. function:: fputs (:cover:`~lang/types Char` *, :cover:`~lang/stdio FStream` ) - -.. function:: scanf (format: :cover:`~lang/types Char` *, ...) -> :cover:`~lang/types Int` - -.. function:: fscanf (stream: :cover:`~lang/stdio FStream` , format: :cover:`~lang/types Char` *, ...) -> :cover:`~lang/types Int` - -.. function:: sscanf (str, format: :cover:`~lang/types Char` *, ...) -> :cover:`~lang/types Int` - -.. function:: vscanf (format: :cover:`~lang/types Char` *, ap: :cover:`~lang/vararg VaList` ) -> :cover:`~lang/types Int` - -.. function:: vfscanf (stream: :cover:`~lang/stdio FStream` , format: :cover:`~lang/types Char` *, ap: :cover:`~lang/vararg VaList` ) -> :cover:`~lang/types Int` - -.. function:: vsscanf (str, format: :cover:`~lang/types Char` *, ap: :cover:`~lang/vararg VaList` ) -> :cover:`~lang/types Int` - -.. function:: fgets (str: :cover:`~lang/types Char` *, length: :cover:`~lang/types SizeT` , stream: :cover:`~lang/stdio FStream` ) -> :cover:`~lang/types Char` * - -.. cover:: FILE - -.. cover:: FStream - - :from: ``FILE*`` - .. method:: open (filename: :cover:`~lang/types String` , mode: :cover:`~lang/types String` ) -> :cover:`~lang/stdio FStream` - - .. method:: close -> :cover:`~lang/types Int` - - .. method:: flush - - .. method:: readChar -> :cover:`~lang/types Char` - - .. method:: readLine -> :cover:`~lang/types String` - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: write~chr (chr: :cover:`~lang/types Char` ) - - .. method:: write (str: :cover:`~lang/types String` ) - - .. method:: write~precise (str: :cover:`~lang/types Char` *, offset, length: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types SizeT` - -.. var:: stdout -> :cover:`~lang/stdio FStream` - -.. var:: stderr -> :cover:`~lang/stdio FStream` - -.. var:: stdin -> :cover:`~lang/stdio FStream` - diff --git a/source/sdk/out/lang/string.rst b/source/sdk/out/lang/string.rst deleted file mode 100644 index 388ee7d..0000000 --- a/source/sdk/out/lang/string.rst +++ /dev/null @@ -1,11 +0,0 @@ -lang/string -=========== - -.. module:: lang/string - -.. function:: strcmp (:cover:`~lang/types Char` *, :cover:`~lang/types Char` *) -> :cover:`~lang/types Int` - -.. function:: strncmp (:cover:`~lang/types Char` *, :cover:`~lang/types Char` *, :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: strstr (:cover:`~lang/types Char` *, :cover:`~lang/types Char` *) - diff --git a/source/sdk/out/lang/system.rst b/source/sdk/out/lang/system.rst deleted file mode 100644 index 46c899c..0000000 --- a/source/sdk/out/lang/system.rst +++ /dev/null @@ -1,7 +0,0 @@ -lang/system -=========== - -.. module:: lang/system - -.. function:: exit (:cover:`~lang/types Int` ) - diff --git a/source/sdk/out/lang/types.rst b/source/sdk/out/lang/types.rst deleted file mode 100644 index 62b1865..0000000 --- a/source/sdk/out/lang/types.rst +++ /dev/null @@ -1,634 +0,0 @@ -lang/types -========== - -.. module:: lang/types - -.. function:: strtol (:cover:`~lang/types Char` *, :cover:`~lang/types Pointer` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Long` - -.. function:: strtoll (:cover:`~lang/types Char` *, :cover:`~lang/types Pointer` , :cover:`~lang/types Int` ) -> :cover:`~lang/types LLong` - -.. function:: strtoul (:cover:`~lang/types Char` *, :cover:`~lang/types Pointer` , :cover:`~lang/types Int` ) -> :cover:`~lang/types ULong` - -.. function:: strtof (:cover:`~lang/types Char` *, :cover:`~lang/types Pointer` ) -> :cover:`~lang/types Float` - -.. function:: strtod (:cover:`~lang/types Char` *, :cover:`~lang/types Pointer` ) -> :cover:`~lang/types Double` - -.. function:: strtold (:cover:`~lang/types Char` *, :cover:`~lang/types Pointer` ) -> :cover:`~lang/types LDouble` - -.. function:: strlen (:cover:`~lang/types Char` *) -> :cover:`~lang/types Int` - -.. cover:: Void - - :from: ``void`` -.. cover:: Pointer - - :from: ``void*`` - .. method:: toString -> :cover:`~lang/types String` - -.. cover:: Char - - :from: ``char`` - .. method:: isAlphaNumeric -> :cover:`~lang/types Bool` - - check for an alphanumeric character - - .. method:: isAlpha -> :cover:`~lang/types Bool` - - check for an alphabetic character - - .. method:: isLower -> :cover:`~lang/types Bool` - - check for a lowercase alphabetic character - - .. method:: isUpper -> :cover:`~lang/types Bool` - - check for an uppercase alphabetic character - - .. method:: isDigit -> :cover:`~lang/types Bool` - - check for a decimal digit (0 through 9) - - .. method:: isHexDigit -> :cover:`~lang/types Bool` - - check for a hexadecimal digit (0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F) - - .. method:: isControl -> :cover:`~lang/types Bool` - - check for a control character - - .. method:: isGraph -> :cover:`~lang/types Bool` - - check for any printable character except space - - .. method:: isPrintable -> :cover:`~lang/types Bool` - - check for any printable character including space - - .. method:: isPunctuation -> :cover:`~lang/types Bool` - - check for any printable character which is not a space or an alphanumeric character - - .. method:: isWhitespace -> :cover:`~lang/types Bool` - - check for white-space characters: space, form-feed ('\\f'), newline ('\\n'), - carriage return ('\\r'), horizontal tab ('\\t'), and vertical tab ('\\v') - - .. method:: isBlank -> :cover:`~lang/types Bool` - - check for a blank character; that is, a space or a tab - - .. method:: toInt -> :cover:`~lang/types Int` - - convert to an integer. This only works for digits, otherwise -1 is returned - - .. method:: toLower -> :cover:`~lang/types Char` - - return the lowered character - - .. method:: toUpper -> :cover:`~lang/types Char` - - return the capitalized character - - .. method:: toString -> :cover:`~lang/types String` - - return a one-character string containing this character. - - .. method:: print - - write this character to stdout without a following newline. - - .. method:: println - - write this character to stdout, followed by a newline - -.. cover:: SChar - - :extends: :cover:`~lang/types Char` - :from: ``signed char`` -.. cover:: UChar - - :extends: :cover:`~lang/types Char` - :from: ``unsigned char`` -.. cover:: WChar - - :from: ``wchar_t`` -.. cover:: String - - :from: ``Char*`` - .. method:: new~withLength (length: :cover:`~lang/types Int` ) -> :cover:`~lang/types String` - - Create a new string exactly *length* characters long (without the nullbyte). - The contents of the string are undefined. - - .. method:: new~withChar (c: :cover:`~lang/types Char` ) -> :cover:`~lang/types String` - - Create a new string of the length 1 containing only the character *c - - .. method:: compare (other: :cover:`~lang/types String` , start, length: :cover:`~lang/types Int` ) -> :cover:`~lang/types Bool` - - compare *length* characters of *this* with *other*, starting at *start*. - Return true if the two strings are equal, return false if they are not. - - .. method:: compare~implicitLength (other: :cover:`~lang/types String` , start: :cover:`~lang/types Int` ) -> :cover:`~lang/types Bool` - - compare *this* with *other*, starting at *start*. The count of compared - characters is determined by *other*'s length. - - .. method:: compare~whole (other: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - compare *this* with *other*, starting at 0. Compare ``other length()`` characters. - - .. method:: length -> :cover:`~lang/types Int` - - return the string's length, excluding the null byte. - - .. method:: equals (other: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - return true if *other* and *this* are equal. This also returns false if either - of these two is ``null``. - - .. method:: toInt -> :cover:`~lang/types Int` - - convert the string's contents to Int. - - .. method:: toInt~withBase (base: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. method:: toLong -> :cover:`~lang/types Long` - - convert the string's contents to Long. - - .. method:: toLong~withBase (base: :cover:`~lang/types Long` ) -> :cover:`~lang/types Long` - - .. method:: toLLong -> :cover:`~lang/types LLong` - - convert the string's contents to Long Long. - - .. method:: toLLong~withBase (base: :cover:`~lang/types LLong` ) -> :cover:`~lang/types LLong` - - .. method:: toULong -> :cover:`~lang/types ULong` - - convert the string's contents to Unsigned Long. - - .. method:: toULong~withBase (base: :cover:`~lang/types ULong` ) -> :cover:`~lang/types ULong` - - .. method:: toFloat -> :cover:`~lang/types Float` - - convert the string's contents to Float. - - .. method:: toDouble -> :cover:`~lang/types Double` - - convert the string's contents to Double. - - .. method:: toLDouble -> :cover:`~lang/types LDouble` - - convert the string's contents to Long Double. - - .. method:: isEmpty -> :cover:`~lang/types Bool` - - return true if the string is empty or ``null``. - - .. method:: startsWith (s: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - return true if the first characters of *this* are equal to *s*. - - .. method:: startsWith~withChar (c: :cover:`~lang/types Char` ) -> :cover:`~lang/types Bool` - - return true if the first character of *this* is equal to *c*. - - .. method:: endsWith (s: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - return true if the last characters of *this* are equal to *s*. - - .. method:: indexOf~charZero (c: :cover:`~lang/types Char` ) -> :cover:`~lang/types Int` - - return the index of *c*, starting at 0. If *this* does not contain - c*, return -1. - - .. method:: indexOf~char (c: :cover:`~lang/types Char` , start: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - return the index of *c*, but only check characters ``start..length``. - However, the return value is the index of the *c* relative to the - string's beginning. If *this* does not contain *c*, return -1. - - .. method:: indexOf~stringZero (s: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - - return the index of *s*, starting at 0. If *this* does not contain *s*, - return -1. - - .. method:: indexOf~string (s: :cover:`~lang/types String` , start: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - return the index of *s*, but only check characters ``start..length``. - However, the return value is relative to the *this*' first character. - If *this* does not contain *c*, return -1. - - .. method:: contains~char (c: :cover:`~lang/types Char` ) -> :cover:`~lang/types Bool` - - return *true* if *this* contains the character *c - - .. method:: contains~string (s: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - return *true* if *this* contains the string *s - - .. method:: trim~space -> :cover:`~lang/types String` - - return a copy of *this* with space characters (ASCII 32) stripped at both ends. - - .. method:: trim (c: :cover:`~lang/types Char` ) -> :cover:`~lang/types String` - - return a copy of *this* with *c* characters stripped at both ends. - - .. method:: trim~string (s: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - return a copy of *this* with all characters contained by *s* stripped - at both ends. - - .. method:: trimLeft~space -> :cover:`~lang/types String` - - return a copy of *this* with space characters (ASCII 32) stripped from the left side. - - .. method:: trimLeft (c: :cover:`~lang/types Char` ) -> :cover:`~lang/types String` - - return a copy of *this* with *c* characters stripped from the left side. - - .. method:: trimLeft~string (s: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - return a copy of *this* with all characters contained by *s* stripped - from the left side. - - .. method:: trimRight~space -> :cover:`~lang/types String` - - return a copy of *this* with space characters (ASCII 32) stripped from the right side. - - .. method:: trimRight (c: :cover:`~lang/types Char` ) -> :cover:`~lang/types String` - - return a copy of *this* with *c* characters stripped from the right side. - - .. method:: trimRight~string (s: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - return a copy of *this* with all characters contained by *s* stripped - from the right side. - - .. method:: first -> :cover:`~lang/types Char` - - return the first character of *this*. If *this* is empty, 0 is returned. - - .. method:: lastIndex -> :cover:`~lang/types Int` - - return the index of the last character of *this*. If *this* is empty, - -1 is returned. - - .. method:: last -> :cover:`~lang/types Char` - - return the last character of *this*. - - .. method:: lastIndexOf (c: :cover:`~lang/types Char` ) -> :cover:`~lang/types Int` - - return the index of the last occurence of *c* in *this*. - If *this* does not contain *c*, return -1. - - .. method:: substring~tillEnd (start: :cover:`~lang/types Int` ) -> :cover:`~lang/types String` - - return a substring of *this* only containing the characters - in the range ``start..length``. - - .. method:: substring (start, end: :cover:`~lang/types Int` ) -> :cover:`~lang/types String` - - return a substring of *this* only containing the characters in the - range ``start..end``. - - .. method:: reverse -> :cover:`~lang/types String` - - return a reversed copy of *this*. - - .. method:: print - - print *this* to stdout without a following newline. Flush stdout. - - .. method:: println - - print *this* followed by a newline. - - .. method:: times (count: :cover:`~lang/types Int` ) -> :cover:`~lang/types String` - - return a string that contains *this*, repeated *count* times. - - .. method:: clone -> :cover:`~lang/types String` - - return a copy of *this*. - - .. method:: append (other: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - return a string that contains *this* followed by *other*. - - .. method:: append~char (other: :cover:`~lang/types Char` ) -> :cover:`~lang/types String` - - return a string containing *this* followed by *other*. - - .. method:: count~char (what: :cover:`~lang/types Char` ) -> :cover:`~lang/types Int` - - return the number of *what*'s occurences in *this*. - - .. method:: count~string (what: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - - return the number of *what*'s non-overlapping occurences in *this*. - - .. method:: replace (oldie, kiddo: :cover:`~lang/types Char` ) -> :cover:`~lang/types String` - - clone myself, return all occurences of *oldie* with *kiddo* and return it. - - .. method:: replace~string (oldie, kiddo: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - clone myself, return all occurences of *oldie* with *kiddo* and return it. - - .. method:: prepend (other: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - return a new string containg *other* followed by *this*. - - .. method:: prepend~char (other: :cover:`~lang/types Char` ) -> :cover:`~lang/types String` - - return a new string containing *other* followed by *this*. - - .. method:: toLower -> :cover:`~lang/types String` - - return a new string with all characters lowercased (if possible). - - .. method:: toUpper -> :cover:`~lang/types String` - - return a new string with all characters uppercased (if possible). - - .. method:: charAt (index: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Char` - - return the character at position #*index* (starting at 0) - - .. method:: format (...) -> :cover:`~lang/types String` - - return a string formatted using *this* as template. - - .. method:: scanf (format: :cover:`~lang/types String` , ...) -> :cover:`~lang/types Int` - - .. method:: iterator -> :class:`~lang/types StringIterator` - -.. cover:: LLong - - :from: ``signed long long`` - .. method:: toString -> :cover:`~lang/types String` - - .. method:: toHexString -> :cover:`~lang/types String` - - .. method:: isOdd -> :cover:`~lang/types Bool` - - .. method:: isEven -> :cover:`~lang/types Bool` - - .. method:: in (range: :cover:`~lang/types Range` ) -> :cover:`~lang/types Bool` - -.. cover:: Long - - :extends: :cover:`~lang/types LLong` - :from: ``signed long`` -.. cover:: Int - - :extends: :cover:`~lang/types LLong` - :from: ``signed int`` -.. cover:: Short - - :extends: :cover:`~lang/types LLong` - :from: ``signed short`` -.. cover:: ULLong - - :extends: :cover:`~lang/types LLong` - :from: ``unsigned long long`` - .. method:: toString -> :cover:`~lang/types String` - - .. method:: in (range: :cover:`~lang/types Range` ) -> :cover:`~lang/types Bool` - -.. cover:: ULong - - :extends: :cover:`~lang/types ULLong` - :from: ``unsigned long`` -.. cover:: UInt - - :extends: :cover:`~lang/types ULLong` - :from: ``unsigned int`` -.. cover:: UShort - - :extends: :cover:`~lang/types ULLong` - :from: ``unsigned short`` -.. cover:: Int8 - - :extends: :cover:`~lang/types LLong` - :from: ``int8_t`` -.. cover:: Int16 - - :extends: :cover:`~lang/types LLong` - :from: ``int16_t`` -.. cover:: Int32 - - :extends: :cover:`~lang/types LLong` - :from: ``int32_t`` -.. cover:: Int64 - - :extends: :cover:`~lang/types LLong` - :from: ``int64_t`` -.. cover:: UInt8 - - :extends: :cover:`~lang/types ULLong` - :from: ``uint8_t`` -.. cover:: UInt16 - - :extends: :cover:`~lang/types ULLong` - :from: ``uint16_t`` -.. cover:: UInt32 - - :extends: :cover:`~lang/types ULLong` - :from: ``uint32_t`` -.. cover:: UInt64 - - :extends: :cover:`~lang/types ULLong` - :from: ``uint64_t`` -.. cover:: Octet - - :extends: :cover:`~lang/types ULLong` - :from: ``UInt8`` -.. cover:: SizeT - - :extends: :cover:`~lang/types LLong` - :from: ``size_t`` -.. cover:: PtrDiffT - - :extends: :cover:`~lang/types LLong` - :from: ``ptrdiff_t`` -.. cover:: Bool - - :from: ``bool`` - .. method:: toString -> :cover:`~lang/types String` - -.. cover:: LDouble - - :from: ``long double`` - .. method:: toString -> :cover:`~lang/types String` - - .. method:: abs -> :cover:`~lang/types LDouble` - -.. cover:: Float - - :extends: :cover:`~lang/types LDouble` - :from: ``float`` -.. cover:: Double - - :extends: :cover:`~lang/types LDouble` - :from: ``double`` -.. cover:: Range - - .. method:: new (min, max: :cover:`~lang/types Int` ) -> :cover:`~lang/types Range` - -.. class:: Class - - :extends: :class:`~lang/types Object` - .. method:: alloc -> :class:`~lang/types Object` - - create a new instance of the object of type defined by this class - - .. method:: inheritsFrom (T: :class:`~lang/types Class` ) -> :cover:`~lang/types Bool` - - return true if `this` is a subclass of *T* . - - .. field:: instanceSize -> :cover:`~lang/types SizeT` - - .. field:: size -> :cover:`~lang/types SizeT` - - .. field:: name -> :cover:`~lang/types String` - - .. field:: super -> :class:`~lang/types Class` - - .. field:: __defaults__ -> Func - - .. field:: __destroy__ -> Func - - .. field:: __load__ -> Func - -.. class:: Object - - .. method:: instanceOf (T: :class:`~lang/types Class` ) -> :cover:`~lang/types Bool` - - return true if *class* is a subclass of *T*. - - .. field:: class -> :class:`~lang/types Class` - -.. class:: Iterator - - :extends: :class:`~lang/types Object` - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: next -> T - - .. method:: hasPrev -> :cover:`~lang/types Bool` - - .. method:: prev -> T - - .. method:: remove -> :cover:`~lang/types Bool` - - .. field:: T -> :class:`~lang/types Class` - -.. class:: Iterable - - :extends: :class:`~lang/types Object` - .. method:: iterator -> :class:`~lang/types Iterator` - - .. method:: toArrayList -> :class:`~structs/ArrayList ArrayList` - - return the contents of the iterable as ArrayList. - - .. field:: T -> :class:`~lang/types Class` - -.. class:: Exception - - :extends: :class:`~lang/types Object` - .. staticmethod:: new~origin (origin: :class:`~lang/types Class` , msg: :cover:`~lang/types String` ) -> :class:`~lang/types Exception` - - .. method:: init~origin (origin: :class:`~lang/types Class` , msg: :cover:`~lang/types String` ) - - .. staticmethod:: new~noOrigin (msg: :cover:`~lang/types String` ) -> :class:`~lang/types Exception` - - .. method:: init~noOrigin (msg: :cover:`~lang/types String` ) - - .. method:: crash - - .. method:: getMessage -> :cover:`~lang/types String` - - .. method:: print - - .. method:: throw - - .. field:: origin -> :class:`~lang/types Class` - - .. field:: msg -> :cover:`~lang/types String` - -.. class:: StringIterator - - :extends: :class:`~lang/types Iterator` - .. staticmethod:: new~withStr (str: :cover:`~lang/types String` ) -> :class:`~lang/types StringIterator` - - .. method:: init~withStr (str: :cover:`~lang/types String` ) - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: next -> T - - .. method:: hasPrev -> :cover:`~lang/types Bool` - - .. method:: prev -> T - - .. method:: remove -> :cover:`~lang/types Bool` - - .. field:: i -> :cover:`~lang/types Int` - - .. field:: str -> :cover:`~lang/types String` - -.. class:: None - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~lang/types None` - - .. method:: init - -.. class:: Cell - - :extends: :class:`~lang/types Object` - .. staticmethod:: new (val: T ) -> :class:`~lang/types Cell` - - .. method:: init (val: T ) - - .. field:: T -> :class:`~lang/types Class` - - .. field:: val -> T - -.. var:: INT_MIN -> :cover:`~lang/types Int` - -.. var:: INT_MAX -> :cover:`~lang/types Int` - -.. var:: UINT_MAX -> :cover:`~lang/types UInt` - -.. var:: LONG_MIN -> :cover:`~lang/types Long` - -.. var:: LONG_MAX -> :cover:`~lang/types Long` - -.. var:: ULONG_MAX -> :cover:`~lang/types ULong` - -.. var:: LLONG_MIN -> :cover:`~lang/types LLong` - -.. var:: LLONG_MAX -> :cover:`~lang/types LLong` - -.. var:: ULLONG_MAX -> :cover:`~lang/types ULLong` - -.. var:: DBL_MIN -> :cover:`~lang/types Double` - -.. var:: DBL_MAX -> :cover:`~lang/types Double` - -.. var:: FLT_MIN -> :cover:`~lang/types Float` - -.. var:: FLT_MAX -> :cover:`~lang/types Float` - -.. var:: LDBL_MIN -> :cover:`~lang/types LDouble` - -.. var:: LDBL_MAX -> :cover:`~lang/types LDouble` - diff --git a/source/sdk/out/lang/vararg.rst b/source/sdk/out/lang/vararg.rst deleted file mode 100644 index 81bfbbb..0000000 --- a/source/sdk/out/lang/vararg.rst +++ /dev/null @@ -1,14 +0,0 @@ -lang/vararg -=========== - -.. module:: lang/vararg - -.. function:: va_start (:cover:`~lang/vararg VaList` , ...) - -.. function:: va_arg (:cover:`~lang/vararg VaList` , ...) - -.. function:: va_end (:cover:`~lang/vararg VaList` ) - -.. cover:: VaList - - :from: ``va_list`` diff --git a/source/sdk/out/math/Random.rst b/source/sdk/out/math/Random.rst deleted file mode 100644 index 3da7a82..0000000 --- a/source/sdk/out/math/Random.rst +++ /dev/null @@ -1,40 +0,0 @@ -math/Random -=========== - -.. module:: math/Random - -.. class:: Random - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~math/Random Random` - - .. method:: init - - .. staticmethod:: random -> :cover:`~lang/types Int` - - .. staticmethod:: randInt (start, end: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. staticmethod:: randInt~exclude (start, end: :cover:`~lang/types Int` , ex: :class:`~structs/List List` ) -> :cover:`~lang/types Int` - - .. staticmethod:: randRange (start, end: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. staticmethod:: randRange~exclude (start, end: :cover:`~lang/types Int` , ex: :class:`~structs/List List` ) -> :cover:`~lang/types Int` - - .. staticmethod:: choice (l: :class:`~structs/List List` ) -> T - - .. staticmethod:: exclude (start, end: :cover:`~lang/types Int` , ex: :class:`~structs/List List` , f: Func ) -> :cover:`~lang/types Int` - - .. staticmethod:: fastRandom -> :cover:`~lang/types Int` - - .. staticmethod:: fastRandInt (start, end: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. staticmethod:: fastRandInt~exclude (start, end: :cover:`~lang/types Int` , ex: :class:`~structs/List List` ) -> :cover:`~lang/types Int` - - .. staticmethod:: fastRandRange (start, end: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. staticmethod:: fastRandRange~exclude (start, end: :cover:`~lang/types Int` , ex: :class:`~structs/List List` ) -> :cover:`~lang/types Int` - - .. field:: state -> :cover:`~lang/types Long` - -.. var:: __STATE -> :cover:`~lang/types LLong` - diff --git a/source/sdk/out/native/win32/errors.rst b/source/sdk/out/native/win32/errors.rst deleted file mode 100644 index a76d891..0000000 --- a/source/sdk/out/native/win32/errors.rst +++ /dev/null @@ -1,7 +0,0 @@ -native/win32/errors -=================== - -.. module:: native/win32/errors - -.. function:: GetLastError -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/native/win32/types.rst b/source/sdk/out/native/win32/types.rst deleted file mode 100644 index 7295ffe..0000000 --- a/source/sdk/out/native/win32/types.rst +++ /dev/null @@ -1,25 +0,0 @@ -native/win32/types -================== - -.. module:: native/win32/types - -.. function:: toLLong~twoPartsLargeInteger (lowPart, highPart: :cover:`~lang/types Long` ) -> :cover:`~lang/types LLong` - -.. function:: toULLong~twoPartsLargeInteger (lowPart, highPart: :cover:`~lang/types Long` ) -> :cover:`~lang/types ULLong` - -.. function:: toTimestamp~fromFiletime (fileTime: :cover:`~native/win32/types FileTime` ) -> :cover:`~lang/types Long` - -.. cover:: Handle - - :from: ``HANDLE`` -.. cover:: LargeInteger - - :from: ``LARGE_INTEGER`` -.. cover:: ULargeInteger - - :from: ``ULARGE_INTEGER`` -.. cover:: FileTime - - :from: ``FILETIME`` -.. var:: INVALID_HANDLE_VALUE -> :cover:`~native/win32/types Handle` - diff --git a/source/sdk/out/net/Address.rst b/source/sdk/out/net/Address.rst deleted file mode 100644 index 4afd7c6..0000000 --- a/source/sdk/out/net/Address.rst +++ /dev/null @@ -1,312 +0,0 @@ -net/Address -=========== - -.. module:: net/Address - -.. class:: IPAddress - - :extends: :class:`~lang/types Object` - .. method:: isBroadcast -> :cover:`~lang/types Bool` - - Returns true if the address is a broadcast address. - - Only IPv4 addresses can be broadcast addresses. All bits are one. - IPv6 addresses always return false. - - - .. method:: isWildcard -> :cover:`~lang/types Bool` - - Returns true if the address is a wildcard (all zeros) address. - - - .. method:: isGlobalMulticast -> :cover:`~lang/types Bool` - - Return true if the address is a global multicast address. - - IPv4 most be in the 224.0.1.0 to 238.255.255.255 range. - IPv6 most be in the FFxF:x:x:x:x:x:x:x range. - - - .. method:: isIP4Compatible -> :cover:`~lang/types Bool` - - Returns true if the address is IPv4 compatible. - - IPv4 addresses always return true. - IPv6 address must be in the ::x:x range (first 96 bits are zero). - - - .. method:: isIP4Mapped -> :cover:`~lang/types Bool` - - Returns true if the address is an IPv4 mapped IPv6 address. - - IPv4 addresses always return true. - IPv6 addresses must be in the ::FFFF:x:x range. - - - .. method:: isLinkLocal -> :cover:`~lang/types Bool` - - Returns true if the address is a link local unicast address. - - IPv4 addresses are in the 169.254.0.0/16 range (RFC 3927). - IPv6 addresses have 1111 1110 10 as the first 10 bits, followed by 54 zeros. - - - .. method:: isLinkLocalMulticast -> :cover:`~lang/types Bool` - - Returns true if the address is a link local multicast address. - - IPv4 addresses are in the 224.0.0.0/24 range. Note that this overlaps with the range for - well-known multicast addresses. - - - .. method:: isLoopback -> :cover:`~lang/types Bool` - - Returns true if the address is a loopback address. - - IPv4 address must be 127.0.0.1 - IPv6 address must be ::1 - - - .. method:: isMulticast -> :cover:`~lang/types Bool` - - Returns true if the address is a multicast address. - - IPv4 addresses must be in the 224.0.0.0 to 239.255.255.255 range - (the first four bits have the value 1110). - IPv6 addresses are in the FFxx:x:x:x:x:x:x:x range. - - - .. method:: isNodeLocalMulticast -> :cover:`~lang/types Bool` - - Returns true if the address is a node-local multicast address. - - IPv4 does not support node-local multicast and will always return false. - IPv6 addresses must be in the FFx1:x:x:x:x:x:x:x range. - - - .. method:: isOrgLocalMulticast -> :cover:`~lang/types Bool` - - Returns true if the address is an organization-local multicast address. - - IPv4 addresses must be in the 239.192.0.0/16 range. - IPv6 addresses must be in the FFx8:x:x:x:x:x:x:x range. - - - .. method:: isSiteLocal -> :cover:`~lang/types Bool` - - Returns true if the address is a site-local unicast address. - - IPv4 addresses are in on of the 10.0.0.0/24, 192.168.0.0/16 or 172.16.0.0 to 172.31.255.255 ranges. - IPv6 addresses have 1111 1110 11 as the first 10 bits, followed by 38 zeros. - - - .. method:: isSiteLocalMulticast -> :cover:`~lang/types Bool` - - Returns true if the address is a site-local multicast address. - - IPv4 addresses are in the 239.255.0.0/16 range. - IPv6 addresses are in the FFx5:x:x:x:x:x:x:x range. - - - .. method:: isUnicast -> :cover:`~lang/types Bool` - - Returns true if the address is an unicast address. - - An address is unicast if it is neither a wildcard, broadcast, or multicast. - - - .. method:: isWellKnownMulticast -> :cover:`~lang/types Bool` - - Returns true if the address is a well-known multicast address. - - IPv4 addresses are in the 224.0.0.0/8 range. - IPv6 addresses are in the FF0x:x:x:x:x:x:x:x range. - - - .. method:: mask (mask: :class:`~net/Address IPAddress` ) - - Masks the IP address using the given netmask, which is usually a IPv4 subnet mask. - Only supported for IPv4 addresses. - The new address is (address & mask). - - - .. method:: mask~withSet (mask, set: :class:`~net/Address IPAddress` ) - - Masks the IP address using the given netmask, which is usually a IPv4 subnet mask. - Only supported for IPv4 addresses. - - The new address is (address & mask) | (set & mask). - - - .. method:: toString -> :cover:`~lang/types String` - - Returns a string representation of the address in presentation format. - - - .. field:: family -> :cover:`~lang/types Int` - -.. class:: IP4Address - - :extends: :class:`~net/Address IPAddress` - .. staticmethod:: new (ipAddress: :cover:`~lang/types String` ) -> :class:`~net/Address IP4Address` - - .. method:: init (ipAddress: :cover:`~lang/types String` ) - - .. staticmethod:: new~wildcard -> :class:`~net/Address IP4Address` - - .. method:: init~wildcard - - .. staticmethod:: new~withAddr (addr: :cover:`~net/berkeley InAddr` ) -> :class:`~net/Address IP4Address` - - .. method:: init~withAddr (addr: :cover:`~net/berkeley InAddr` ) - - .. method:: isBroadcast -> :cover:`~lang/types Bool` - - .. method:: isWildcard -> :cover:`~lang/types Bool` - - .. method:: isGlobalMulticast -> :cover:`~lang/types Bool` - - .. method:: isIP4Compatible -> :cover:`~lang/types Bool` - - .. method:: isIP4Mapped -> :cover:`~lang/types Bool` - - .. method:: isLinkLocal -> :cover:`~lang/types Bool` - - .. method:: isLinkLocalMulticast -> :cover:`~lang/types Bool` - - .. method:: isLoopback -> :cover:`~lang/types Bool` - - .. method:: isMulticast -> :cover:`~lang/types Bool` - - .. method:: isNodeLocalMulticast -> :cover:`~lang/types Bool` - - .. method:: isOrgLocalMulticast -> :cover:`~lang/types Bool` - - .. method:: isSiteLocal -> :cover:`~lang/types Bool` - - .. method:: isSiteLocalMulticast -> :cover:`~lang/types Bool` - - .. method:: isWellKnownMulticast -> :cover:`~lang/types Bool` - - .. method:: mask (mask: :class:`~net/Address IPAddress` ) - - .. method:: mask~withSet (mask, set: :class:`~net/Address IPAddress` ) - - .. method:: toString -> :cover:`~lang/types String` - - .. field:: ai -> :cover:`~net/berkeley InAddr` - -.. class:: IP6Address - - :extends: :class:`~net/Address IPAddress` - .. staticmethod:: new (ipAddress: :cover:`~lang/types String` ) -> :class:`~net/Address IP6Address` - - .. method:: init (ipAddress: :cover:`~lang/types String` ) - - .. staticmethod:: new~withAddr (addr: :cover:`~net/berkeley In6Addr` ) -> :class:`~net/Address IP6Address` - - .. method:: init~withAddr (addr: :cover:`~net/berkeley In6Addr` ) - - .. method:: toWords -> :cover:`~lang/types UInt16` * - - .. method:: isBroadcast -> :cover:`~lang/types Bool` - - .. method:: isWildcard -> :cover:`~lang/types Bool` - - .. method:: isGlobalMulticast -> :cover:`~lang/types Bool` - - .. method:: isIP4Compatible -> :cover:`~lang/types Bool` - - .. method:: isIP4Mapped -> :cover:`~lang/types Bool` - - .. method:: isLinkLocal -> :cover:`~lang/types Bool` - - .. method:: isLinkLocalMulticast -> :cover:`~lang/types Bool` - - .. method:: isLoopback -> :cover:`~lang/types Bool` - - .. method:: isMulticast -> :cover:`~lang/types Bool` - - .. method:: isNodeLocalMulticast -> :cover:`~lang/types Bool` - - .. method:: isOrgLocalMulticast -> :cover:`~lang/types Bool` - - .. method:: isSiteLocal -> :cover:`~lang/types Bool` - - .. method:: isSiteLocalMulticast -> :cover:`~lang/types Bool` - - .. method:: isWellKnownMulticast -> :cover:`~lang/types Bool` - - .. method:: mask (mask: :class:`~net/Address IPAddress` ) - - .. method:: mask~withSet (mask, set: :class:`~net/Address IPAddress` ) - - .. method:: toString -> :cover:`~lang/types String` - - .. field:: ai -> :cover:`~net/berkeley In6Addr` - -.. class:: SocketAddress - - :extends: :class:`~lang/types Object` - .. staticmethod:: new (host: :class:`~net/Address IPAddress` , port: :cover:`~lang/types Int` ) -> :class:`~net/Address SocketAddress` - - .. staticmethod:: newFromSock (addr: :cover:`~net/berkeley SockAddr` *, len: :cover:`~lang/types UInt` ) -> :class:`~net/Address SocketAddress` - - .. method:: family -> :cover:`~lang/types Int` - - .. method:: host -> :class:`~net/Address IPAddress` - - .. method:: port -> :cover:`~lang/types Int` - - .. method:: addr -> :cover:`~net/berkeley SockAddr` * - - .. method:: length -> :cover:`~lang/types UInt32` - - .. method:: toString -> :cover:`~lang/types String` - -.. class:: SocketAddressIP4 - - :extends: :class:`~net/Address SocketAddress` - .. staticmethod:: new (addr: :cover:`~net/berkeley InAddr` , port: :cover:`~lang/types Int` ) -> :class:`~net/Address SocketAddressIP4` - - .. method:: init (addr: :cover:`~net/berkeley InAddr` , port: :cover:`~lang/types Int` ) - - .. staticmethod:: new~sock (sockAddr: :cover:`~net/berkeley SockAddrIn` *) -> :class:`~net/Address SocketAddressIP4` - - .. method:: init~sock (sockAddr: :cover:`~net/berkeley SockAddrIn` *) - - .. method:: family -> :cover:`~lang/types Int` - - .. method:: host -> :class:`~net/Address IPAddress` - - .. method:: port -> :cover:`~lang/types Int` - - .. method:: addr -> :cover:`~net/berkeley SockAddr` * - - .. method:: length -> :cover:`~lang/types UInt32` - - .. field:: sa -> :cover:`~net/berkeley SockAddrIn` - -.. class:: SocketAddressIP6 - - :extends: :class:`~net/Address SocketAddress` - .. staticmethod:: new (addr: :cover:`~net/berkeley In6Addr` , port: :cover:`~lang/types Int` ) -> :class:`~net/Address SocketAddressIP6` - - .. method:: init (addr: :cover:`~net/berkeley In6Addr` , port: :cover:`~lang/types Int` ) - - .. staticmethod:: new~sock6 (sockAddr: :cover:`~net/berkeley SockAddrIn6` *) -> :class:`~net/Address SocketAddressIP6` - - .. method:: init~sock6 (sockAddr: :cover:`~net/berkeley SockAddrIn6` *) - - .. method:: family -> :cover:`~lang/types Int` - - .. method:: host -> :class:`~net/Address IPAddress` - - .. method:: port -> :cover:`~lang/types Int` - - .. method:: addr -> :cover:`~net/berkeley SockAddr` * - - .. method:: length -> :cover:`~lang/types UInt32` - - .. field:: sa -> :cover:`~net/berkeley SockAddrIn6` - diff --git a/source/sdk/out/net/DNS.rst b/source/sdk/out/net/DNS.rst deleted file mode 100644 index a5f0ecf..0000000 --- a/source/sdk/out/net/DNS.rst +++ /dev/null @@ -1,62 +0,0 @@ -net/DNS -======= - -.. module:: net/DNS - -.. class:: DNS - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~net/DNS DNS` - - .. method:: init - - .. staticmethod:: resolve (hostname: :cover:`~lang/types String` ) -> :class:`~net/DNS HostInfo` - - Perform DNS lookup using the hostname. - Returns information about the host that was found. - - - .. staticmethod:: resolve~filter (hostname: :cover:`~lang/types String` , socketType, socketFamily: :cover:`~lang/types Int` ) -> :class:`~net/DNS HostInfo` - - .. staticmethod:: resolveOne (host: :cover:`~lang/types String` ) -> :class:`~net/Address IPAddress` - - Perform DNS lookup using the hostname. - Returns the first IPAddress found for the host. - - - .. staticmethod:: resolveOne~filter (host: :cover:`~lang/types String` , socketType, socketFamily: :cover:`~lang/types Int` ) -> :class:`~net/Address IPAddress` - - .. staticmethod:: reverse (ip: :class:`~net/Address IPAddress` ) -> :cover:`~lang/types String` - - Perform a reverse DNS lookup by using the host's address. - Returns the hostname of the specified address. - - - .. staticmethod:: reverse~withSockAddr (sockaddr: :class:`~net/Address SocketAddress` ) -> :cover:`~lang/types String` - - .. staticmethod:: hostname -> :cover:`~lang/types String` - - Returns the hostname of this system. - - - .. staticmethod:: localhost -> :class:`~net/DNS HostInfo` - - Retreive host information about this system. - - -.. class:: HostInfo - - :extends: :class:`~lang/types Object` - .. staticmethod:: new (addrinfo: :cover:`~net/berkeley AddrInfo` *) -> :class:`~net/DNS HostInfo` - - .. method:: init (addrinfo: :cover:`~net/berkeley AddrInfo` *) - - .. method:: addresses -> :class:`~structs/LinkedList LinkedList` - - Returns a list of IPAddress associated with this host. - - - .. field:: name -> :cover:`~lang/types String` - - .. field:: addresses -> :class:`~structs/LinkedList LinkedList` - diff --git a/source/sdk/out/net/DatagramSocket.rst b/source/sdk/out/net/DatagramSocket.rst deleted file mode 100644 index 41357fa..0000000 --- a/source/sdk/out/net/DatagramSocket.rst +++ /dev/null @@ -1,12 +0,0 @@ -net/DatagramSocket -================== - -.. module:: net/DatagramSocket - -.. class:: DatagramSocket - - :extends: :class:`~net/Socket Socket` - .. staticmethod:: new -> :class:`~net/DatagramSocket DatagramSocket` - - .. method:: init - diff --git a/source/sdk/out/net/Exceptions.rst b/source/sdk/out/net/Exceptions.rst deleted file mode 100644 index 71f1df8..0000000 --- a/source/sdk/out/net/Exceptions.rst +++ /dev/null @@ -1,37 +0,0 @@ -net/Exceptions -============== - -.. module:: net/Exceptions - -.. function:: strerror (:cover:`~lang/types Int` ) -> :cover:`~lang/types String` - -.. class:: NetError - - :extends: :class:`~lang/types Exception` - .. staticmethod:: new -> :class:`~net/Exceptions NetError` - - .. method:: init - -.. class:: InvalidAddress - - :extends: :class:`~net/Exceptions NetError` - .. staticmethod:: new -> :class:`~net/Exceptions InvalidAddress` - - .. method:: init - -.. class:: DNSError - - :extends: :class:`~net/Exceptions NetError` - .. staticmethod:: new -> :class:`~net/Exceptions DNSError` - - .. method:: init - -.. class:: SocketError - - :extends: :class:`~net/Exceptions NetError` - .. staticmethod:: new -> :class:`~net/Exceptions SocketError` - - .. method:: init - -.. var:: errno -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/net/ServerSocket.rst b/source/sdk/out/net/ServerSocket.rst deleted file mode 100644 index 5e92352..0000000 --- a/source/sdk/out/net/ServerSocket.rst +++ /dev/null @@ -1,35 +0,0 @@ -net/ServerSocket -================ - -.. module:: net/ServerSocket - -.. class:: ServerSocket - - :extends: :class:`~net/Socket Socket` - .. staticmethod:: new -> :class:`~net/ServerSocket ServerSocket` - - .. method:: init - - .. method:: bind (port: :cover:`~lang/types Int` ) - - Bind a local port to the socket. - - - .. method:: bind~withAddr (addr: :class:`~net/Address SocketAddress` ) - - Bind a local address to the socket. - - - .. method:: listen (backlog: :cover:`~lang/types Int` ) - - Places the socket into a listening state. - - - .. method:: accept -> :class:`~net/StreamSocket StreamSocket` - - Accept an incoming connection and returns it. - - This method will normally block if no connection is - available immediately. - - diff --git a/source/sdk/out/net/Socket.rst b/source/sdk/out/net/Socket.rst deleted file mode 100644 index d250aff..0000000 --- a/source/sdk/out/net/Socket.rst +++ /dev/null @@ -1,36 +0,0 @@ -net/Socket -========== - -.. module:: net/Socket - -.. class:: Socket - - :extends: :class:`~lang/types Object` - .. staticmethod:: new~sock (family, type, protocol: :cover:`~lang/types Int` ) -> :class:`~net/Socket Socket` - - .. method:: init~sock (family, type, protocol: :cover:`~lang/types Int` ) - - .. staticmethod:: new~descriptor (family, type, protocol, descriptor: :cover:`~lang/types Int` ) -> :class:`~net/Socket Socket` - - .. method:: init~descriptor (family, type, protocol, descriptor: :cover:`~lang/types Int` ) - - .. method:: close - - .. method:: ioctl (request: :cover:`~lang/types Int` , arg: :cover:`~lang/types Pointer` ) - - .. method:: available -> :cover:`~lang/types Int` - - .. field:: descriptor -> :cover:`~lang/types Int` - - .. field:: family -> :cover:`~lang/types Int` - - .. field:: type -> :cover:`~lang/types Int` - - .. field:: protocol -> :cover:`~lang/types Int` - -.. cover:: SocketFamily - -.. cover:: SocketType - -.. cover:: SocketMsgFlags - diff --git a/source/sdk/out/net/StreamSocket.rst b/source/sdk/out/net/StreamSocket.rst deleted file mode 100644 index 774ee5e..0000000 --- a/source/sdk/out/net/StreamSocket.rst +++ /dev/null @@ -1,86 +0,0 @@ -net/StreamSocket -================ - -.. module:: net/StreamSocket - -.. class:: StreamSocket - - :extends: :class:`~net/Socket Socket` - .. staticmethod:: new~addr (remote: :class:`~net/Address SocketAddress` ) -> :class:`~net/StreamSocket StreamSocket` - - .. method:: init~addr (remote: :class:`~net/Address SocketAddress` ) - - .. staticmethod:: new~addrDescriptor (remote: :class:`~net/Address SocketAddress` , descriptor: :cover:`~lang/types Int` ) -> :class:`~net/StreamSocket StreamSocket` - - .. method:: init~addrDescriptor (remote: :class:`~net/Address SocketAddress` , descriptor: :cover:`~lang/types Int` ) - - .. staticmethod:: new~hostAndPort (host: :cover:`~lang/types String` , port: :cover:`~lang/types Int` ) -> :class:`~net/StreamSocket StreamSocket` - - .. method:: init~hostAndPort (host: :cover:`~lang/types String` , port: :cover:`~lang/types Int` ) - - .. staticmethod:: new~family (host: :cover:`~lang/types String` , port, family: :cover:`~lang/types Int` ) -> :class:`~net/StreamSocket StreamSocket` - - .. method:: init~family (host: :cover:`~lang/types String` , port, family: :cover:`~lang/types Int` ) - - .. method:: connect - - .. method:: reader -> :class:`~net/StreamSocket StreamSocketReader` - - .. method:: writer -> :class:`~net/StreamSocket StreamSocketWriter` - - .. method:: send~withLength (data: :cover:`~lang/types String` , length: :cover:`~lang/types SizeT` , flags: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. method:: send~withFlags (data: :cover:`~lang/types String` , flags: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. method:: send (data: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - - .. method:: sendByte~withFlags (byte: :cover:`~lang/types Char` , flags: :cover:`~lang/types Int` ) - - .. method:: sendByte (byte: :cover:`~lang/types Char` ) - - .. method:: receive~withFlags (buffer: :cover:`~lang/types String` , length: :cover:`~lang/types SizeT` , flags: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. method:: receive (buffer: :cover:`~lang/types String` , length: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Int` - - .. method:: receiveByte~withFlags (flags: :cover:`~lang/types Int` ) -> :cover:`~lang/types Char` - - .. method:: receiveByte -> :cover:`~lang/types Char` - - .. field:: remote -> :class:`~net/Address SocketAddress` - -.. class:: StreamSocketReader - - :extends: :class:`~io/Reader Reader` - .. staticmethod:: new (source: :class:`~net/StreamSocket StreamSocket` ) -> :class:`~net/StreamSocket StreamSocketReader` - - .. method:: init (source: :class:`~net/StreamSocket StreamSocket` ) - - .. method:: read (chars: :cover:`~lang/types String` , offset, count: :cover:`~lang/types Int` ) -> :cover:`~lang/types SizeT` - - .. method:: read~char -> :cover:`~lang/types Char` - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: rewind (offset: :cover:`~lang/types Int` ) - - .. method:: mark -> :cover:`~lang/types Long` - - .. method:: reset (marker: :cover:`~lang/types Long` ) - - .. field:: source -> :class:`~net/StreamSocket StreamSocket` - -.. class:: StreamSocketWriter - - :extends: :class:`~io/Writer Writer` - .. staticmethod:: new (dest: :class:`~net/StreamSocket StreamSocket` ) -> :class:`~net/StreamSocket StreamSocketWriter` - - .. method:: init (dest: :class:`~net/StreamSocket StreamSocket` ) - - .. method:: close - - .. method:: write~chr (chr: :cover:`~lang/types Char` ) - - .. method:: write (chars: :cover:`~lang/types String` , length: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types SizeT` - - .. field:: dest -> :class:`~net/StreamSocket StreamSocket` - diff --git a/source/sdk/out/net/berkeley.rst b/source/sdk/out/net/berkeley.rst deleted file mode 100644 index c6c4c0e..0000000 --- a/source/sdk/out/net/berkeley.rst +++ /dev/null @@ -1,125 +0,0 @@ -net/berkeley -============ - -.. module:: net/berkeley - -.. function:: socket (family, type, protocol: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: accept (s: :cover:`~lang/types Int` , addr: :cover:`~net/berkeley SockAddr` *, addrlen: :cover:`~lang/types UInt` ) -> :cover:`~lang/types Int` - -.. function:: bind (sockfd: :cover:`~lang/types Int` , my_addr: :cover:`~net/berkeley SockAddr` *, addrlen: :cover:`~lang/types UInt` ) -> :cover:`~lang/types Int` - -.. function:: connect (sockfd: :cover:`~lang/types Int` , serv_addr: :cover:`~net/berkeley SockAddr` *, addrlen: :cover:`~lang/types UInt` ) -> :cover:`~lang/types Int` - -.. function:: close (descriptor: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: shutdown (s, how: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: listen (s, backlog: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: poll (ufds: :cover:`~net/berkeley PollFd` *, nfds: :cover:`~lang/types UInt` , timeout: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: recv (s: :cover:`~lang/types Int` , buf: :cover:`~lang/types Pointer` , len: :cover:`~lang/types SizeT` , flags: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: recvFrom (s: :cover:`~lang/types Int` , buf: :cover:`~lang/types Pointer` , len: :cover:`~lang/types SizeT` , flags: :cover:`~lang/types Int` , s_from: :cover:`~net/berkeley SockAddr` *, fromlen: :cover:`~lang/types UInt` ) -> :cover:`~lang/types Int` - -.. function:: send (s: :cover:`~lang/types Int` , buf: :cover:`~lang/types Pointer` , len: :cover:`~lang/types SizeT` , flags: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: sendTo (s: :cover:`~lang/types Int` , buf: :cover:`~lang/types Pointer` , len: :cover:`~lang/types SizeT` , flags: :cover:`~lang/types Int` , s_to: :cover:`~net/berkeley SockAddr` *, tolen: :cover:`~lang/types UInt` ) -> :cover:`~lang/types Int` - -.. function:: select (n: :cover:`~lang/types Int` , readfds: :cover:`~net/berkeley FdSet` *, writefds: :cover:`~net/berkeley FdSet` , exceptfds: :cover:`~net/berkeley FdSet` *, timeout: :cover:`~net/berkeley TimeVal` *) -> :cover:`~lang/types Int` - -.. function:: getsockopt (s, level, optname: :cover:`~lang/types Int` , optval: :cover:`~lang/types Pointer` , optlen: :cover:`~lang/types UInt` ) -> :cover:`~lang/types Int` - -.. function:: setsockopt (s, level, optname: :cover:`~lang/types Int` , optval: :cover:`~lang/types Pointer` , optlen: :cover:`~lang/types UInt` ) -> :cover:`~lang/types Int` - -.. function:: getaddrinfo (nodename, servname: :cover:`~lang/types String` , hints: :cover:`~net/berkeley AddrInfo` *, servinfo: :cover:`~net/berkeley AddrInfo` **) -> :cover:`~lang/types Int` - -.. function:: getnameinfo (sa: :cover:`~net/berkeley SockAddr` *, salen: :cover:`~lang/types UInt32` , host: :cover:`~lang/types String` , hostlen: :cover:`~lang/types SizeT` , serv: :cover:`~lang/types String` , servlen: :cover:`~lang/types UInt32` , flags: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: freeaddrinfo (ai: :cover:`~net/berkeley AddrInfo` *) - -.. function:: gai_strerror (ecode: :cover:`~lang/types Int` ) -> :cover:`~lang/types Char` * - -.. function:: gethostname (name: :cover:`~lang/types String` , len: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Int` - -.. function:: gethostbyname (name: :cover:`~lang/types String` ) -> :cover:`~net/berkeley HostEntry` * - -.. function:: gethostbyaddr (addr: :cover:`~lang/types String` , len, type: :cover:`~lang/types Int` ) -> :cover:`~net/berkeley HostEntry` * - -.. function:: getpeername (s: :cover:`~lang/types Int` , addr: :cover:`~net/berkeley SockAddr` *, len: :cover:`~lang/types UInt` ) -> :cover:`~lang/types Int` - -.. function:: htonl (hostlong: :cover:`~lang/types UInt32` ) -> :cover:`~lang/types UInt32` - -.. function:: htons (hostshort: :cover:`~lang/types UInt16` ) -> :cover:`~lang/types UInt16` - -.. function:: ntohl (netlong: :cover:`~lang/types UInt32` ) -> :cover:`~lang/types UInt32` - -.. function:: ntohs (netshort: :cover:`~lang/types UInt16` ) -> :cover:`~lang/types UInt16` - -.. function:: inet_ntoa (inaddr: :cover:`~net/berkeley InAddr` ) -> :cover:`~lang/types String` - -.. function:: inet_aton (cp: :cover:`~lang/types String` , inp: :cover:`~net/berkeley InAddr` *) -> :cover:`~lang/types Int` - -.. function:: inet_addr (cp: :cover:`~lang/types String` ) -> :cover:`~lang/types ULong` - -.. function:: inet_ntop (af: :cover:`~lang/types Int` , src: :cover:`~lang/types Pointer` , dst: :cover:`~lang/types String` , size: :cover:`~lang/types UInt` ) -> :cover:`~lang/types String` - -.. function:: inet_pton (af: :cover:`~lang/types Int` , src: :cover:`~lang/types String` , dst: :cover:`~lang/types Pointer` ) -> :cover:`~lang/types Int` - -.. function:: ioctl (d, request: :cover:`~lang/types Int` , arg: :cover:`~lang/types Pointer` ) -> :cover:`~lang/types Int` - -.. cover:: SockAddr - - :from: ``struct sockaddr`` -.. cover:: SockAddrIn - - :from: ``struct sockaddr_in`` -.. cover:: InAddr - - :from: ``struct in_addr`` -.. cover:: SockAddrIn6 - - :from: ``struct sockaddr_in6`` -.. cover:: In6Addr - - :from: ``struct in6_addr`` -.. cover:: AddrInfo - - :from: ``struct addrinfo`` -.. cover:: HostEntry - - :from: ``struct hostent`` -.. cover:: PollFd - - :from: ``struct pollfd`` -.. cover:: FdSet - - :from: ``fd_set`` - .. method:: _set (fd: :cover:`~lang/types Int` , fdset: :cover:`~net/berkeley FdSet` *) - - .. method:: _isSet (fd: :cover:`~lang/types Int` , fdset: :cover:`~net/berkeley FdSet` *) -> :cover:`~lang/types Bool` - - .. method:: _clr (fd: :cover:`~lang/types Int` , fdset: :cover:`~net/berkeley FdSet` *) - - .. method:: _zero (fdset: :cover:`~net/berkeley FdSet` *) - - .. method:: set (fd: :cover:`~lang/types Int` ) - - .. method:: isSet (fd: :cover:`~lang/types Int` ) -> :cover:`~lang/types Bool` - - .. method:: clr (fd: :cover:`~lang/types Int` ) - - .. method:: zero - -.. cover:: TimeVal - - :from: ``struct timeval`` -.. var:: INADDR_ANY -> :cover:`~lang/types ULong` - -.. var:: INADDR_NONE -> :cover:`~lang/types ULong` - -.. var:: AI_CANONNAME -> :cover:`~lang/types Int` - -.. var:: FIONREAD -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/os/Env.rst b/source/sdk/out/os/Env.rst deleted file mode 100644 index c314f86..0000000 --- a/source/sdk/out/os/Env.rst +++ /dev/null @@ -1,28 +0,0 @@ -os/Env -====== - -.. module:: os/Env - -.. function:: getenv (path: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - -.. function:: setenv (key, value: :cover:`~lang/types String` , overwrite: :cover:`~lang/types Bool` ) -> :cover:`~lang/types Int` - -.. function:: unsetenv (key: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - -.. function:: putenv (str: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - -.. class:: Env - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~os/Env Env` - - .. method:: init - - .. staticmethod:: get (variableName: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - .. staticmethod:: set (key, value: :cover:`~lang/types String` , overwrite: :cover:`~lang/types Bool` ) -> :cover:`~lang/types Int` - - .. staticmethod:: set~overwrite (key, value: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - - .. staticmethod:: unset (key: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/os/FileDescriptor.rst b/source/sdk/out/os/FileDescriptor.rst deleted file mode 100644 index f7d0c83..0000000 --- a/source/sdk/out/os/FileDescriptor.rst +++ /dev/null @@ -1,34 +0,0 @@ -os/FileDescriptor -================= - -.. module:: os/FileDescriptor - -.. function:: open (:cover:`~lang/types String` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: write (:cover:`~os/FileDescriptor FileDescriptor` , :cover:`~lang/types Pointer` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: read (:cover:`~os/FileDescriptor FileDescriptor` , :cover:`~lang/types Pointer` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: close (:cover:`~os/FileDescriptor FileDescriptor` ) -> :cover:`~lang/types Int` - -.. cover:: FileDescriptor - - :from: ``Int`` - .. method:: write (data: :cover:`~lang/types Pointer` , len: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. method:: write~string (str: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - - .. method:: read~toBuf (buf: :cover:`~lang/types Pointer` , len: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - .. method:: read~evilAlloc (len: :cover:`~lang/types Int` ) -> :cover:`~lang/types Pointer` - - .. method:: close -> :cover:`~lang/types Int` - - .. method:: _errMsg (var: :cover:`~lang/types Int` , funcName: :cover:`~lang/types String` ) - -.. var:: STDIN_FILENO -> :cover:`~os/FileDescriptor FileDescriptor` - -.. var:: STDOUT_FILENO -> :cover:`~os/FileDescriptor FileDescriptor` - -.. var:: STDERR_FILENO -> :cover:`~os/FileDescriptor FileDescriptor` - diff --git a/source/sdk/out/os/Pipe.rst b/source/sdk/out/os/Pipe.rst deleted file mode 100644 index 87bcfff..0000000 --- a/source/sdk/out/os/Pipe.rst +++ /dev/null @@ -1,28 +0,0 @@ -os/Pipe -======= - -.. module:: os/Pipe - -.. class:: Pipe - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~os/Pipe Pipe` - - .. method:: read (len: :cover:`~lang/types Int` ) -> :cover:`~lang/types Pointer` - - read 'len' bytes at most from the pipe - - .. method:: write~string (str: :cover:`~lang/types String` ) -> :cover:`~lang/types Int` - - write a string to the pipe - - .. method:: write (data: :cover:`~lang/types Pointer` , len: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - write 'len' bytes of 'data' to the pipe - - .. method:: close (mode: :cover:`~lang/types Char` ) -> :cover:`~lang/types Int` - - close the pipe, either in reading or writing - @param arg 'r' = close in reading, 'w' = close in writing - - diff --git a/source/sdk/out/os/PipeReader.rst b/source/sdk/out/os/PipeReader.rst deleted file mode 100644 index ac87bde..0000000 --- a/source/sdk/out/os/PipeReader.rst +++ /dev/null @@ -1,26 +0,0 @@ -os/PipeReader -============= - -.. module:: os/PipeReader - -.. class:: PipeReader - - :extends: :class:`~lang/types Object` - .. staticmethod:: new (pipe: :class:`~os/Pipe Pipe` ) -> :class:`~os/PipeReader PipeReader` - - .. method:: init (pipe: :class:`~os/Pipe Pipe` ) - - .. method:: read -> :cover:`~lang/types String` - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: toString -> :cover:`~lang/types String` - - .. field:: eof -> :cover:`~lang/types Bool` - - .. field:: pipe -> :class:`~os/Pipe Pipe` - - .. field:: buf -> :cover:`~lang/types String` - - .. field:: BUF_SIZE -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/os/Process.rst b/source/sdk/out/os/Process.rst deleted file mode 100644 index 9c304df..0000000 --- a/source/sdk/out/os/Process.rst +++ /dev/null @@ -1,73 +0,0 @@ -os/Process -========== - -.. module:: os/Process - -.. class:: Process - - :extends: :class:`~lang/types Object` - .. staticmethod:: new (args: :class:`~structs/ArrayList ArrayList` ) -> :class:`~os/Process Process` - - .. staticmethod:: new~withEnv (args: :class:`~structs/ArrayList ArrayList` , env: :class:`~structs/HashMap HashMap` ) -> :class:`~os/Process Process` - - .. method:: setStdout (stdOut: :class:`~os/Pipe Pipe` ) - - .. method:: setStdin (stdIn: :class:`~os/Pipe Pipe` ) - - .. method:: setStderr (stdErr: :class:`~os/Pipe Pipe` ) - - .. method:: setEnv (env: :class:`~structs/HashMap HashMap` ) - - .. method:: setCwd (cwd: :cover:`~lang/types String` ) - - .. method:: execute -> :cover:`~lang/types Int` - - Execute the process and wait for it to end - - .. method:: wait -> :cover:`~lang/types Int` - - Wait for the process to end. Bad things will happen if you haven't called `executeNoWait` before. - - .. method:: executeNoWait - - Execute the process without waiting for it to end. You have to call `wait` manually. - - .. method:: getOutput -> :cover:`~lang/types String` - - Execute the process, and return all the output to stdout - as a string, if the program exited normally. - If there was an error (e.g. the return code wasn't 0), this function - will return null - - - .. method:: getErrOutput -> :cover:`~lang/types String` - - Execute the process, and return all the output to stderr - as a string - - - .. method:: communicate (data: :cover:`~lang/types String` , stdoutData, stderrData: :cover:`~lang/types String` *) -> :cover:`~lang/types Int` - - Send `data` to the process, wait for the process to end and get the - stdout and stderr data. You have to do `setStdIn(Pipe new())`/ - `setStdOut(Pipe new())`/`setStdErr(Pipe new())` - before in order to send / get the data. You have to run `executeNoWait` before. - You can pass null as data, stdoutData or stderrData. - - - .. field:: args -> :class:`~structs/ArrayList ArrayList` - - .. field:: executable -> :cover:`~lang/types String` - - .. field:: stdOut -> :class:`~os/Pipe Pipe` - - .. field:: stdIn -> :class:`~os/Pipe Pipe` - - .. field:: stdErr -> :class:`~os/Pipe Pipe` - - .. field:: buf -> :cover:`~lang/types String` * - - .. field:: env -> :class:`~structs/HashMap HashMap` - - .. field:: cwd -> :cover:`~lang/types String` - diff --git a/source/sdk/out/os/Terminal.rst b/source/sdk/out/os/Terminal.rst deleted file mode 100644 index e2576b2..0000000 --- a/source/sdk/out/os/Terminal.rst +++ /dev/null @@ -1,78 +0,0 @@ -os/Terminal -=========== - -.. module:: os/Terminal - -.. class:: Attr - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~os/Terminal Attr` - - .. method:: init - - .. field:: reset -> :cover:`~lang/types Int` - - .. field:: bright -> :cover:`~lang/types Int` - - .. field:: dim -> :cover:`~lang/types Int` - - .. field:: under -> :cover:`~lang/types Int` - - .. field:: blink -> :cover:`~lang/types Int` - - .. field:: reverse -> :cover:`~lang/types Int` - - .. field:: hidden -> :cover:`~lang/types Int` - -.. class:: Color - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~os/Terminal Color` - - .. method:: init - - .. field:: black -> :cover:`~lang/types Int` - - .. field:: red -> :cover:`~lang/types Int` - - .. field:: green -> :cover:`~lang/types Int` - - .. field:: yellow -> :cover:`~lang/types Int` - - .. field:: blue -> :cover:`~lang/types Int` - - .. field:: magenta -> :cover:`~lang/types Int` - - .. field:: cyan -> :cover:`~lang/types Int` - - .. field:: grey -> :cover:`~lang/types Int` - - .. field:: white -> :cover:`~lang/types Int` - -.. class:: Terminal - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~os/Terminal Terminal` - - .. method:: init - - .. staticmethod:: setColor (f, b: :cover:`~lang/types Int` ) - - Set foreground and background color - - .. staticmethod:: setFgColor (c: :cover:`~lang/types Int` ) - - Set foreground color - - .. staticmethod:: setBgColor (c: :cover:`~lang/types Int` ) - - Set background color - - .. staticmethod:: setAttr (att: :cover:`~lang/types Int` ) - - Set text attribute - - .. staticmethod:: reset - - Reset the terminal colors and attributes - diff --git a/source/sdk/out/os/Time.rst b/source/sdk/out/os/Time.rst deleted file mode 100644 index a0b9a5d..0000000 --- a/source/sdk/out/os/Time.rst +++ /dev/null @@ -1,63 +0,0 @@ -os/Time -======= - -.. module:: os/Time - -.. function:: GetLocalTime (:cover:`~os/Time SystemTime` *) - -.. function:: Sleep (:cover:`~lang/types UInt` ) - -.. function:: time (:cover:`~os/Time TimeT` *) -> :cover:`~os/Time TimeT` - -.. function:: localtime (:cover:`~os/Time TimeT` *) -> :cover:`~os/Time TMStruct` * - -.. function:: gettimeofday (:cover:`~os/Time TimeVal` *, :cover:`~os/Time TimeZone` *) -> :cover:`~lang/types Int` - -.. function:: usleep (:cover:`~lang/types UInt` ) - -.. cover:: SystemTime - - :from: ``SYSTEMTIME`` -.. cover:: TimeT - - :from: ``time_t`` -.. cover:: TimeZone - - :from: ``struct timezone`` -.. cover:: TMStruct - - :from: ``struct tm`` -.. cover:: TimeVal - - :from: ``struct timeval`` -.. class:: Time - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~os/Time Time` - - .. method:: init - - .. staticmethod:: microtime -> :cover:`~lang/types LLong` - - .. staticmethod:: microsec -> :cover:`~lang/types UInt` - - .. staticmethod:: sec -> :cover:`~lang/types UInt` - - .. staticmethod:: min -> :cover:`~lang/types UInt` - - .. staticmethod:: hour -> :cover:`~lang/types UInt` - - .. staticmethod:: sleepSec (duration: :cover:`~lang/types Float` ) - - .. staticmethod:: sleepMilli (duration: :cover:`~lang/types UInt` ) - - .. staticmethod:: sleepMicro (duration: :cover:`~lang/types UInt` ) - -.. var:: st -> :cover:`~os/Time SystemTime` - -.. var:: tv -> :cover:`~os/Time TimeVal` - -.. var:: tt -> :cover:`~os/Time TimeT` - -.. var:: val -> :cover:`~os/Time TMStruct` * - diff --git a/source/sdk/out/os/fcntl.rst b/source/sdk/out/os/fcntl.rst deleted file mode 100644 index c58cf17..0000000 --- a/source/sdk/out/os/fcntl.rst +++ /dev/null @@ -1,16 +0,0 @@ -os/fcntl -======== - -.. module:: os/fcntl - -.. function:: close (:cover:`~os/fcntl FileDescriptor` ) -> :cover:`~lang/types Int` - -.. function:: open (:cover:`~lang/types String` , :cover:`~lang/types Int` ) -> :cover:`~os/fcntl FileDescriptor` - -.. function:: read (:cover:`~os/fcntl FileDescriptor` , :cover:`~lang/types Pointer` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: write (:cover:`~os/fcntl FileDescriptor` , :cover:`~lang/types Pointer` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. cover:: FileDescriptor - - :from: ``Int`` diff --git a/source/sdk/out/os/mmap.rst b/source/sdk/out/os/mmap.rst deleted file mode 100644 index 2552320..0000000 --- a/source/sdk/out/os/mmap.rst +++ /dev/null @@ -1,77 +0,0 @@ -os/mmap -======= - -.. module:: os/mmap - -.. function:: mmap (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` , :cover:`~lang/types Int` , :cover:`~lang/types Int` , :cover:`~lang/types Int` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Pointer` - -.. function:: munmap (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Int` - -.. function:: mprotect (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: madvise (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: mincore (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` , :cover:`~lang/types Char` *) -> :cover:`~lang/types Int` - -.. function:: minherit (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: msync (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: mlock (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Int` - -.. function:: munlock (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Int` - -.. var:: PROT_EXEC -> :cover:`~lang/types Int` - -.. var:: PROT_WRITE -> :cover:`~lang/types Int` - -.. var:: PROT_READ -> :cover:`~lang/types Int` - -.. var:: PROT_NONE -> :cover:`~lang/types Int` - -.. var:: MAP_FIXED -> :cover:`~lang/types Int` - -.. var:: MAP_SHARED -> :cover:`~lang/types Int` - -.. var:: MAP_PRIVATE -> :cover:`~lang/types Int` - -.. var:: MAP_DENYWRITE -> :cover:`~lang/types Int` - -.. var:: MAP_EXECUTABLE -> :cover:`~lang/types Int` - -.. var:: MAP_NORESERVE -> :cover:`~lang/types Int` - -.. var:: MAP_LOCKED -> :cover:`~lang/types Int` - -.. var:: MAP_GROWSDOWN -> :cover:`~lang/types Int` - -.. var:: MAP_ANONYMOUS -> :cover:`~lang/types Int` - -.. var:: MAP_ANON -> :cover:`~lang/types Int` - -.. var:: MAP_FILE -> :cover:`~lang/types Int` - -.. var:: MAP_32BIT -> :cover:`~lang/types Int` - -.. var:: MAP_POPULATE -> :cover:`~lang/types Int` - -.. var:: MAP_NONBLOCK -> :cover:`~lang/types Int` - -.. var:: MAP_FAILED -> :cover:`~lang/types Pointer` - -.. var:: MADV_NORMAL -> :cover:`~lang/types Int` - -.. var:: MADV_SEQUENTIAL -> :cover:`~lang/types Int` - -.. var:: MADV_RANDOM -> :cover:`~lang/types Int` - -.. var:: MADV_WILLNEED -> :cover:`~lang/types Int` - -.. var:: MADV_DONTNEED -> :cover:`~lang/types Int` - -.. var:: MS_ASYNC -> :cover:`~lang/types Int` - -.. var:: MS_SYNC -> :cover:`~lang/types Int` - -.. var:: MS_INVALIDATE -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/os/native/PipeUnix.rst b/source/sdk/out/os/native/PipeUnix.rst deleted file mode 100644 index 81e0091..0000000 --- a/source/sdk/out/os/native/PipeUnix.rst +++ /dev/null @@ -1,34 +0,0 @@ -os/native/PipeUnix -================== - -.. module:: os/native/PipeUnix - -.. class:: PipeUnix - - :extends: :class:`~os/Pipe Pipe` - .. staticmethod:: new~withFDs (readFD, writeFD: :cover:`~os/FileDescriptor FileDescriptor` ) -> :class:`~os/native/PipeUnix PipeUnix` - - .. method:: init~withFDs (readFD, writeFD: :cover:`~os/FileDescriptor FileDescriptor` ) - - .. staticmethod:: new~twos -> :class:`~os/native/PipeUnix PipeUnix` - - .. method:: init~twos - - .. method:: read (len: :cover:`~lang/types Int` ) -> :cover:`~lang/types Pointer` - - read 'len' bytes at most from the pipe - - .. method:: write (data: :cover:`~lang/types Pointer` , len: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - write 'len' bytes of 'data' to the pipe - - .. method:: close (mode: :cover:`~lang/types Char` ) -> :cover:`~lang/types Int` - - close the pipe, either in reading or writing - @param arg 'r' = close in reading, 'w' = close in writing - - - .. field:: readFD -> :cover:`~os/FileDescriptor FileDescriptor` - - .. field:: writeFD -> :cover:`~os/FileDescriptor FileDescriptor` - diff --git a/source/sdk/out/os/native/ProcessUnix.rst b/source/sdk/out/os/native/ProcessUnix.rst deleted file mode 100644 index 4876362..0000000 --- a/source/sdk/out/os/native/ProcessUnix.rst +++ /dev/null @@ -1,20 +0,0 @@ -os/native/ProcessUnix -===================== - -.. module:: os/native/ProcessUnix - -.. class:: ProcessUnix - - :extends: :class:`~os/Process Process` - .. staticmethod:: new~unix (args: :class:`~structs/ArrayList ArrayList` ) -> :class:`~os/native/ProcessUnix ProcessUnix` - - .. method:: init~unix (args: :class:`~structs/ArrayList ArrayList` ) - - .. method:: wait -> :cover:`~lang/types Int` - - Wait for the process to end. Bad things will happen if you haven't called `executeNoWait` before. - - .. method:: executeNoWait - - Execute the process without waiting for it to end. You have to call `wait` manually. - diff --git a/source/sdk/out/os/native/ProcessWin32.rst b/source/sdk/out/os/native/ProcessWin32.rst deleted file mode 100644 index 50659eb..0000000 --- a/source/sdk/out/os/native/ProcessWin32.rst +++ /dev/null @@ -1,46 +0,0 @@ -os/native/ProcessWin32 -====================== - -.. module:: os/native/ProcessWin32 - -.. function:: ZeroMemory (:cover:`~lang/types Pointer` , :cover:`~lang/types SizeT` ) - -.. function:: CreateProcess (...) -> :cover:`~lang/types Bool` - -.. function:: WaitForSingleObject (...) - -.. function:: GetExitCodeProcess (...) -> :cover:`~lang/types Int` - -.. function:: CloseHandle (:cover:`~native/win32/types Handle` ) - -.. cover:: StartupInfo - - :from: ``STARTUPINFO`` -.. cover:: ProcessInformation - - :from: ``PROCESS_INFORMATION`` -.. class:: ProcessWin32 - - :extends: :class:`~os/Process Process` - .. staticmethod:: new~win32 (args: :class:`~structs/ArrayList ArrayList` ) -> :class:`~os/native/ProcessWin32 ProcessWin32` - - .. method:: init~win32 (args: :class:`~structs/ArrayList ArrayList` ) - - .. method:: wait -> :cover:`~lang/types Int` - - Wait for the process to end. Bad things will happen if you haven't called `executeNoWait` before. - - .. method:: executeNoWait - - Execute the process without waiting for it to end. You have to call `wait` manually. - - .. field:: si -> :cover:`~os/native/ProcessWin32 StartupInfo` - - .. field:: pi -> :cover:`~os/native/ProcessWin32 ProcessInformation` - - .. field:: cmdLine -> :cover:`~lang/types String` - -.. var:: INFINITE -> :cover:`~lang/types Long` - -.. var:: WAIT_OBJECT_0 -> :cover:`~lang/types Long` - diff --git a/source/sdk/out/os/unistd.rst b/source/sdk/out/os/unistd.rst deleted file mode 100644 index 8b85735..0000000 --- a/source/sdk/out/os/unistd.rst +++ /dev/null @@ -1,27 +0,0 @@ -os/unistd -========= - -.. module:: os/unistd - -.. function:: chdir (:cover:`~lang/types String` ) -> :cover:`~lang/types Int` - -.. function:: dup2 (:cover:`~lang/types Int` , :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: execv (:cover:`~lang/types String` , :cover:`~lang/types String` *) -> :cover:`~lang/types Int` - -.. function:: execvp (:cover:`~lang/types String` , :cover:`~lang/types String` *) -> :cover:`~lang/types Int` - -.. function:: execve (:cover:`~lang/types String` , :cover:`~lang/types String` *, :cover:`~lang/types String` *) -> :cover:`~lang/types Int` - -.. function:: fileno (:cover:`~lang/stdio FILE` *) -> :cover:`~lang/types Int` - -.. function:: fork -> :cover:`~lang/types Int` - -.. function:: pipe (arg: :cover:`~lang/types Int` *) -> :cover:`~lang/types Int` - -.. var:: PIPE_BUF -> :cover:`~lang/types Int` - -.. var:: STDOUT_FILENO -> :cover:`~lang/types Int` - -.. var:: STDERR_FILENO -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/os/wait.rst b/source/sdk/out/os/wait.rst deleted file mode 100644 index cd5e848..0000000 --- a/source/sdk/out/os/wait.rst +++ /dev/null @@ -1,13 +0,0 @@ -os/wait -======= - -.. module:: os/wait - -.. function:: WEXITSTATUS (:cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: WIFEXITED (:cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: wait (:cover:`~lang/types Int` *) -> :cover:`~lang/types Int` - -.. function:: waitpid (:cover:`~lang/types Int` , :cover:`~lang/types Int` *, :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/structs/ArrayList.rst b/source/sdk/out/structs/ArrayList.rst deleted file mode 100644 index 543c2e8..0000000 --- a/source/sdk/out/structs/ArrayList.rst +++ /dev/null @@ -1,103 +0,0 @@ -structs/ArrayList -================= - -.. module:: structs/ArrayList - -.. class:: ArrayList - - :extends: :class:`~structs/List List` - .. staticmethod:: new -> :class:`~structs/ArrayList ArrayList` - - .. method:: init - - .. staticmethod:: new~withCapacity (capacity: :cover:`~lang/types Int` ) -> :class:`~structs/ArrayList ArrayList` - - .. method:: init~withCapacity (capacity: :cover:`~lang/types Int` ) - - .. staticmethod:: new~withData (data: T *, size: :cover:`~lang/types Int` ) -> :class:`~structs/ArrayList ArrayList` - - .. method:: init~withData (data: T *, size: :cover:`~lang/types Int` ) - - .. method:: add (element: T ) - - .. method:: add~withIndex (index: :cover:`~lang/types Int` , element: T ) - - .. method:: clear - - .. method:: get (index: :cover:`~lang/types Int` ) -> T - - .. method:: indexOf (element: T ) -> :cover:`~lang/types Int` - - .. method:: lastIndexOf (element: T ) -> :cover:`~lang/types Int` - - .. method:: removeAt (index: :cover:`~lang/types Int` ) -> T - - .. method:: remove (element: T ) -> :cover:`~lang/types Bool` - - Removes a single instance of the specified element from this list, - if it is present (optional operation). - @return true if at least one occurence of the element has been - removed - - - .. method:: set (index: :cover:`~lang/types Int` , element: T ) -> T - - Replaces the element at the specified position in this list with - the specified element. - - - .. method:: size -> :cover:`~lang/types Int` - - @return the number of elements in this list. - - - .. method:: ensureCapacity (newSize: :cover:`~lang/types Int` ) - - Increases the capacity of this ArrayList instance, if necessary, - to ensure that it can hold at least the number of elements - specified by the minimum capacity argument. - - - .. method:: grow - - private - - .. method:: checkIndex (index: :cover:`~lang/types Int` ) - - private - - .. method:: iterator -> :class:`~lang/types Iterator` - - .. method:: clone -> :class:`~structs/ArrayList ArrayList` - - .. method:: toArray -> :cover:`~lang/types Pointer` - - - - .. field:: data -> T * - - .. field:: capacity -> :cover:`~lang/types Int` - - .. field:: size -> :cover:`~lang/types Int` - -.. class:: ArrayListIterator - - :extends: :class:`~lang/types Iterator` - .. staticmethod:: new~iter (list: :class:`~structs/ArrayList ArrayList` ) -> :class:`~structs/ArrayList ArrayListIterator` - - .. method:: init~iter (list: :class:`~structs/ArrayList ArrayList` ) - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: next -> T - - .. method:: hasPrev -> :cover:`~lang/types Bool` - - .. method:: prev -> T - - .. method:: remove -> :cover:`~lang/types Bool` - - .. field:: list -> :class:`~structs/ArrayList ArrayList` - - .. field:: index -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/structs/Bag.rst b/source/sdk/out/structs/Bag.rst deleted file mode 100644 index 507cffe..0000000 --- a/source/sdk/out/structs/Bag.rst +++ /dev/null @@ -1,38 +0,0 @@ -structs/Bag -=========== - -.. module:: structs/Bag - -.. class:: Bag - - :extends: :class:`~lang/types Object` - .. staticmethod:: new~withCapacity (len: :cover:`~lang/types Int` ) -> :class:`~structs/Bag Bag` - - .. method:: init~withCapacity (len: :cover:`~lang/types Int` ) - - .. staticmethod:: new -> :class:`~structs/Bag Bag` - - .. method:: init - - .. method:: add (element: T ) - - .. method:: add~withIndex (index: :cover:`~lang/types Int` , element: T ) - - .. method:: clear - - .. method:: get (index: :cover:`~lang/types Int` , T: :class:`~lang/types Class` ) -> T - - .. method:: indexOf (element: T ) -> :cover:`~lang/types Int` - - .. method:: lastIndexOf (element: T ) -> :cover:`~lang/types Int` - - .. method:: removeAt (index: :cover:`~lang/types Int` , T: :class:`~lang/types Class` ) -> T - - .. method:: remove (element: T ) -> :cover:`~lang/types Bool` - - .. method:: set (index: :cover:`~lang/types Int` , element: T ) - - .. method:: size -> :cover:`~lang/types Int` - - .. field:: data -> :class:`~structs/ArrayList ArrayList` - diff --git a/source/sdk/out/structs/HashBag.rst b/source/sdk/out/structs/HashBag.rst deleted file mode 100644 index f51fe06..0000000 --- a/source/sdk/out/structs/HashBag.rst +++ /dev/null @@ -1,34 +0,0 @@ -structs/HashBag -=============== - -.. module:: structs/HashBag - -.. class:: HashBag - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~structs/HashBag HashBag` - - .. method:: init - - .. staticmethod:: new~withCapacity (capacity: :cover:`~lang/types Int` ) -> :class:`~structs/HashBag HashBag` - - .. method:: init~withCapacity (capacity: :cover:`~lang/types Int` ) - - .. method:: get (key: :cover:`~lang/types String` , T: :class:`~lang/types Class` ) -> T - - .. method:: getEntry (key: :cover:`~lang/types String` , V: :class:`~lang/types Class` ) -> :class:`~structs/HashMap HashEntry` - - .. method:: put (key: :cover:`~lang/types String` , value: T ) -> :cover:`~lang/types Bool` - - .. method:: add (key: :cover:`~lang/types String` , value: T ) -> :cover:`~lang/types Bool` - - .. method:: isEmpty -> :cover:`~lang/types Bool` - - .. method:: remove (key: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - .. method:: size -> :cover:`~lang/types Int` - - .. method:: contains (key: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - .. field:: myMap -> :class:`~structs/HashMap HashMap` - diff --git a/source/sdk/out/structs/HashMap.rst b/source/sdk/out/structs/HashMap.rst deleted file mode 100644 index 514604a..0000000 --- a/source/sdk/out/structs/HashMap.rst +++ /dev/null @@ -1,151 +0,0 @@ -structs/HashMap -=============== - -.. module:: structs/HashMap - -.. function:: stringKeyEquals (k1, k2: K ) -> :cover:`~lang/types Bool` - -.. function:: genericKeyEquals (k1, k2: K ) -> :cover:`~lang/types Bool` - -.. function:: murmurHash (keyTagazok: K ) -> :cover:`~lang/types UInt` - -.. function:: ac_X31_hash (key: K ) -> :cover:`~lang/types UInt` - -.. class:: HashEntry - - :extends: :class:`~lang/types Object` - .. staticmethod:: new~keyVal (key: K , value: V ) -> :class:`~structs/HashMap HashEntry` - - .. method:: init~keyVal (key: K , value: V ) - - .. field:: V -> :class:`~lang/types Class` - - .. field:: K -> :class:`~lang/types Class` - - .. field:: key -> K - - .. field:: value -> V - -.. class:: HashMap - - :extends: :class:`~lang/types Iterable` - .. staticmethod:: new -> :class:`~structs/HashMap HashMap` - - .. method:: init - - Returns a hash table with 100 buckets - @return HashTable - - - .. staticmethod:: new~withCapacity (capacity: :cover:`~lang/types UInt` ) -> :class:`~structs/HashMap HashMap` - - .. method:: init~withCapacity (capacity: :cover:`~lang/types UInt` ) - - Returns a hash table of a specified bucket capacity. - @param UInt capacity The number of buckets to use - @return HashTable - - - .. method:: getEntry (key: K ) -> :class:`~structs/HashMap HashEntry` - - Returns the HashEntry associated with a key. - @access private - @param key The key associated with the HashEntry - @return HashEntry - - - .. method:: put (key: K , value: V ) -> :cover:`~lang/types Bool` - - Puts a key/value pair in the hash table. If the pair already exists, - it is overwritten. - @param key The key to be hashed - @param value The value associated with the key - @return Bool - - - .. method:: add (key: K , value: V ) -> :cover:`~lang/types Bool` - - Alias of put - - - .. method:: get (key: K ) -> V - - Returns the value associated with the key. Returns null if the key - does not exist. - @param key The key associated with the value - @return Object - - - .. method:: isEmpty -> :cover:`~lang/types Bool` - - @return true if this map is empty, false if not - - - .. method:: contains (key: K ) -> :cover:`~lang/types Bool` - - Returns whether or not the key exists in the hash table. - @param key The key to check - @return Bool - - - .. method:: remove (key: K ) -> :cover:`~lang/types Bool` - - Removes the entry associated with the key - @param key The key to remove - @return Bool - - - .. method:: resize (_capacity: :cover:`~lang/types UInt` ) -> :cover:`~lang/types Bool` - - Resizes the hash table to a new capacity - @param UInt _capacity The new table capacity - @return Bool - - - .. method:: iterator -> :class:`~lang/types Iterator` - - .. method:: clear - - .. method:: size -> :cover:`~lang/types UInt` - - .. method:: getKeys -> :class:`~structs/ArrayList ArrayList` - - .. field:: V -> :class:`~lang/types Class` - - .. field:: K -> :class:`~lang/types Class` - - .. field:: size -> :cover:`~lang/types UInt` - - .. field:: capacity -> :cover:`~lang/types UInt` - - .. field:: keyEquals -> Func - - .. field:: hashKey -> Func - - .. field:: buckets -> :class:`~structs/ArrayList ArrayList` * - - .. field:: keys -> :class:`~structs/ArrayList ArrayList` - -.. class:: HashMapValueIterator - - :extends: :class:`~lang/types Iterator` - .. staticmethod:: new~withMap (map: :class:`~structs/HashMap HashMap` ) -> :class:`~structs/HashMap HashMapValueIterator` - - .. method:: init~withMap (map: :class:`~structs/HashMap HashMap` ) - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: next -> T - - .. method:: hasPrev -> :cover:`~lang/types Bool` - - .. method:: prev -> T - - .. method:: remove -> :cover:`~lang/types Bool` - - .. field:: K -> :class:`~lang/types Class` - - .. field:: map -> :class:`~structs/HashMap HashMap` - - .. field:: index -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/structs/LinkedList.rst b/source/sdk/out/structs/LinkedList.rst deleted file mode 100644 index bf5f5fe..0000000 --- a/source/sdk/out/structs/LinkedList.rst +++ /dev/null @@ -1,90 +0,0 @@ -structs/LinkedList -================== - -.. module:: structs/LinkedList - -.. function:: getchar - -.. class:: LinkedList - - :extends: :class:`~structs/List List` - .. staticmethod:: new -> :class:`~structs/LinkedList LinkedList` - - .. method:: init - - .. method:: add (data: T ) - - .. method:: add~withIndex (index: :cover:`~lang/types Int` , data: T ) - - .. method:: clear - - .. method:: get (index: :cover:`~lang/types Int` ) -> T - - .. method:: getNode (index: :cover:`~lang/types Int` ) -> :class:`~structs/LinkedList Node` - - .. method:: indexOf (data: T ) -> :cover:`~lang/types Int` - - .. method:: lastIndexOf (data: T ) -> :cover:`~lang/types Int` - - .. method:: removeAt (index: :cover:`~lang/types Int` ) -> T - - .. method:: remove (data: T ) -> :cover:`~lang/types Bool` - - .. method:: removeNode (toRemove: :class:`~structs/LinkedList Node` ) -> :cover:`~lang/types Bool` - - .. method:: set (index: :cover:`~lang/types Int` , data: T ) -> T - - .. method:: size -> :cover:`~lang/types Int` - - .. method:: iterator -> :class:`~structs/LinkedList LinkedListIterator` - - .. method:: clone -> :class:`~structs/LinkedList LinkedList` - - .. method:: print - - .. field:: size -> :cover:`~lang/types Int` - - .. field:: first -> :class:`~structs/LinkedList Node` - - .. field:: last -> :class:`~structs/LinkedList Node` - -.. class:: Node - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~structs/LinkedList Node` - - .. method:: init - - .. staticmethod:: new~withParams (prev, next: :class:`~structs/LinkedList Node` , data: T ) -> :class:`~structs/LinkedList Node` - - .. method:: init~withParams (prev, next: :class:`~structs/LinkedList Node` , data: T ) - - .. field:: T -> :class:`~lang/types Class` - - .. field:: prev -> :class:`~structs/LinkedList Node` - - .. field:: next -> :class:`~structs/LinkedList Node` - - .. field:: data -> T - -.. class:: LinkedListIterator - - :extends: :class:`~lang/types Iterator` - .. staticmethod:: new (list: :class:`~structs/LinkedList LinkedList` ) -> :class:`~structs/LinkedList LinkedListIterator` - - .. method:: init (list: :class:`~structs/LinkedList LinkedList` ) - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: next -> T - - .. method:: hasPrev -> :cover:`~lang/types Bool` - - .. method:: prev -> T - - .. method:: remove -> :cover:`~lang/types Bool` - - .. field:: current -> :class:`~structs/LinkedList Node` - - .. field:: list -> :class:`~structs/LinkedList LinkedList` - diff --git a/source/sdk/out/structs/List.rst b/source/sdk/out/structs/List.rst deleted file mode 100644 index fe7efcd..0000000 --- a/source/sdk/out/structs/List.rst +++ /dev/null @@ -1,142 +0,0 @@ -structs/List -============ - -.. module:: structs/List - -.. class:: List - - :extends: :class:`~lang/types Iterable` - .. method:: add (element: T ) - - Appends the specified element to the end of this list. - - - .. method:: add~withIndex (index: :cover:`~lang/types Int` , element: T ) - - Inserts the specified element at the specified position in - this list. - - - .. method:: addAll (list: :class:`~lang/types Iterable` ) - - Appends all of the elements in the specified Collection to the - end of this list, in the order that they are returned by the - specified Collection's Iterator. - - - .. method:: addAll~atStart (start: :cover:`~lang/types Int` , list: :class:`~lang/types Iterable` ) - - Inserts all of the elements in the specified Collection into - this list, starting at the specified position. - - - .. method:: clear - - Removes all of the elements from this list. - - - .. method:: removeLast -> :cover:`~lang/types Bool` - - Removes the last element of the list, if any (=non-empty list). - @return true if it has removed an element, false if the list - was empty. - - - .. method:: contains (element: T ) -> :cover:`~lang/types Bool` - - @return true if this list contains the specified element. - - - .. method:: replace (oldie, kiddo: T ) -> :cover:`~lang/types Bool` - - @return true if oldie has been replaced by kiddo - - - .. method:: get (index: :cover:`~lang/types Int` ) -> T - - @return the element at the specified position in this list. - - - .. method:: indexOf (element: T ) -> :cover:`~lang/types Int` - - @return the index of the first occurence of the given argument, - (testing for equality using the equals method), or -1 if not found - - - .. method:: isEmpty -> :cover:`~lang/types Bool` - - @return true if this list has no elements. - - - .. method:: lastIndexOf (element: T ) -> :cover:`~lang/types Int` - - @return the index of the last occurrence of the specified object - in this list. - - - .. method:: removeAt (index: :cover:`~lang/types Int` ) -> T - - Removes the element at the specified position in this list. - @return the element just removed - - - .. method:: remove (element: T ) -> :cover:`~lang/types Bool` - - Removes a single instance of the specified element from this list, - if it is present (optional operation). - @return true if at least one occurence of the element has been - removed - - - .. method:: set (index: :cover:`~lang/types Int` , element: T ) -> T - - Replaces the element at the specified position in this list with - the specified element. - - - .. method:: size -> :cover:`~lang/types Int` - - @return the number of elements in this list. - - - .. method:: iterator -> :class:`~lang/types Iterator` - - @return an interator on this list - - - .. method:: clone -> :class:`~structs/List List` - - @return a copy of this list - - - .. method:: first -> T - - @return the first element of this list - - - .. method:: last -> T - - @return the last element of this list - - - .. method:: lastIndex -> :cover:`~lang/types Int` - - @return the last index of this list (e.g. size() - 1) - - - .. method:: reverse - - Reverse this list (destructive) - - - .. method:: toArray -> :cover:`~lang/types Pointer` - - Convert this list to a raw C array - - - .. method:: each (f: Func ) - - .. method:: join~string (str: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - .. method:: join~char (chr: :cover:`~lang/types Char` ) -> :cover:`~lang/types String` - diff --git a/source/sdk/out/structs/MultiMap.rst b/source/sdk/out/structs/MultiMap.rst deleted file mode 100644 index e0db2ee..0000000 --- a/source/sdk/out/structs/MultiMap.rst +++ /dev/null @@ -1,57 +0,0 @@ -structs/MultiMap -================ - -.. module:: structs/MultiMap - -.. class:: MultiMap - - :extends: :class:`~structs/HashMap HashMap` - .. staticmethod:: new~multiMap -> :class:`~structs/MultiMap MultiMap` - - .. method:: init~multiMap - - .. staticmethod:: new~multiMapWithCapa (capacity: :cover:`~lang/types UInt` ) -> :class:`~structs/MultiMap MultiMap` - - .. method:: init~multiMapWithCapa (capacity: :cover:`~lang/types UInt` ) - - .. method:: get~_super (key: K ) -> K - - .. method:: put~_super (key: K , value: V ) -> :cover:`~lang/types Bool` - - .. method:: put (key: K , value: V ) -> :cover:`~lang/types Bool` - - .. method:: remove (key: K ) -> :cover:`~lang/types Bool` - - .. method:: getAll (key: K ) -> V - - .. method:: get (key: K ) -> V - - .. method:: iterator -> :class:`~lang/types Iterator` - -.. class:: MultiMapValueIterator - - :extends: :class:`~lang/types Iterator` - .. staticmethod:: new (map: :class:`~structs/MultiMap MultiMap` ) -> :class:`~structs/MultiMap MultiMapValueIterator` - - .. method:: init (map: :class:`~structs/MultiMap MultiMap` ) - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: next -> V - - .. method:: hasPrev -> :cover:`~lang/types Bool` - - .. method:: prev -> V - - .. method:: remove -> :cover:`~lang/types Bool` - - .. field:: V -> :class:`~lang/types Class` - - .. field:: K -> :class:`~lang/types Class` - - .. field:: map -> :class:`~structs/MultiMap MultiMap` - - .. field:: index -> :cover:`~lang/types Int` - - .. field:: sub -> :class:`~lang/types Iterator` - diff --git a/source/sdk/out/structs/OrderedMultiMap.rst b/source/sdk/out/structs/OrderedMultiMap.rst deleted file mode 100644 index 35c342d..0000000 --- a/source/sdk/out/structs/OrderedMultiMap.rst +++ /dev/null @@ -1,22 +0,0 @@ -structs/OrderedMultiMap -======================= - -.. module:: structs/OrderedMultiMap - -.. class:: OrderedMultiMap - - :extends: :class:`~structs/MultiMap MultiMap` - .. staticmethod:: new -> :class:`~structs/OrderedMultiMap OrderedMultiMap` - - .. method:: init - - .. method:: getKeys -> :class:`~structs/ArrayList ArrayList` - - .. method:: _containsKey (key: K ) -> :cover:`~lang/types Bool` - - .. method:: put (key: K , value: V ) -> :cover:`~lang/types Bool` - - .. method:: remove (key: K ) -> :cover:`~lang/types Bool` - - .. field:: orderedKeys -> :class:`~structs/ArrayList ArrayList` - diff --git a/source/sdk/out/structs/Stack.rst b/source/sdk/out/structs/Stack.rst deleted file mode 100644 index 6fa38b8..0000000 --- a/source/sdk/out/structs/Stack.rst +++ /dev/null @@ -1,32 +0,0 @@ -structs/Stack -============= - -.. module:: structs/Stack - -.. class:: Stack - - :extends: :class:`~lang/types Iterable` - .. staticmethod:: new -> :class:`~structs/Stack Stack` - - .. method:: init - - .. method:: push (element: T ) - - .. method:: pop -> T - - .. method:: peek -> T - - .. method:: peek~index (index: :cover:`~lang/types Int` ) -> T - - .. method:: size -> :cover:`~lang/types Int` - - .. method:: isEmpty -> :cover:`~lang/types Bool` - - .. method:: lastIndex -> :cover:`~lang/types Int` - - .. method:: clear - - .. method:: iterator -> :class:`~lang/types Iterator` - - .. field:: data -> :class:`~structs/ArrayList ArrayList` - diff --git a/source/sdk/out/text/Buffer.rst b/source/sdk/out/text/Buffer.rst deleted file mode 100644 index 4fae10e..0000000 --- a/source/sdk/out/text/Buffer.rst +++ /dev/null @@ -1,88 +0,0 @@ -text/Buffer -=========== - -.. module:: text/Buffer - -.. class:: Buffer - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~text/Buffer Buffer` - - .. method:: init - - .. staticmethod:: new~withCapa (capacity: :cover:`~lang/types SizeT` ) -> :class:`~text/Buffer Buffer` - - .. method:: init~withCapa (capacity: :cover:`~lang/types SizeT` ) - - .. staticmethod:: new~withContent (data: :cover:`~lang/types String` ) -> :class:`~text/Buffer Buffer` - - .. method:: init~withContent (data: :cover:`~lang/types String` ) - - .. method:: append~str (str: :cover:`~lang/types String` ) - - .. method:: append~strWithLength (str: :cover:`~lang/types String` , length: :cover:`~lang/types SizeT` ) - - .. method:: append~chr (chr: :cover:`~lang/types Char` ) - - .. method:: get~strWithLengthOffset (str: :cover:`~lang/types String` , offset, length: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types Int` - - .. method:: get~chr (offset: :cover:`~lang/types Int` ) -> :cover:`~lang/types Char` - - .. method:: checkLength (min: :cover:`~lang/types SizeT` ) - - .. method:: toString -> :cover:`~lang/types String` - - .. field:: size -> :cover:`~lang/types SizeT` - - .. field:: capacity -> :cover:`~lang/types SizeT` - - .. field:: data -> :cover:`~lang/types String` - -.. class:: BufferWriter - - :extends: :class:`~io/Writer Writer` - .. staticmethod:: new -> :class:`~text/Buffer BufferWriter` - - .. method:: init - - .. staticmethod:: new~withBuffer (buffer: :class:`~text/Buffer Buffer` ) -> :class:`~text/Buffer BufferWriter` - - .. method:: init~withBuffer (buffer: :class:`~text/Buffer Buffer` ) - - .. method:: buffer -> :class:`~text/Buffer Buffer` - - .. method:: close - - .. method:: write~chr (chr: :cover:`~lang/types Char` ) - - .. method:: write (chars: :cover:`~lang/types String` , length: :cover:`~lang/types SizeT` ) -> :cover:`~lang/types SizeT` - - .. field:: buffer -> :class:`~text/Buffer Buffer` - -.. class:: BufferReader - - :extends: :class:`~io/Reader Reader` - .. staticmethod:: new -> :class:`~text/Buffer BufferReader` - - .. method:: init - - .. staticmethod:: new~withBuffer (buffer: :class:`~text/Buffer Buffer` ) -> :class:`~text/Buffer BufferReader` - - .. method:: init~withBuffer (buffer: :class:`~text/Buffer Buffer` ) - - .. method:: buffer -> :class:`~text/Buffer Buffer` - - .. method:: read (chars: :cover:`~lang/types String` , offset, count: :cover:`~lang/types Int` ) -> :cover:`~lang/types SizeT` - - .. method:: read~char -> :cover:`~lang/types Char` - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: rewind (offset: :cover:`~lang/types Int` ) - - .. method:: mark -> :cover:`~lang/types Long` - - .. method:: reset (marker: :cover:`~lang/types Long` ) - - .. field:: buffer -> :class:`~text/Buffer Buffer` - diff --git a/source/sdk/out/text/EscapeSequence.rst b/source/sdk/out/text/EscapeSequence.rst deleted file mode 100644 index 5c7bb21..0000000 --- a/source/sdk/out/text/EscapeSequence.rst +++ /dev/null @@ -1,41 +0,0 @@ -text/EscapeSequence -=================== - -.. module:: text/EscapeSequence - -.. class:: EscapeSequence - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~text/EscapeSequence EscapeSequence` - - .. method:: init - - .. staticmethod:: getCharacter (sequence: :cover:`~lang/types String` , chr: :cover:`~lang/types Char` *) -> :cover:`~lang/types Int` - - This is a function for decoding an escape sequence. It supports - the most common escape sequences and also hexadecimal (\x0a) and - octal (\101) escape sequences. - You have to pass the escape sequence *without* the leading backslash - as `sequence` and a pointer to the result char as `chr`. - The return value is one of `EscapeSequence valid` (`chr` contains a - valid value now), `EscapeSequence needMore` (`chr`'s content is - undefined, the escape sequence is incomplete (the case for "\x1") and - `EscapeSequence invalid` (like for "\u"). - - - .. staticmethod:: unescape (s: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - Unescape the string `s`. This will handle hexadecimal, octal and one-character escape - escape sequences. Unknown escape sequences will just get the '\\' stripped. ("\\u" -> "u") - - - .. staticmethod:: escape (s: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - Escape a string. This will replace non-printable characters with equivalents like \something or \x??. - - .. field:: valid -> :cover:`~lang/types Int` - - .. field:: needMore -> :cover:`~lang/types Int` - - .. field:: invalid -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/text/Regexp.rst b/source/sdk/out/text/Regexp.rst deleted file mode 100644 index 4a8b7ee..0000000 --- a/source/sdk/out/text/Regexp.rst +++ /dev/null @@ -1,114 +0,0 @@ -text/Regexp -=========== - -.. module:: text/Regexp - -.. cover:: Pcre - - :from: ``pcre*`` - .. method:: compile (...) -> :cover:`~text/Regexp Pcre` - - .. method:: free - - .. method:: exec (...) -> :cover:`~lang/types Int` - - .. method:: getStringNumber (...) -> :cover:`~lang/types Int` - -.. cover:: RegexpOption - -.. class:: Regexp - - :extends: :class:`~lang/types Object` - .. staticmethod:: compile~withOptions (pattern: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) -> :class:`~text/Regexp Regexp` - - Compile a regular expression pattern. - - :param pattern: regular expression pattern to compile - :param options: compiling options. - :return: new regular expression object if successful, null if error occured. - - - .. staticmethod:: compile (pattern: :cover:`~lang/types String` ) -> :class:`~text/Regexp Regexp` - - .. staticmethod:: new (pcre: :cover:`~text/Regexp Pcre` ) -> :class:`~text/Regexp Regexp` - - .. method:: init (pcre: :cover:`~text/Regexp Pcre` ) - - .. method:: matches~withLengthAndStart (subject: :cover:`~lang/types String` , start: :cover:`~lang/types Int` , length: :cover:`~lang/types SizeT` ) -> :class:`~text/Regexp Match` - - If one or more characters from the start of the subject string - matches the pattern, returns a Match object. Returns null if match fails. - - :param subject: subject string to test for match - :param start: offset within subject at which to start matching - :return: Match object if a match was found, otherwise null - - - .. method:: matches (subject: :cover:`~lang/types String` ) -> :class:`~text/Regexp Match` - - .. field:: errorMsg -> :cover:`~lang/types String` - - .. field:: errorOffset -> :cover:`~lang/types Int` - - .. field:: pcre -> :cover:`~text/Regexp Pcre` - - .. field:: maxSubstrings -> :cover:`~lang/types Int` - -.. class:: Match - - :extends: :class:`~lang/types Iterable` - .. staticmethod:: new (regexp: :class:`~text/Regexp Regexp` , groupCount: :cover:`~lang/types Int` , subject: :cover:`~lang/types String` , ovector: :cover:`~lang/types Int` *) -> :class:`~text/Regexp Match` - - .. method:: init (regexp: :class:`~text/Regexp Regexp` , groupCount: :cover:`~lang/types Int` , subject: :cover:`~lang/types String` , ovector: :cover:`~lang/types Int` *) - - .. method:: start~byIndex (index: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - Returns the starting position of the match group by index. - - - .. method:: end~byIndex (index: :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - - Returns the ending position of the match group by index. - - - .. method:: group~byIndex (index: :cover:`~lang/types Int` ) -> :cover:`~lang/types String` - - Returns a subgroup of the matched string by index. - - - .. method:: group~byName (name: :cover:`~lang/types String` ) -> :cover:`~lang/types String` - - Returns a subgroup of the matched string by name. - - - .. method:: iterator -> :class:`~lang/types Iterator` - - .. field:: regexp -> :class:`~text/Regexp Regexp` - - .. field:: groupCount -> :cover:`~lang/types Int` - - .. field:: subject -> :cover:`~lang/types String` - - .. field:: ovector -> :cover:`~lang/types Int` * - -.. class:: MatchGroupIterator - - :extends: :class:`~lang/types Iterator` - .. staticmethod:: new (matchObject: :class:`~text/Regexp Match` ) -> :class:`~text/Regexp MatchGroupIterator` - - .. method:: init (matchObject: :class:`~text/Regexp Match` ) - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: next -> T - - .. method:: hasPrev -> :cover:`~lang/types Bool` - - .. method:: prev -> T - - .. method:: remove -> :cover:`~lang/types Bool` - - .. field:: matchObject -> :class:`~text/Regexp Match` - - .. field:: index -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/text/Shlex.rst b/source/sdk/out/text/Shlex.rst deleted file mode 100644 index 5adb4f9..0000000 --- a/source/sdk/out/text/Shlex.rst +++ /dev/null @@ -1,40 +0,0 @@ -text/Shlex -========== - -.. module:: text/Shlex - -.. class:: Shlex - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~text/Shlex Shlex` - - .. method:: init - - .. method:: _add (unquote: :cover:`~lang/types Bool` ) - - .. method:: close -> :class:`~structs/ArrayList ArrayList` - - .. method:: feed~char (chr: :cover:`~lang/types Char` ) - - .. method:: feed~string (s: :cover:`~lang/types String` ) - - .. staticmethod:: split (s: :cover:`~lang/types String` ) -> :class:`~structs/ArrayList ArrayList` - - Split the string following the shell lexer rules and return the splitted parts. - - .. field:: state -> :cover:`~lang/types Int` - - .. field:: buffer -> :class:`~text/Buffer Buffer` - - .. field:: result -> :class:`~structs/ArrayList ArrayList` - - .. field:: backslash -> :cover:`~lang/types Bool` - -.. var:: WAIT -> :cover:`~lang/types Int` - -.. var:: WORD -> :cover:`~lang/types Int` - -.. var:: SQUOTED -> :cover:`~lang/types Int` - -.. var:: DQUOTED -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/text/StringReader.rst b/source/sdk/out/text/StringReader.rst deleted file mode 100644 index b19776a..0000000 --- a/source/sdk/out/text/StringReader.rst +++ /dev/null @@ -1,12 +0,0 @@ -text/StringReader -================= - -.. module:: text/StringReader - -.. class:: StringReader - - :extends: :class:`~text/Buffer BufferReader` - .. staticmethod:: new~withString (string: :cover:`~lang/types String` ) -> :class:`~text/StringReader StringReader` - - .. method:: init~withString (string: :cover:`~lang/types String` ) - diff --git a/source/sdk/out/text/StringTemplate.rst b/source/sdk/out/text/StringTemplate.rst deleted file mode 100644 index 2a981db..0000000 --- a/source/sdk/out/text/StringTemplate.rst +++ /dev/null @@ -1,22 +0,0 @@ -text/StringTemplate -=================== - -.. module:: text/StringTemplate - -.. cover:: String - - :from: ``Char*`` - .. method:: formatTemplate (values: :class:`~structs/HashMap HashMap` ) -> :cover:`~text/StringTemplate String` - - Replace all template tokens in *this* with the matching value of *values*. - - Example:: - - import text/StringTemplate - values := HashMap new() - values put("what", "world") .put("suffix", "... yay") - "Hello {{ what }}! {{ suffix}}" formatTermplate(values) println() - // -> Hello world! ... yay - - - diff --git a/source/sdk/out/text/StringTokenizer.rst b/source/sdk/out/text/StringTokenizer.rst deleted file mode 100644 index ea5923f..0000000 --- a/source/sdk/out/text/StringTokenizer.rst +++ /dev/null @@ -1,83 +0,0 @@ -text/StringTokenizer -==================== - -.. module:: text/StringTokenizer - -.. class:: StringTokenizer - - :extends: :class:`~lang/types Iterable` - .. staticmethod:: new~withCharWithoutMaxSplits (input: :cover:`~text/StringTokenizer String` , delim: :cover:`~lang/types Char` ) -> :class:`~text/StringTokenizer StringTokenizer` - - .. method:: init~withCharWithoutMaxSplits (input: :cover:`~text/StringTokenizer String` , delim: :cover:`~lang/types Char` ) - - .. staticmethod:: new~withStringWithoutMaxSplits (input, delim: :cover:`~text/StringTokenizer String` ) -> :class:`~text/StringTokenizer StringTokenizer` - - .. method:: init~withStringWithoutMaxSplits (input, delim: :cover:`~text/StringTokenizer String` ) - - .. staticmethod:: new~withChar (input: :cover:`~text/StringTokenizer String` , delim: :cover:`~lang/types Char` , maxSplits: :cover:`~lang/types Int` ) -> :class:`~text/StringTokenizer StringTokenizer` - - .. method:: init~withChar (input: :cover:`~text/StringTokenizer String` , delim: :cover:`~lang/types Char` , maxSplits: :cover:`~lang/types Int` ) - - .. staticmethod:: new~withString (input, delim: :cover:`~text/StringTokenizer String` , maxSplits: :cover:`~lang/types Int` ) -> :class:`~text/StringTokenizer StringTokenizer` - - .. method:: init~withString (input, delim: :cover:`~text/StringTokenizer String` , maxSplits: :cover:`~lang/types Int` ) - - .. method:: iterator -> :class:`~lang/types Iterator` - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: nextToken -> :cover:`~text/StringTokenizer String` - - @return the next token, or null if we're at the end. - - - .. field:: input -> :cover:`~text/StringTokenizer String` - - .. field:: delim -> :cover:`~text/StringTokenizer String` - - .. field:: index -> :cover:`~lang/types Int` - - .. field:: length -> :cover:`~lang/types Int` - - .. field:: maxSplits -> :cover:`~lang/types Int` - - .. field:: splits -> :cover:`~lang/types Int` - - .. field:: empties -> :cover:`~lang/types Bool` - -.. class:: StringTokenizerIterator - - :extends: :class:`~lang/types Iterator` - .. staticmethod:: new (st: :class:`~text/StringTokenizer StringTokenizer` ) -> :class:`~text/StringTokenizer StringTokenizerIterator` - - .. method:: init (st: :class:`~text/StringTokenizer StringTokenizer` ) - - .. method:: hasNext -> :cover:`~lang/types Bool` - - .. method:: next -> T - - .. method:: hasPrev -> :cover:`~lang/types Bool` - - .. method:: prev -> T - - .. method:: remove -> :cover:`~lang/types Bool` - - .. field:: st -> :class:`~text/StringTokenizer StringTokenizer` - - .. field:: index -> :cover:`~lang/types Int` - -.. cover:: String - - :from: ``Char*`` - .. method:: split~withString (s: :cover:`~text/StringTokenizer String` , maxSplits: :cover:`~lang/types Int` ) -> :class:`~text/StringTokenizer StringTokenizer` - - .. method:: split~withChar (c: :cover:`~lang/types Char` , maxSplits: :cover:`~lang/types Int` ) -> :class:`~text/StringTokenizer StringTokenizer` - - .. method:: split~withStringWithoutMaxSplits (s: :cover:`~text/StringTokenizer String` ) -> :class:`~text/StringTokenizer StringTokenizer` - - .. method:: split~withCharWithoutMaxSplits (c: :cover:`~lang/types Char` ) -> :class:`~text/StringTokenizer StringTokenizer` - - .. method:: split~withStringWithEmpties (s: :cover:`~text/StringTokenizer String` , empties: :cover:`~lang/types Bool` ) -> :class:`~text/StringTokenizer StringTokenizer` - - .. method:: split~withCharWithEmpties (c: :cover:`~lang/types Char` , empties: :cover:`~lang/types Bool` ) -> :class:`~text/StringTokenizer StringTokenizer` - diff --git a/source/sdk/out/text/regexp/PCRE.rst b/source/sdk/out/text/regexp/PCRE.rst deleted file mode 100644 index 6b4f544..0000000 --- a/source/sdk/out/text/regexp/PCRE.rst +++ /dev/null @@ -1,39 +0,0 @@ -text/regexp/PCRE -================ - -.. module:: text/regexp/PCRE - -.. function:: pcre_compile (:cover:`~lang/types String` , :cover:`~lang/types Int` , :cover:`~lang/types Char` **, :cover:`~lang/types Int` *, :cover:`~lang/types Pointer` ) -> :cover:`~text/regexp/PCRE Pcre` - -.. function:: pcre_exec (:cover:`~text/regexp/PCRE Pcre` , :cover:`~lang/types Pointer` , :cover:`~lang/types String` , :cover:`~lang/types Int` , :cover:`~lang/types Int` , :cover:`~lang/types Int` , :cover:`~lang/types Int` *, :cover:`~lang/types Int` ) -> :cover:`~lang/types Int` - -.. function:: pcre_free (:cover:`~lang/types Pointer` ) - -.. cover:: Pcre - - :from: ``pcre*`` -.. class:: PCRE - - :extends: :class:`~text/regexp/RegexpBackend RegexpBackend` - .. staticmethod:: new -> :class:`~text/regexp/PCRE PCRE` - - .. method:: init - - .. method:: setPattern (pattern: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) - - .. method:: getName -> :cover:`~lang/types String` - - .. method:: matches (haystack: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - .. method:: matches~withOptions (haystack: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) -> :cover:`~lang/types Bool` - - .. field:: CASELESS -> :cover:`~lang/types Int` - - .. field:: error -> :cover:`~lang/types String` - - .. field:: errorNum -> :cover:`~lang/types Int` - - .. field:: re -> :cover:`~text/regexp/PCRE Pcre` - -.. var:: PCRE_DEBUG -> :cover:`~lang/types Bool` - diff --git a/source/sdk/out/text/regexp/POSIX.rst b/source/sdk/out/text/regexp/POSIX.rst deleted file mode 100644 index 4e69c1f..0000000 --- a/source/sdk/out/text/regexp/POSIX.rst +++ /dev/null @@ -1,20 +0,0 @@ -text/regexp/POSIX -================= - -.. module:: text/regexp/POSIX - -.. class:: POSIX - - :extends: :class:`~text/regexp/RegexpBackend RegexpBackend` - .. staticmethod:: new -> :class:`~text/regexp/POSIX POSIX` - - .. method:: init - - .. method:: setPattern (pattern: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) - - .. method:: getName -> :cover:`~lang/types String` - - .. method:: matches (haystack: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - .. method:: matches~withOptions (haystack: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) -> :cover:`~lang/types Bool` - diff --git a/source/sdk/out/text/regexp/Regexp.rst b/source/sdk/out/text/regexp/Regexp.rst deleted file mode 100644 index dc5882e..0000000 --- a/source/sdk/out/text/regexp/Regexp.rst +++ /dev/null @@ -1,44 +0,0 @@ -text/regexp/Regexp -================== - -.. module:: text/regexp/Regexp - -.. class:: Regexp - - :extends: :class:`~lang/types Object` - .. staticmethod:: new -> :class:`~text/regexp/Regexp Regexp` - - .. method:: init - - .. staticmethod:: new~withType (type: :cover:`~lang/types Int` ) -> :class:`~text/regexp/Regexp Regexp` - - .. method:: init~withType (type: :cover:`~lang/types Int` ) - - .. staticmethod:: new~withPattern (pattern: :cover:`~lang/types String` ) -> :class:`~text/regexp/Regexp Regexp` - - .. method:: init~withPattern (pattern: :cover:`~lang/types String` ) - - .. staticmethod:: new~withPatternAndOptions (pattern: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) -> :class:`~text/regexp/Regexp Regexp` - - .. method:: init~withPatternAndOptions (pattern: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) - - .. method:: setup - - .. method:: setPattern~withOptions (pattern: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) - - .. method:: setPattern (pattern: :cover:`~lang/types String` ) - - .. method:: getPattern -> :cover:`~lang/types String` - - .. method:: matches (haystack: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - .. method:: matches~withOptions (haystack: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) -> :cover:`~lang/types Bool` - - .. method:: getEngine -> :cover:`~lang/types Int` - - .. method:: getEngineName -> :cover:`~lang/types String` - - .. field:: regexpBackend -> :class:`~text/regexp/RegexpBackend RegexpBackend` - - .. field:: type -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/text/regexp/RegexpBackend.rst b/source/sdk/out/text/regexp/RegexpBackend.rst deleted file mode 100644 index 897d87b..0000000 --- a/source/sdk/out/text/regexp/RegexpBackend.rst +++ /dev/null @@ -1,26 +0,0 @@ -text/regexp/RegexpBackend -========================= - -.. module:: text/regexp/RegexpBackend - -.. class:: RegexpBackend - - :extends: :class:`~lang/types Object` - .. method:: setPattern (pattern: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) - - .. method:: getPattern -> :cover:`~lang/types String` - - .. method:: getName -> :cover:`~lang/types String` - - .. method:: matches (haystack: :cover:`~lang/types String` ) -> :cover:`~lang/types Bool` - - .. method:: matches~withOptions (haystack: :cover:`~lang/types String` , options: :cover:`~lang/types Int` ) -> :cover:`~lang/types Bool` - - .. field:: PCRE -> :cover:`~lang/types Int` - - .. field:: POSIX -> :cover:`~lang/types Int` - - .. field:: DEFAULT_TYPE -> :cover:`~lang/types Int` - - .. field:: pattern -> :cover:`~lang/types String` - diff --git a/source/sdk/out/threading/Mutex.rst b/source/sdk/out/threading/Mutex.rst deleted file mode 100644 index 932dd68..0000000 --- a/source/sdk/out/threading/Mutex.rst +++ /dev/null @@ -1,37 +0,0 @@ -threading/Mutex -=============== - -.. module:: threading/Mutex - -.. class:: Mutex - - :extends: :class:`~lang/types Object` - .. staticmethod:: new (recursive: :cover:`~lang/types Bool` ) -> :class:`~threading/Mutex Mutex` - - Create a new mutex object. - - :recursive: if true this mutex will allow for recursive locking in the same thread - - - .. staticmethod:: new~fast -> :class:`~threading/Mutex Mutex` - - Create a new mutex object. Non-recursive, fast. - - - .. method:: acquire - - Acquire a lock on the mutex and blocking until it becomes available. - - - .. method:: tryAcquire -> :cover:`~lang/types Bool` - - Try to acquire a lock on the mutex, but does not block if unavailable. - - :return: true if mutex successfully locked, false if not available - - - .. method:: release - - Release the lock on the mutex so other threads can acquire it. - - diff --git a/source/sdk/out/threading/Runnable.rst b/source/sdk/out/threading/Runnable.rst deleted file mode 100644 index 1e234f5..0000000 --- a/source/sdk/out/threading/Runnable.rst +++ /dev/null @@ -1,10 +0,0 @@ -threading/Runnable -================== - -.. module:: threading/Runnable - -.. class:: Runnable - - :extends: :class:`~lang/types Object` - .. method:: run - diff --git a/source/sdk/out/threading/Thread.rst b/source/sdk/out/threading/Thread.rst deleted file mode 100644 index 762f85d..0000000 --- a/source/sdk/out/threading/Thread.rst +++ /dev/null @@ -1,16 +0,0 @@ -threading/Thread -================ - -.. module:: threading/Thread - -.. class:: Thread - - :extends: :class:`~lang/types Object` - .. staticmethod:: new~fromRunnable (runnable: :class:`~threading/Runnable Runnable` ) -> :class:`~threading/Thread Thread` - - .. method:: start -> :cover:`~lang/types Int` - - .. method:: wait -> :cover:`~lang/types Int` - - .. field:: runnable -> :class:`~threading/Runnable Runnable` - diff --git a/source/sdk/out/threading/native/MutexUnix.rst b/source/sdk/out/threading/native/MutexUnix.rst deleted file mode 100644 index a668695..0000000 --- a/source/sdk/out/threading/native/MutexUnix.rst +++ /dev/null @@ -1,50 +0,0 @@ -threading/native/MutexUnix -========================== - -.. module:: threading/native/MutexUnix - -.. function:: pthread_mutexattr_init (...) -> :cover:`~lang/types Int` - -.. function:: pthread_mutexattr_destroy (...) -> :cover:`~lang/types Int` - -.. function:: pthread_mutexattr_settype (...) -> :cover:`~lang/types Int` - -.. function:: pthread_mutex_init (...) -> :cover:`~lang/types Int` - -.. function:: pthread_mutex_destroy (...) -> :cover:`~lang/types Int` - -.. function:: pthread_mutex_lock (...) -> :cover:`~lang/types Int` - -.. function:: pthread_mutex_trylock (...) -> :cover:`~lang/types Int` - -.. function:: pthread_mutex_unlock (...) -> :cover:`~lang/types Int` - -.. cover:: PThreadMutexAttr - - :from: ``pthread_mutexattr_t`` - PThread Mutex Attribute cover - -.. cover:: PThreadMutex - - :from: ``pthread_mutex_t`` - PThread Mutex cover - -.. class:: MutexUnix - - :extends: :class:`~threading/Mutex Mutex` - .. staticmethod:: new (recursive: :cover:`~lang/types Bool` ) -> :class:`~threading/native/MutexUnix MutexUnix` - - .. method:: init (recursive: :cover:`~lang/types Bool` ) - - .. method:: acquire - - .. method:: tryAcquire -> :cover:`~lang/types Bool` - - .. method:: release - - .. field:: mutex -> :cover:`~threading/native/MutexUnix PThreadMutex` - -.. var:: PTHREAD_MUTEX_RECURSIVE -> :cover:`~lang/types Int` - -.. var:: PTHREAD_MUTEX_NORMAL -> :cover:`~lang/types Int` - diff --git a/source/sdk/out/threading/native/MutexWin32.rst b/source/sdk/out/threading/native/MutexWin32.rst deleted file mode 100644 index eaca0aa..0000000 --- a/source/sdk/out/threading/native/MutexWin32.rst +++ /dev/null @@ -1,5 +0,0 @@ -threading/native/MutexWin32 -=========================== - -.. module:: threading/native/MutexWin32 - diff --git a/source/sdk/out/threading/native/ThreadUnix.rst b/source/sdk/out/threading/native/ThreadUnix.rst deleted file mode 100644 index ba2a70e..0000000 --- a/source/sdk/out/threading/native/ThreadUnix.rst +++ /dev/null @@ -1,25 +0,0 @@ -threading/native/ThreadUnix -=========================== - -.. module:: threading/native/ThreadUnix - -.. function:: pthread_create (...) -> :cover:`~lang/types Int` - -.. function:: pthread_join (...) -> :cover:`~lang/types Int` - -.. cover:: PThread - - :from: ``pthread_t`` -.. class:: ThreadUnix - - :extends: :class:`~threading/Thread Thread` - .. staticmethod:: new~unix (runnable: :class:`~threading/Runnable Runnable` ) -> :class:`~threading/native/ThreadUnix ThreadUnix` - - .. method:: init~unix (runnable: :class:`~threading/Runnable Runnable` ) - - .. method:: start -> :cover:`~lang/types Int` - - .. method:: wait -> :cover:`~lang/types Int` - - .. field:: pthread -> :cover:`~threading/native/ThreadUnix PThread` - diff --git a/source/sdk/out/threading/native/ThreadWin32.rst b/source/sdk/out/threading/native/ThreadWin32.rst deleted file mode 100644 index a398139..0000000 --- a/source/sdk/out/threading/native/ThreadWin32.rst +++ /dev/null @@ -1,33 +0,0 @@ -threading/native/ThreadWin32 -============================ - -.. module:: threading/native/ThreadWin32 - -.. function:: CreateThread (...) -> :cover:`~threading/native/ThreadWin32 Handle` - -.. function:: WaitForSingleObject (...) -> :cover:`~lang/types Long` - -.. cover:: Handle - - :from: ``HANDLE`` -.. class:: ThreadWin32 - - :extends: :class:`~threading/Thread Thread` - .. staticmethod:: new~win (runnable: :class:`~threading/Runnable Runnable` ) -> :class:`~threading/native/ThreadWin32 ThreadWin32` - - .. method:: init~win (runnable: :class:`~threading/Runnable Runnable` ) - - .. method:: start -> :cover:`~lang/types Int` - - .. method:: wait -> :cover:`~lang/types Int` - - .. field:: handle -> :cover:`~threading/native/ThreadWin32 Handle` - - .. field:: threadID -> :cover:`~lang/types Long` - -.. var:: INVALID_HANDLE_VALUE -> :cover:`~threading/native/ThreadWin32 Handle` - -.. var:: WAIT_OBJECT_0 -> :cover:`~lang/types Long` - -.. var:: INFINITE -> :cover:`~lang/types Long` -