package catala
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Compiler and library for the literate programming language for tax code specification
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.1.0.tar.gz
md5=ec7dda88c5f7f371d2a35874cdae2a10
sha512=7cedccfbe5330992d5730441d6ba7b97446237ff5bb4579498a167f2319ec03e8fae50b7f80e3abe96833744b61ffd10719ce0c3e4c144893a4b7adc77e91b56
doc/catala.scopelang/Scopelang/Ast/index.html
Module Scopelang.AstSource
Abstract syntax tree of the scope language
Identifiers
Abstract syntax tree
Source
type 'm rule = | ScopeVarDefinition of {var : Shared_ast.ScopeVar.t * Catala_utils.Pos.t list;(*Scope variable and its list of definitions' positions
*)typ : Shared_ast.typ;io : Desugared.Ast.io;e : 'm expr;
}| SubScopeVarDefinition of {var : Shared_ast.ScopeVar.t * Catala_utils.Pos.t list;(*Variable within the current scope
*)var_within_origin_scope : Shared_ast.ScopeVar.t;typ : Shared_ast.typ;e : 'm expr;
}| Assertion of {e : 'm expr;pos : Catala_utils.Pos.t;
}
Source
type scope_var_ty = {svar_in_ty : Shared_ast.typ;svar_out_ty : Shared_ast.typ;svar_io : Desugared.Ast.io;
}Source
type 'm scope_decl = {scope_decl_name : Shared_ast.ScopeName.t;scope_sig : scope_var_ty Shared_ast.ScopeVar.Map.t;scope_decl_rules : 'm rule list;scope_options : Desugared.Ast.catala_option Catala_utils.Mark.pos list;scope_visibility : Shared_ast.visibility;
}Source
type 'm program = {program_module_name : (Shared_ast.ModuleName.t * Shared_ast.module_intf_id) option;program_ctx : Shared_ast.decl_ctx;program_modules : 'm scope_decl Catala_utils.Mark.pos Shared_ast.ScopeName.Map.t Shared_ast.ModuleName.Map.t;program_scopes : 'm scope_decl Catala_utils.Mark.pos Shared_ast.ScopeName.Map.t;program_topdefs : ('m expr * Shared_ast.typ * Shared_ast.visibility * bool) Shared_ast.TopdefName.Map.t;program_lang : Catala_utils.Global.backend_lang;
} sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page