Source/Packages

Compiler.Parser

packages/compiler/src/Compiler/Parser.alpha

5,902 lines337 declarations199.2 KiBSHA-256 6d135c41813d

def · lines 1245–1261

syntaxWeight

Full file
1245def syntaxWeight =
1246  (lambda unrestricted syntax : (family Syntax) .
1247    (eliminate
1248      Syntax
1249      (lambda unrestricted value : (family Syntax) . Nat)
1250      syntax
1251      (branch SyntaxAtom syntaxSpelling origin . (bytes-length syntaxSpelling))
1252      (branch SyntaxEmpty . zero)
1253      (branch
1254        SyntaxCons
1255        syntaxHead
1256        syntaxTail
1257        ih_syntaxHead
1258        ih_syntaxTail
1259        .
1260        (addNatural ih_syntaxHead ih_syntaxTail))
1261      (branch SyntaxNode syntaxChildren ih_syntaxChildren . (succ ih_syntaxChildren))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.