From 8af222b52ab649370eed38c85f40def109248e7d Mon Sep 17 00:00:00 2001 From: TudbuT Date: Thu, 26 May 2022 19:28:57 +0200 Subject: [PATCH] docs --- docs/base/std.md | 817 +++++++++++++++++++++++++++++++++++++++++++++++ docs/std.md | 21 ++ 2 files changed, 838 insertions(+) create mode 100644 docs/base/std.md diff --git a/docs/base/std.md b/docs/base/std.md new file mode 100644 index 0000000..aedac9b --- /dev/null +++ b/docs/base/std.md @@ -0,0 +1,817 @@ +# Documentation: std.isbpl + + + +## >Functions + +### `ftos ::: -> ` + + - + + +### `strsplit ::: -> ` + + - + + +### `dec ::: -> ` + + - + + +### `gettype ::: -> ` + + - + + +### `isfloat ::: -> ` + + - + + +### `strconcat ::: -> ` + + - + + +### `strjoin ::: -> ` + + - + + +### `fcall ::: -> ` + + - + + +### `islong ::: -> ` + + - + + +### `asub ::: -> ` + + - + + +### `putchar ::: -> ` + + - + + +### `typeid ::: -> ` + + - + + +### `_int ::: -> ` + + - + + +### `! ::: -> ` + + - + + +### `# ::: -> ` + + - + + +### `aput ::: -> ` + + - + + +### `% ::: -> ` + + - + + +### `isstring ::: -> ` + + - + + +### `( ::: -> ` + + - + + +### `) ::: -> ` + + - + + +### `* ::: -> ` + + - + + +### `subprocess ::: -> ` + + - + + +### `+ ::: -> ` + + - + + +### `- ::: -> ` + + - + + +### `ischar ::: -> ` + + - + + +### `/ ::: -> ` + + - + + +### `exit ::: -> ` + + - + + +### `defmethod ::: -> ` + + - + + +### `_long ::: -> ` + + - + + +### `alen ::: -> ` + + - + + +### `** ::: -> ` + + - + + +### `astartswith ::: -> ` + + - + + +### `pop ::: -> ` + + - + + +### `isarray ::: -> ` + + - + + +### `dtos ::: -> ` + + - + + +### `[ ::: -> ` + + - + + +### `_char ::: -> ` + + - + + +### `] ::: -> ` + + - + + +### `^ ::: -> ` + + - + + +### `ltos ::: -> ` + + - + + +### `getfile ::: -> ` + + - + + +### `deffunc ::: -> ` + + - + + +### `++ ::: -> ` + + - + + +### `include ::: -> ` + + - + + +### `getos ::: -> ` + + - + + +### `astartswith_old ::: -> ` + + - + + +### `call ::: -> ` + + - + + +### `puts ::: -> ` + + - + + +### `throw ::: -> ` + + - + + +### `_string ::: -> ` + + - + + +### `aget ::: -> ` + + - + + +### `isint ::: -> ` + + - + + +### `char ::: -> ` + + - + + +### `typename ::: -> ` + + - + + +### `itos ::: -> ` + + - + + +### `areverse ::: -> ` + + - + + +### `callmethod ::: -> ` + + - + + +### `lt ::: -> ` + + - + + +### `main ::: -> ` + + - + + +### `aadd ::: -> ` + + - + + +### `_byte ::: -> ` + + - + + +### `reference ::: -> ` + + - + + +### `neg ::: -> ` + + - + + +### `_double ::: -> ` + + - + + +### `acontains ::: -> ` + + - + + +### `isbyte ::: -> ` + + - + + +### `-- ::: -> ` + + - + + +### `swap ::: -> ` + + - + + +### `anewput ::: -> ` + + - + + +### `eq ::: -> ` + + - + + +### `_float ::: -> ` + + - + + +### `anew ::: -> ` + + - + + +### `deffield ::: -> ` + + - + + +### `extends ::: -> ` + + - + + +### `null ::: -> ` + + - + + +### `struppercase ::: -> ` + + - + + +### `strsub ::: -> ` + + - + + +### `stod ::: -> ` + + - + + +### `mktype ::: -> ` + + - + + +### `settype ::: -> ` + + - + + +### `isdouble ::: -> ` + + - + + +### `mkinstance ::: -> ` + + - + + +### `stol ::: -> ` + + - + + +### `delete ::: -> ` + + - + + +### `stoi ::: -> ` + + - + + +### `stof ::: -> ` + + - + + +### `not ::: -> ` + + - + + +### `reload ::: -> ` + + - + + +### `acopy ::: -> ` + + - + + +### `_layer_call ::: -> ` + + - + + +### `and ::: -> ` + + - + + +### `_last_word ::: -> ` + + - + + +### `strlowercase ::: -> ` + + - + + +### `inc ::: -> ` + + - + + +### `or ::: -> ` + + - + + +### `gt ::: -> ` + + - + + +### `_array ::: -> ` + + - + + +### `defsuper ::: -> ` + + - + + +### `strcontains ::: -> ` + + - + + +### `dup ::: -> ` + + - + + +## >Variables + +### TYPE_JIO + + - + + +### String + + - + + +### TYPE_SHADOW + + - + + +### TYPE_INT + + - + + +### TYPE_BYTE + + - + + +### TYPE_FUNCTION + + - + + +### TYPE_FLOAT + + - + + +### TYPE_NULL + + - + + +### TYPE_LONG + + - + + +### TYPE_STRING + + - + + +### TYPE_REFERENCE + + - + + +### Function + + - + + +### TYPE_ARRAY + + - + + +### TYPE_DOUBLE + + - + + +### Error + + - + + +### Array + + - + + +### JIO + + - + + +### TYPE_CHAR + + - + + +--- + +# Types + +## >TYPE_JIO + + - + +### Methods + +#### `stack ::: -> ` + + - + + +#### `getclass ::: -> ` + + - + + +#### `context ::: -> ` + + - + + +#### `class ::: -> ` + + - + + +## >String + + - + +### Methods + +#### `_array ::: -> ` + + - + + +## >TYPE_SHADOW + + - + +### Methods + +## >TYPE_INT + + - + +### Methods + +#### `new ::: -> ` + + - + + +#### `construct ::: -> ` + + - + + +## >TYPE_BYTE + + - + +### Methods + +## >TYPE_FUNCTION + + - + +### Methods + +## >TYPE_FLOAT + + - + +### Methods + +## >TYPE_NULL + + - + +### Methods + +## >TYPE_LONG + + - + +### Methods + +## >TYPE_STRING + + - + +### Methods + +#### `_array ::: -> ` + + - + + +## >TYPE_REFERENCE + + - + +### Methods + +### Variables + +#### ? + + - + + +## >Function + + - + +### Methods + +## >TYPE_ARRAY + + - + +### Methods + +#### `foreach ::: -> ` + + - + + +#### `stackTraceToString ::: -> ` + + - + + +#### `construct ::: -> ` + + - + + +## >TYPE_DOUBLE + + - + +### Methods + +## >Error + + - + +### Methods + +#### `stacktrace ::: -> ` + + - + + +#### `construct ::: -> ` + + - + + +## >Array + + - + +### Methods + +#### `foreach ::: -> ` + + - + + +#### `stackTraceToString ::: -> ` + + - + + +#### `construct ::: -> ` + + - + + +## >JIO + + - + +### Methods + +#### `stack ::: -> ` + + - + + +#### `getclass ::: -> ` + + - + + +#### `context ::: -> ` + + - + + +#### `class ::: -> ` + + - + + +## >TYPE_CHAR + + - + +### Methods + diff --git a/docs/std.md b/docs/std.md index ac53e89..f1df13b 100644 --- a/docs/std.md +++ b/docs/std.md @@ -702,8 +702,29 @@ over type definitions, to string processing. Iterates through this array and calls the callable with the object (NOT the index). +#### `stackTraceToString ::: -> string` + + Converts this array to a stack trace string. Only use on compatible arrays! + + #### `construct ::: length -> array` Constructs an array with a length +## >Error + + An error in ISBPL + +### Methods + +#### `stacktrace ::: -> array` + + Returns the stack trace of this error + + +#### `construct ::: id msg -> error` + + Returns a new error with the id and msg + +