Function: normalizeBlockAliases()¶
normalizeBlockAliases(
ast):Program
Defined in: resolver/src/normalize.ts:22
Normalize block alias names to their canonical internal names.
For example, @commands is the preferred authoring name but internally it's represented as @shortcuts so all existing formatter/validator code works without modification.
Parameters¶
ast¶
Parsed program AST
Returns¶
Program with normalized block names