Source/Packages

Compiler.Parser

packages/compiler/src/Compiler/Parser.alpha

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

def · lines 5622–5639

decodeSyntaxInEdition

Full file
5622def decodeSyntaxInEdition =
5623  (lambda unrestricted edition : (family LanguageEdition) .
5624    (lambda unrestricted syntax : (family Syntax) .
5625      (app
5626        (nat-eliminate
5627          (lambda unrestricted allowed : Nat .
5628            (pi unrestricted force : Nat . (family TermDecodeResult)))
5629          (lambda unrestricted force : Nat .
5630            (constructor
5631              TermDecodeResult
5632              TermDecodeFailed
5633              unsupportedEditionFormCode
5634              (constructor SyntaxOrigin SyntaxOriginUnknown)))
5635          (lambda unrestricted predecessor : Nat .
5636            (lambda unrestricted induction : (pi unrestricted force : Nat . (family TermDecodeResult)) .
5637              (lambda unrestricted force : Nat . (decodeSyntax syntax))))
5638          (syntaxAllowedInEdition edition syntax))
5639        zero)))

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.