package p4spectec
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
P4-SpecTec: A mechanization toolchain for the P4 Programming Language
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1.2.tar.gz
md5=1a3bc0a385fe1ecf403c019f49aa6de6
sha512=5d20b5821f33e2a3a5419b208606f27c01511994c2b3b1e1cdf4c077056dfd0aa81682af0720e1060ee2bfb0341918fcc4c53159820205a2bc32b725e5c1a714
doc/p4spectec.pass/Pass/Structure/Ol/Ast/index.html
Module Ol.Ast
include module type of struct include Lang.Sl end
type num = Lang.Il.numval num_to_yojson : num -> Yojson.Safe.tval num_of_yojson : Yojson.Safe.t -> num Ppx_deriving_yojson_runtime.error_ortype text = Lang.Il.textval text_to_yojson : text -> Yojson.Safe.tval text_of_yojson : Yojson.Safe.t -> text Ppx_deriving_yojson_runtime.error_ortype id = Lang.Il.idval id_to_yojson : id -> Yojson.Safe.tval id_of_yojson : Yojson.Safe.t -> id Ppx_deriving_yojson_runtime.error_ortype id' = Lang.Il.id'type atom = Lang.Il.atomval atom_to_yojson : atom -> Yojson.Safe.tval atom_of_yojson : Yojson.Safe.t -> atom Ppx_deriving_yojson_runtime.error_ortype atom' = Lang.Il.atom'type mixop = Lang.Il.mixopval mixop_to_yojson : mixop -> Yojson.Safe.tval mixop_of_yojson :
Yojson.Safe.t ->
mixop Ppx_deriving_yojson_runtime.error_ortype iter = Lang.Il.iterval iter_to_yojson : iter -> Yojson.Safe.tval iter_of_yojson : Yojson.Safe.t -> iter Ppx_deriving_yojson_runtime.error_ortype var = Lang.Il.varval var_to_yojson : var -> Yojson.Safe.tval var_of_yojson : Yojson.Safe.t -> var Ppx_deriving_yojson_runtime.error_ortype typ = Lang.Il.typval typ_to_yojson : typ -> Yojson.Safe.tval typ_of_yojson : Yojson.Safe.t -> typ Ppx_deriving_yojson_runtime.error_ortype typ' = Lang.Il.typ'type nottyp = Lang.Il.nottypval nottyp_to_yojson : nottyp -> Yojson.Safe.tval nottyp_of_yojson :
Yojson.Safe.t ->
nottyp Ppx_deriving_yojson_runtime.error_ortype nottyp' = Lang.Il.nottyp'type deftyp = Lang.Il.deftypval deftyp_to_yojson : deftyp -> Yojson.Safe.tval deftyp_of_yojson :
Yojson.Safe.t ->
deftyp Ppx_deriving_yojson_runtime.error_ortype deftyp' = Lang.Il.deftyp'type typfield = Lang.Il.typfieldval typfield_to_yojson : typfield -> Yojson.Safe.tval typfield_of_yojson :
Yojson.Safe.t ->
typfield Ppx_deriving_yojson_runtime.error_ortype typcase = Lang.Il.typcaseval typcase_to_yojson : typcase -> Yojson.Safe.tval typcase_of_yojson :
Yojson.Safe.t ->
typcase Ppx_deriving_yojson_runtime.error_ortype vid = Lang.Il.vidtype vnote = Lang.Il.vnotetype value = Lang.Il.valueval value_to_yojson : value -> Yojson.Safe.tval value_of_yojson :
Yojson.Safe.t ->
value Ppx_deriving_yojson_runtime.error_ortype value' = Lang.Il.value'type valuefield = Lang.Il.valuefieldval valuefield_to_yojson : valuefield -> Yojson.Safe.tval valuefield_of_yojson :
Yojson.Safe.t ->
valuefield Ppx_deriving_yojson_runtime.error_ortype valuecase = Lang.Il.valuecaseval valuecase_to_yojson : valuecase -> Yojson.Safe.tval valuecase_of_yojson :
Yojson.Safe.t ->
valuecase Ppx_deriving_yojson_runtime.error_ortype numop = Lang.Il.numopval numop_to_yojson : numop -> Yojson.Safe.tval numop_of_yojson :
Yojson.Safe.t ->
numop Ppx_deriving_yojson_runtime.error_ortype unop = Lang.Il.unopval unop_to_yojson : unop -> Yojson.Safe.tval unop_of_yojson : Yojson.Safe.t -> unop Ppx_deriving_yojson_runtime.error_ortype binop = Lang.Il.binopval binop_to_yojson : binop -> Yojson.Safe.tval binop_of_yojson :
Yojson.Safe.t ->
binop Ppx_deriving_yojson_runtime.error_ortype cmpop = Lang.Il.cmpopval cmpop_to_yojson : cmpop -> Yojson.Safe.tval cmpop_of_yojson :
Yojson.Safe.t ->
cmpop Ppx_deriving_yojson_runtime.error_ortype optyp = Lang.Il.optypval optyp_to_yojson : optyp -> Yojson.Safe.tval optyp_of_yojson :
Yojson.Safe.t ->
optyp Ppx_deriving_yojson_runtime.error_ortype exp = Lang.Il.expval exp_to_yojson : exp -> Yojson.Safe.tval exp_of_yojson : Yojson.Safe.t -> exp Ppx_deriving_yojson_runtime.error_ortype exp' = Lang.Il.exp'type notexp = Lang.Il.notexpval notexp_to_yojson : notexp -> Yojson.Safe.tval notexp_of_yojson :
Yojson.Safe.t ->
notexp Ppx_deriving_yojson_runtime.error_ortype iterexp = Lang.Il.iterexpval iterexp_to_yojson : iterexp -> Yojson.Safe.tval iterexp_of_yojson :
Yojson.Safe.t ->
iterexp Ppx_deriving_yojson_runtime.error_ortype pattern = Lang.Il.patternval pattern_to_yojson : pattern -> Yojson.Safe.tval pattern_of_yojson :
Yojson.Safe.t ->
pattern Ppx_deriving_yojson_runtime.error_ortype path = Lang.Il.pathval path_to_yojson : path -> Yojson.Safe.tval path_of_yojson : Yojson.Safe.t -> path Ppx_deriving_yojson_runtime.error_ortype path' = Lang.Il.path'type tparam = Lang.Il.tparamval tparam_to_yojson : tparam -> Yojson.Safe.tval tparam_of_yojson :
Yojson.Safe.t ->
tparam Ppx_deriving_yojson_runtime.error_ortype tparam' = Lang.Il.tparam'type param = param' Util.Source.phraseval param_to_yojson : param -> Yojson.Safe.tval param_of_yojson :
Yojson.Safe.t ->
param Ppx_deriving_yojson_runtime.error_orval param'_to_yojson : param' -> Yojson.Safe.tval param'_of_yojson :
Yojson.Safe.t ->
param' Ppx_deriving_yojson_runtime.error_ortype targ = Lang.Il.targval targ_to_yojson : targ -> Yojson.Safe.tval targ_of_yojson : Yojson.Safe.t -> targ Ppx_deriving_yojson_runtime.error_ortype targ' = Lang.Il.targ'type arg = Lang.Il.argval arg_to_yojson : arg -> Yojson.Safe.tval arg_of_yojson : Yojson.Safe.t -> arg Ppx_deriving_yojson_runtime.error_ortype arg' = Lang.Il.arg'and holdcase = | BothH of (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list * (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list| HoldH of (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list * dangle| NotHoldH of (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list * dangle
and iterinstr = Lang.Il.iterpremand hint = Lang.El.hintand rel_signature = nottyp * Lang.Hints.Input.tval arg'_to_yojson : arg' -> Yojson.Safe.tval arg'_of_yojson : Yojson.Safe.t -> arg' Ppx_deriving_yojson_runtime.error_orval dangle_to_yojson : dangle -> Yojson.Safe.tval dangle_of_yojson :
Yojson.Safe.t ->
dangle Ppx_deriving_yojson_runtime.error_orval holdcase_to_yojson : holdcase -> Yojson.Safe.tval holdcase_of_yojson :
Yojson.Safe.t ->
holdcase Ppx_deriving_yojson_runtime.error_orval case_to_yojson :
(Lang__Sl__.Ast.guard
* (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list) ->
Yojson.Safe.tval case_of_yojson :
Yojson.Safe.t ->
(Lang__Sl__.Ast.guard
* (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list)
Ppx_deriving_yojson_runtime.error_orval guard_to_yojson : Lang__Sl__.Ast.guard -> Yojson.Safe.tval guard_of_yojson :
Yojson.Safe.t ->
Lang__Sl__.Ast.guard Ppx_deriving_yojson_runtime.error_orval iid_to_yojson : iid -> Yojson.Safe.tval iid_of_yojson : Yojson.Safe.t -> iid Ppx_deriving_yojson_runtime.error_orval inote_to_yojson : inote -> Yojson.Safe.tval inote_of_yojson :
Yojson.Safe.t ->
inote Ppx_deriving_yojson_runtime.error_orval instr_to_yojson :
(Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase ->
Yojson.Safe.tval instr_of_yojson :
Yojson.Safe.t ->
(Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase
Ppx_deriving_yojson_runtime.error_orval instr'_to_yojson : Lang__Sl__.Ast.instr' -> Yojson.Safe.tval instr'_of_yojson :
Yojson.Safe.t ->
Lang__Sl__.Ast.instr' Ppx_deriving_yojson_runtime.error_orval block_to_yojson :
(Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list ->
Yojson.Safe.tval block_of_yojson :
Yojson.Safe.t ->
(Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list
Ppx_deriving_yojson_runtime.error_orval elseblock_to_yojson :
(Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list ->
Yojson.Safe.tval elseblock_of_yojson :
Yojson.Safe.t ->
(Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list
Ppx_deriving_yojson_runtime.error_orval iterinstr_to_yojson : iterinstr -> Yojson.Safe.tval iterinstr_of_yojson :
Yojson.Safe.t ->
iterinstr Ppx_deriving_yojson_runtime.error_orval hint_to_yojson : hint -> Yojson.Safe.tval hint_of_yojson : Yojson.Safe.t -> hint Ppx_deriving_yojson_runtime.error_orval rel_signature_to_yojson : rel_signature -> Yojson.Safe.tval rel_signature_of_yojson :
Yojson.Safe.t ->
rel_signature Ppx_deriving_yojson_runtime.error_ortype externrel = id * rel_signature * exp list * hint listval externrel_to_yojson : externrel -> Yojson.Safe.tval externrel_of_yojson :
Yojson.Safe.t ->
externrel Ppx_deriving_yojson_runtime.error_ortype rel =
id
* rel_signature
* exp list
* (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list
* (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list option
* hint listval rel_to_yojson : rel -> Yojson.Safe.tval rel_of_yojson : Yojson.Safe.t -> rel Ppx_deriving_yojson_runtime.error_orval externfunc_to_yojson : externfunc -> Yojson.Safe.tval externfunc_of_yojson :
Yojson.Safe.t ->
externfunc Ppx_deriving_yojson_runtime.error_orval builtinfunc_to_yojson : builtinfunc -> Yojson.Safe.tval builtinfunc_of_yojson :
Yojson.Safe.t ->
builtinfunc Ppx_deriving_yojson_runtime.error_ortype tablerow =
exp list * exp * (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase listval tablerow_to_yojson : tablerow -> Yojson.Safe.tval tablerow_of_yojson :
Yojson.Safe.t ->
tablerow Ppx_deriving_yojson_runtime.error_orval tablefunc_to_yojson : tablefunc -> Yojson.Safe.tval tablefunc_of_yojson :
Yojson.Safe.t ->
tablefunc Ppx_deriving_yojson_runtime.error_ortype definedfunc =
id
* tparam list
* param list
* typ
* (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list
* (Lang__Sl__.Ast.instr', inote) Util.Source.note_phrase list option
* hint listval definedfunc_to_yojson : definedfunc -> Yojson.Safe.tval definedfunc_of_yojson :
Yojson.Safe.t ->
definedfunc Ppx_deriving_yojson_runtime.error_ortype def = def' Util.Source.phraseand def' = | ExternTypD of id * hint list| TypD of id * tparam list * deftyp * hint list| VarD of id * typ * hint list| ExternRelD of externrel| RelD of rel| ExternDecD of externfunc| BuiltinDecD of builtinfunc| TableDecD of tablefunc| FuncDecD of definedfunc
val def_to_yojson : def -> Yojson.Safe.tval def_of_yojson : Yojson.Safe.t -> def Ppx_deriving_yojson_runtime.error_orval def'_to_yojson : def' -> Yojson.Safe.tval def'_of_yojson : Yojson.Safe.t -> def' Ppx_deriving_yojson_runtime.error_ortype spec = def listval spec_to_yojson : spec -> Yojson.Safe.tval spec_of_yojson : Yojson.Safe.t -> spec Ppx_deriving_yojson_runtime.error_ormodule Eq = Lang.Sl.Eqmodule Free = Lang.Sl.Freemodule Print = Lang.Sl.Printand instr = instr' Util.Source.phraseand instr' = | IfI of exp * iterexp list * block| HoldI of id * notexp * iterexp list * block * block| CaseI of exp * case list * bool| GroupI of id * rel_signature * exp list * block| LetI of exp * exp * iterinstr list * block| RuleI of id * notexp * Lang.Hints.Input.t * iterinstr list * block| ResultI of rel_signature * exp list| ReturnI of exp| DebugI of exp * instr
and block = instr listand elseblock = block sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>