-
Notifications
You must be signed in to change notification settings - Fork 0
Variables Uppercase
Benedict Albrecht edited this page Jun 2, 2026
·
3 revisions
Uppercase variables overwrite the variable but do not establish a dependency to any object.
<< NAME >>
class C1 ( ) {
let hhh ;
let aaa;
let aaa = hhh;
let aaa;
}<:let:> let <<NAME>> <| = <<'name'>> <||> |> ; <:>
Each let declaration overwrites the NAME variable, but no dependency is created between the objects. The variables are treated as independent declarations.
<:let:> let <<name>> <| = <<'name'>> <||> |> ; <:>
With a standard <<name>>, each declaration both overwrites the variable and establishes a dependency to the matching object.
The Basics grammar uses <<NAME>> for class names, function names, and variable declarations:
| Object | Declaration | Why uppercase? |
|---|---|---|
class |
class <<NAME:up>> |
The class name should be visible (:up) but declaring a class should not create a dependency to another object |
function |
function <<NAME:up>> |
Same - the name is declared, not referencing something |
variable |
let <<NAME>> |
Declaring a variable just stores the name. The dependency comes from the optional = <<'name'>> part |
In testFile.txt, let aaa ; and let bbb ; each capture a NAME without creating dependencies. But let xxx = zzz ; captures NAME = xxx (no dependency) and 'name' = zzz (creates dependency).
See also: Path Variables · Reference Variables · All Variables
- 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