Skip to content

Labeled calls and injection diagrams ​

Labeled calls and injection

Start with how the application begins, then follow data between its folders. Open an operation to see its decisions, calls, failures and cleanup. Its explanation supplies the exact contract and linked dependencies.

This view includes 5 application source files. Package and interface boundaries show checked contracts; their runtime implementations are not expanded. The views describe the checked program, not desired requirements or a recorded execution.

Where execution begins ​

Providers ​

Console is provided by SystemConsole. The same instance is shared. Logger is provided by ConsoleLogger. The same instance is shared.

Startup ​

It sets greeter to a Greeter with x 4 using injected Logger for logger. It passes "AugScript" to greeter.greet, using injected Console. It sets count to 7. It sets count to increment with value from count. source

It prints count. source

Data flow ​

100%
Mermaid source
flowchart TD
    n0["greeter"]
    n1["logger"]
    n2["Startup"]
    n3["math"]
    n0 -->|"Logger.log(message)"| n1
    n2 -->|"Greeter(x) / Greeter.greet(name) → Greeter"| n0
    n2 -->|"increment(value) → int"| n3

Package boundaries ​

console package calls
100%
Mermaid source
flowchart LR
    n0["August libraries"]
    n1["console"]
    n1 -->|"Console.write(value)"| n0

Follow the data ​

Each row opens the complete operations and call sites behind one pair of logical units. A grouped arrow records calls between those units; connected arrows need not belong to the same execution path.

FromToOperationsRead
consoleAugust libraries1Inputs, results and call sites
greeterlogger1Inputs, results and call sites
Startupgreeter2Inputs, results and call sites
Startupmath1Inputs, results and call sites

Data crossing these boundaries (5 contracts) ​

console → August libraries ​

1 operation, 1 site

Console.write · interface dispatch

Inputs: value: string. Result: void.

Caller or entryEvidence
ConsoleLogger.logCall site · Caller explanation

greeter → logger ​

1 operation, 1 site

Logger.log · interface dispatch

Inputs: message: string. Result: void.

Caller or entryEvidence
Greeter.greetCall site · Caller explanation

Startup → greeter ​

2 operations, 2 sites

Greeter

Inputs: x: int. Result: Greeter.

Caller or entryEvidence
StartupCall site · Caller explanation

Greeter.greet

Inputs: name: string. Result: void.

Caller or entryEvidence
StartupCall site · Caller explanation

Startup → math ​

1 operation, 1 site

increment

Inputs: value: int. Result: int.

Caller or entryEvidence
StartupCall site · Caller explanation

Open a module ​

ModuleRead
console.augFlow and sequences · Explanation
greeter.augFlow and sequences · Explanation
logger.augFlow and sequences · Explanation
main.augFlow and sequences · Explanation
math.augFlow and sequences · Explanation

These are static call boundaries, not a request trace. Interface implementations and foreign internals stop at their checked contracts. Dotted arrows defer a callback or browser action. Imports alone do not imply a call.

Last updated:

The world runs on language