-
Notifications
You must be signed in to change notification settings - Fork 0
API Script Reference
Liu.Yandong.Hanks edited this page Aug 21, 2026
·
4 revisions
Applies to AuroraScript.JIT 4.0.0.
API Reference · Language Guide
Every entry below links to a dedicated page for a single object rather than to a section of a summary article. Each page documents the object's constructor, static members, and instance members with parameters, return values, boundary behavior, and a minimal AuroraScript example.
- Core Values and Objects
- Typed Arrays
- Collections, Text, and Paths
- Serialization and Typed Documents
- Runtime and Utilities
| Object | Purpose |
|---|---|
| Object | Object creation, comparison, and copying. |
| Array | Growable general-purpose array. |
| String | Text conversion and processing. |
| Number | Numeric conversion, constants, and parsing. |
| Boolean | Boolean conversion and constants. |
| Date | Date and time value. |
| Error | Script error value. |
Typed arrays are fixed-length, packed arrays whose element type is chosen at construction. They trade the flexibility of Array for compact storage and predictable numeric behavior.
Signed integer elements:
| Object | Element type |
|---|---|
| Int8Array | Signed 8-bit integer. |
| Int16Array | Signed 16-bit integer. |
| Int32Array | Signed 32-bit integer. |
| Int64Array | Signed 64-bit integer. |
Unsigned integer elements:
| Object | Element type |
|---|---|
| UInt8Array | Unsigned 8-bit integer. |
| UInt16Array | Unsigned 16-bit integer. |
| UInt32Array | Unsigned 32-bit integer. |
| UInt64Array | Unsigned 64-bit integer. |
Other element types:
| Object | Element type |
|---|---|
| Float64Array | Double-precision floating-point number. |
| BooleanArray | Boolean. |
| Object | Purpose |
|---|---|
| HashMap | Key-value collection. |
| StringBuffer | Incremental string construction. |
| Regex | Regular-expression value. |
| Path | Protocol-aware path value. |
| Object | Purpose |
|---|---|
| JSON | JSON parsing and serialization. |
| TDoc | Typed document reading and writing; see the TDoc format for the text syntax. |
| Object | Purpose |
|---|---|
| Math | Mathematical constants and functions. |
| console | Output and named timing. |
| Proxy | Dynamic object-access interception. |
| HotPatch | Runtime module updates. |
| global | Global execution object for the current ScriptDomain. |
| $state and $args | Compiler-provided context values rather than constructors. |
- Type names, member names, and code identifiers are written exactly as the runtime exposes them, so examples can be copied without edits.
- AuroraScript is not an ECMAScript implementation: only the members documented here are guaranteed to exist, regardless of what a JavaScript engine would provide.
- Hosts can add or restrict globals; see Host Integration for how the global object is populated.
AuroraScript.JIT 4.0.0 · Documentation Home · Repository · MIT License