2024-11-02 15:11:00 +00:00
|
|
|
vim: tabstop=2 shiftwidth=2 expandtab
|
|
|
|
|
|
|
|
|
|
*** PACKAGES ******************************************************************
|
|
|
|
|
|
|
|
|
|
## std.lang #####
|
|
|
|
|
This package contains all of the "built-in" classes, such as String,
|
|
|
|
|
Package, etc.
|
|
|
|
|
|
|
|
|
|
This package is always included by default for all Ivy source files, so
|
|
|
|
|
there is no need to include a `use std.lang` statement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## std.io #####
|
|
|
|
|
This package includes classes for performing IO operations, including
|
|
|
|
|
reading/writing to the terminals, files, etc.
|
|
|
|
|
|
|
|
|
|
This package also includes the cin, cout, and cerr objects that point
|
|
|
|
|
to standard in, standard out, and standard error respectively.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*** CLASSES *******************************************************************
|
|
|
|
|
|
|
|
|
|
//// std.lang ////
|
|
|
|
|
|
|
|
|
|
## Object #####
|
|
|
|
|
-is:
|
|
|
|
|
-implements:
|
|
|
|
|
-respondsTo:
|
|
|
|
|
-doesNotUnderstand(selector:args:)
|
|
|
|
|
-sendMsg(selector:args:)
|
|
|
|
|
-toString
|
|
|
|
|
|
|
|
|
|
## Int #####
|
|
|
|
|
+parse:
|
|
|
|
|
-to:
|
|
|
|
|
-to:step:
|
|
|
|
|
-to:step:do:
|
|
|
|
|
|
|
|
|
|
## Enum #####
|
|
|
|
|
**
|
|
|
|
|
|
|
|
|
|
## String #####
|
|
|
|
|
-size
|
|
|
|
|
-uppercase
|
|
|
|
|
-lowercase
|
|
|
|
|
-append:
|
|
|
|
|
-prepend:
|
|
|
|
|
-at:insert:
|
|
|
|
|
-contains:
|
|
|
|
|
-iterator
|
|
|
|
|
|
|
|
|
|
## Bool #####
|
|
|
|
|
-if:
|
|
|
|
|
-if:else:
|
|
|
|
|
|
|
|
|
|
## Package #####
|
2024-11-05 13:22:40 +00:00
|
|
|
-size
|
2024-11-02 15:11:00 +00:00
|
|
|
-exists:
|
2024-11-05 13:22:40 +00:00
|
|
|
-put:at:
|
|
|
|
|
-get:
|
2024-11-02 15:11:00 +00:00
|
|
|
-map:
|
|
|
|
|
-select:
|
|
|
|
|
-select:collect:
|
|
|
|
|
-iterator
|
|
|
|
|
|
|
|
|
|
## Iterator #####
|
|
|
|
|
-value
|
|
|
|
|
-moveNext
|
|
|
|
|
-select:
|
|
|
|
|
-select:collect:
|
|
|
|
|
-iterator
|
|
|
|
|
|
|
|
|
|
## Lambda #####
|
|
|
|
|
-argCount
|
|
|
|
|
-call
|
|
|
|
|
-call:
|
|
|
|
|
-call(_:_:)
|
|
|
|
|
-call(_:_:_:)
|
|
|
|
|
-call(_:_:_:_:)
|
|
|
|
|
-call(args:)
|
|
|
|
|
-on:do:
|
|
|
|
|
-if:
|
|
|
|
|
-unless:
|
|
|
|
|
|
|
|
|
|
## Selector #####
|
|
|
|
|
+parse:
|
|
|
|
|
|
|
|
|
|
## Error #####
|
|
|
|
|
-msg
|
|
|
|
|
-data
|
|
|
|
|
-withMsg:andData:
|