This commit is contained in:
Daniella / Tove 2022-05-26 19:28:57 +02:00
parent 0a3c1bd60f
commit 8af222b52a
2 changed files with 838 additions and 0 deletions

817
docs/base/std.md Normal file
View file

@ -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

View file

@ -702,8 +702,29 @@ over type definitions, to string processing.
Iterates through this array and calls the callable with the object (NOT the index). 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` #### `construct ::: length -> array`
Constructs an array with a length 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