package pacomb
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val initial_state : state
Initial state of the preprocessor.
update st name lnum data nl
takes as input the state st
of the preprocessor, the file name name
, the number of the next input data lnum
and the next input data
itself. nl
is true iff there is a newline at the end of data
. It returns a tuple of the new state, the new file name, the new line number and None
if the data must be ignored or Some(data)
which is the new data. The new file name and line number can be used to implement line number directives. The function may raise Preprocessor_error
in case of error.
val check_final : state -> string -> unit
check_final st name
check that st
indeed is a correct state of the preprocessor for the end of input of file name
. If it is not the case, then the exception Preprocessor_error
is raised.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>