abla/compiler/bridge
Generated from source.
Import with import "abla/compiler/bridge".
Source: abla/compiler/bridge/entry.ab
abla_ct_bridge_arg_integer (extern)
trusted noescape extern:"c" fun abla_ct_bridge_arg_integer(value: int): int
Stages a signed integer argument and returns the staging status.
abla_ct_bridge_arg_boolean (extern)
trusted noescape extern:"c" fun abla_ct_bridge_arg_boolean(value: int): int
Stages a boolean argument from zero or nonzero and returns the staging status.
abla_ct_bridge_arg_handle (extern)
trusted noescape extern:"c" fun abla_ct_bridge_arg_handle(handle: int): int
Stages the compiler object identified by the handle and returns the staging status.
abla_ct_bridge_arg_array_begin (extern)
trusted noescape extern:"c" fun abla_ct_bridge_arg_array_begin(): int
Starts staging an array argument and returns the staging status.
abla_ct_bridge_arg_array_end (extern)
trusted noescape extern:"c" fun abla_ct_bridge_arg_array_end(): int
Finishes the staged array argument and returns the staging status.
abla_ct_bridge_result_scalar (extern)
trusted noescape extern:"c" fun abla_ct_bridge_result_scalar(): int
Returns the compiler result's integer, boolean encoding or object handle.
abla_ct_bridge_result_size (extern)
trusted noescape extern:"c" fun abla_ct_bridge_result_size(): int
Returns the byte length of a string result or the number of result elements.
abla_ct_bridge_result_address (extern)
trusted noescape extern:"c" fun abla_ct_bridge_result_address(): int
Returns the borrowed byte address of the string result.
abla_ct_bridge_result_element_scalar (extern)
trusted noescape extern:"c" fun abla_ct_bridge_result_element_scalar(
index: int
): int
Returns the scalar encoding of the result element at the given index.
abla_ct_bridge_result_element_size (extern)
trusted noescape extern:"c" fun abla_ct_bridge_result_element_size(
index: int
): int
Returns the byte size of the indexed string result element.
abla_ct_bridge_result_element_address (extern)
trusted noescape extern:"c" fun abla_ct_bridge_result_element_address(
index: int
): int
Returns the borrowed byte address of the indexed string result element.
abla_ct_bridge_entry_scalar (extern)
trusted noescape extern:"c" fun abla_ct_bridge_entry_scalar(index: int): int
Returns the scalar encoding of a native entry's indexed argument.
abla_ct_bridge_entry_size (extern)
trusted noescape extern:"c" fun abla_ct_bridge_entry_size(index: int): int
Returns the byte length of a native entry's indexed string argument.
abla_ct_bridge_entry_address (extern)
trusted noescape extern:"c" fun abla_ct_bridge_entry_address(index: int): int
Returns the borrowed byte address of a native entry's indexed string argument.
abla_ct_bridge_return_void (extern)
trusted noescape extern:"c" fun abla_ct_bridge_return_void(): int
Publishes a void result for the native entry and returns the bridge status.
abla_ct_bridge_return_integer (extern)
trusted noescape extern:"c" fun abla_ct_bridge_return_integer(value: int): int
Publishes an integer as the native entry's result and returns the bridge status.
abla_ct_bridge_return_boolean (extern)
trusted noescape extern:"c" fun abla_ct_bridge_return_boolean(value: int): int
Publishes zero or nonzero as a boolean result and returns the bridge status.
abla_ct_bridge_return_handle (extern)
trusted noescape extern:"c" fun abla_ct_bridge_return_handle(handle: int): int
Publishes the object identified by the handle and returns the bridge status.
ablaCtBridgeArgInteger (fun)
trusted fun ablaCtBridgeArgInteger(value: int): void
Stages a signed integer argument.
ablaCtBridgeArgBoolean (fun)
trusted fun ablaCtBridgeArgBoolean(value: bool): void
Stages a boolean argument.
ablaCtBridgeArgString (fun)
trusted fun ablaCtBridgeArgString(value: string): void
Copies the string bytes into a staged argument.
ablaCtBridgeArgPath (fun)
trusted fun ablaCtBridgeArgPath(text: string): void
A Path argument (abla/fs), by its text: the compiler stages the Path.
ablaCtBridgeArgHandle (fun)
trusted fun ablaCtBridgeArgHandle(handle: int): void
Stages the compiler object identified by the given handle.
ablaCtBridgeArgFunctionName (fun)
trusted fun ablaCtBridgeArgFunctionName(name: string): void
Stages the named compiler function as an argument.
ablaCtBridgeArgFunction (fun)
trusted fun ablaCtBridgeArgFunction(value: any): void
A function value: the compiler maps its id back to the compile-time declaration it was materialized from.
ablaCtBridgeArgArrayBegin (fun)
trusted fun ablaCtBridgeArgArrayBegin(): void
Starts staging an array argument.
ablaCtBridgeArgArrayEnd (fun)
trusted fun ablaCtBridgeArgArrayEnd(): void
Finishes staging the current array argument.
ablaCtBridgeArgIntegers (fun)
trusted fun ablaCtBridgeArgIntegers(values: array<int>): void
Stages the integers in order as one array argument.
ablaCtBridgeArgBooleans (fun)
trusted fun ablaCtBridgeArgBooleans(values: array<bool>): void
Stages the boolean values in order as one array argument.
ablaCtBridgeArgStrings (fun)
trusted fun ablaCtBridgeArgStrings(values: array<string>): void
Stages the strings in order as one array argument.
ablaCtBridgeInvoke (fun)
trusted fun ablaCtBridgeInvoke(name: string): int
Performs the extern named name. 0: done. Otherwise the compiler recorded the failure on the evaluation, which then fails as it would under the interpreter.
ablaCtBridgeResultInteger (fun)
trusted fun ablaCtBridgeResultInteger(): int
Returns the signed integer result of the compiler call.
ablaCtBridgeResultBoolean (fun)
trusted fun ablaCtBridgeResultBoolean(): bool
Returns the compiler call's scalar result interpreted as a boolean.
ablaCtBridgeResultHandle (fun)
trusted fun ablaCtBridgeResultHandle(): int
Returns the compiler object handle from the scalar call result.
ablaCtBridgeResultString (fun)
trusted fun ablaCtBridgeResultString(): string
Returns an owned copy of the compiler call's string result.
ablaCtBridgeResultCount (fun)
trusted fun ablaCtBridgeResultCount(): int
Returns the number of result elements.
ablaCtBridgeResultIntegers (fun)
trusted fun ablaCtBridgeResultIntegers(): array<int>
Copies integer result elements into an owned array.
ablaCtBridgeResultBooleans (fun)
trusted fun ablaCtBridgeResultBooleans(): array<bool>
Copies the boolean elements of the compiler call's result into an array.
ablaCtBridgeResultStrings (fun)
trusted fun ablaCtBridgeResultStrings(): array<string>
Returns owned copies of the compiler call's string result elements.
ablaCtBridgeResultElementScalar (fun)
trusted fun ablaCtBridgeResultElementScalar(index: int): int
One element of the result (an object's field, by declaration order).
ablaCtBridgeResultElementString (fun)
trusted fun ablaCtBridgeResultElementString(index: int): string
Returns an owned copy of an indexed string field or element of the result.
ablaCtBridgeResultElementHandle (fun)
trusted fun ablaCtBridgeResultElementHandle(index: int): int
Returns the compiler handle for an indexed field or element of the result.
ablaCtBridgeEntryInteger (fun)
trusted fun ablaCtBridgeEntryInteger(index: int): int
Returns the indexed integer argument of the native entry.
ablaCtBridgeEntryBoolean (fun)
trusted fun ablaCtBridgeEntryBoolean(index: int): bool
Returns the indexed boolean argument of the native entry.
ablaCtBridgeEntryHandle (fun)
trusted fun ablaCtBridgeEntryHandle(index: int): int
Returns the compiler object handle for the indexed native entry argument.
ablaCtBridgeEntryString (fun)
trusted fun ablaCtBridgeEntryString(index: int): string
Returns an owned copy of the indexed string argument of the native entry.
ablaCtBridgeReturnVoid (fun)
trusted fun ablaCtBridgeReturnVoid(): void
Publishes a void result for the native entry.
ablaCtBridgeReturnInteger (fun)
trusted fun ablaCtBridgeReturnInteger(value: int): void
Publishes the integer result of a native entry.
ablaCtBridgeReturnBoolean (fun)
trusted fun ablaCtBridgeReturnBoolean(value: bool): void
Publishes the boolean result of a native entry.
ablaCtBridgeReturnString (fun)
trusted fun ablaCtBridgeReturnString(value: string): void
Copies the string into the native entry's result.
ablaCtBridgeDeclarationBlock (fun)
trusted fun ablaCtBridgeDeclarationBlock(
text: string,
sourceIdentity: string
): int
A declare { ... } quote: its box handle (see ctBridgeDeclarationBlock).
Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.