-
Notifications
You must be signed in to change notification settings - Fork 0
Sub bodies
Benedict Albrecht edited this page May 20, 2026
·
4 revisions
A sub-body defines where child objects can appear within an object definition. Child objects are listed in a tree-like structure.
The <---> syntax defines a sub-body that accepts any child object.
<*{}*> { <---> } <*>
<:class:> class <<name>> () { <---> } <:>
A sub-body can contain objects which are listed as child nodes in a tree-like structure.
Object types can be listed within sub-bodies to control the dependency structure.
<*{}*> { <---> } <*>
<:class:> class <<name>> () { <-function-> } <:>
<:function:> function <<name>> () { <---> } <:>
- Default: A parent node has a dependency on its child nodes (both-sided).
-
Typed sub-body: If the object type is specified in the sub-body (e.g.,
<-function->), only the child node depends on the parent — not the other way around.
This allows you to define structures where certain children are loosely coupled to their parent, such as functions within a class.
- 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