package bap-std
AST transformation. mapper allows one to map AST, performing some limited amount of transformations on it. Mapper provides extra flexibility by mapping stmt
to stmt list
, thus allowing to remove statements from the output (by mapping to empty list) or to map one statement to several. This is particularly useful when you map if
or while
statements.
inherit Exp.mapper
inherit state
method map_cpuexn : int -> t list
method map_special : string -> t list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>