-
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 resolves variables and dependencies using a scoping system that controls visibility between objects.
| Scope | Visibility |
|---|---|
:following |
Forward siblings + own downstream (default) |
:down |
All downstream elements |
:siblings |
All siblings' elements (no downstream) |
:up |
Siblings + downstream + parent. If parent is file → file references |
:global |
Entire file + all referencing files |
:hook |
Any matching variable in the project (cross-file) |
| Syntax | Creates Dependency | Overwrites Variable | Notes |
|---|---|---|---|
title:any |
✅ | ✅ | Standard behavior |
TITLE:any |
❌ | ✅ | Uppercase — no dependency |
'title' |
✅ | ❌ | Reference — no overwrite |
"title" |
File path | — | Must match file path bridge definitions |
![x|y]title! |
✅ (sub-body) | — | Limits to object types x, y
|
<-A,B-> |
One-sided | — | Child → parent only for types A, B |
| Relationship | Default | Typed <-A->
|
File Objects |
|---|---|---|---|
| Parent → Child | ✅ | ❌ | ❌ |
| Child → Parent | ✅ | ✅ | ✅ |
See also: Variables — Types and scoping · Grammar Structure — File composition
- 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