package catala
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Compiler and library for the literate programming language for tax code specification
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.3.0.tar.gz
md5=59d0dd01df52c38a4d793b594f067d14
sha512=944b755f8b47cb14920994f03f022cc3ba6cdf5def1ae8ffda00a196fa97dcc5b57baf642a03068b79e949df2a98d5f0218e3358e549be1ff0f1cddda1e5f848
doc/catala.surface/Surface/Parser_state/index.html
Module Surface.Parser_stateSource
Our parser crosses the bounds of LR parsing for two features:
- attaching breadcrumbs to every position (leading titles, subtitles, etc.)
- attaching attributes to the directly following node, notwithstanding the normal syntax hierarchy
for these purposes we maintain a little bit of state and contained side-effects.
Mandatory wrapper around parser calls
Source
val new_heading :
(string * string option * bool * int) ->
Catala_utils.Pos.t ->
Ast.law_heading sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>