An argument declaration with annotations for the source location of name and type.
- nameLoc : SourceRange
- typeLoc : SourceRange
- val : ArgDecl
Instances For
Equations
Equations
Instances For
Map for arg declarations.
- argIndexMap : Std.HashMap String Nat
- decls : Vector ArgDeclWithLoc argc
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Adds an additional declaration to the list of arguments.
Requires proof the name is new.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
- StrataDDM.Elab.asTypeVar argDecls loc tpId argChildren = do let y ← pure PUnit.unit (fun (y : PUnit) => pure none) y
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Evaluate the tree as a type expression.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Evaluate the tree as a type expression.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Translate a FunctionIterScope syntax tree to the AST type
Equations
- One or more equations did not get rendered due to their size.
Instances For
Translate a NamePatternPart syntax tree to the AST type
Equations
- One or more equations did not get rendered due to their size.
Instances For
Translate a NamePattern syntax tree (array of NamePatternPart)
Equations
- One or more equations did not get rendered due to their size.
Instances For
Translate a TypeRef syntax tree to the AST type
Equations
- One or more equations did not get rendered due to their size.
Instances For
Translate a FunctionTemplate syntax tree to the AST type
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
This parses an optional metadata
Equations
- One or more equations did not get rendered due to their size.
Instances For
Translate metadata if it is optional.
Equations
- StrataDDM.Elab.translateOptMetadata argDecls none = pure StrataDDM.Metadata.empty
- StrataDDM.Elab.translateOptMetadata argDecls (some tree_2) = StrataDDM.Elab.translateMetadata argDecls tree_2
Instances For
Translate metadata if it is optional.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- implicit : ArgSetStatus
- explicit : ArgSetStatus
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- loadDialect : LoadDialectCallback
Callback to load dialects dynamically upon demand.
- loadedRef : IO.Ref LoadedDialects
Mutable reference for syncing loaded dialects after callbacks.
- inputContext : Parser.InputContext
- stopPos : String.Pos.Raw
Instances For
Equations
Instances For
Equations
- StrataDDM.Elab.getCurrentDialect = do let __do_lift ← get pure __do_lift.dialect
Instances For
Read the current loaded dialects from the IO.Ref.
Equations
- StrataDDM.Elab.getLoadedDialects = do let __do_lift ← read ST.Ref.get __do_lift.loadedRef
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- StrataDDM.Elab.modifyDeclState f = modify fun (s : StrataDDM.Elab.DialectState) => { declState := f s.declState, dialect := s.dialect, missingImport := s.missingImport }
Instances For
Equations
- StrataDDM.Elab.modifyDialect f x✝ = modify fun (s : StrataDDM.Elab.DialectState) => { declState := s.declState, dialect := f s.dialect, missingImport := s.missingImport }
Instances For
Equations
- StrataDDM.Elab.addDeclToDialect decl = StrataDDM.Elab.modifyDialect fun (d : StrataDDM.Dialect) => d.addDecl decl
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- StrataDDM.Elab.checkTreeSize tree size = inferInstance
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.