-
Notifications
You must be signed in to change notification settings - Fork 0
Dependency Structure
Benedict Albrecht edited this page May 20, 2026
·
4 revisions
Crodox uses a scoping and dependency system to control how variables are resolved across objects and files.
| Scope | Description |
|---|---|
:hook |
Connects to any variable of the same type and text within the project, loading all files that can include these references |
:global |
Visible for the entire file, therefore also visible for any referencing file |
:up |
Visible for all siblings and their (including the object's) downstream elements, as well as their upper element. If this is a file, it is visible for file references |
:siblings |
Visible for all siblings' elements — no downstream |
:following |
Visible for all younger siblings and downstream, also own downstream (hierarchical: new overwrites old in hierarchical order) |
:down |
Visible for all downstream elements (hierarchical: new overwrites old in hierarchical order) |
| Syntax | Behavior |
|---|---|
title:any |
Overwrites variable and establishes a dependency to a matching object if the type is the same |
TITLE:any |
Overwrites variable but does not establish a dependency to any object |
'title' |
Establishes a dependency to a matching object, but the variable does not get overwritten — following references will refer to the original object, not to this one |
![x|y]title! |
Establishes a dependency to a sub-body object found in the object's dependency selection (no children structure dependencies). x and y refer to limiting object types |
"title" |
File path reference — must be a string and must match file path bridge definitions. String symbols [", ', `] do not need to be referred in the Crodox definition. String objects get combined to §§§ element within the input parser |
<-A,B-> |
Special child dependency for object types A and B. These objects depend on their parent, but the parent does not depend on them. Other objects are treated normally with both-sided dependency |
By default, both child and parent depend on each other. The exception is for file objects, where only the objects depend on the file, but the file does not depend on the objects.
- Getting Started
- Sign-Up
- Home Screen
- Creating Your First Template
- Template Editor
- Application Navigation
- Syntax Overview
- Workflow: End-to-End
- Workflow: Test with simpleDemo
- Workflow: Build Template from angularTemp
- Demo Repositories
- Template
- Workbench
- GitHub Integration
- GitHub App Installation
- GitHub Repository Setup
- GitHub Re-linking
- Settings
- Overview
- Declarations
- Types
- Scoping