Function sljs::ast::build::with

source · []
pub fn with<T, F>(closure: F) -> Builder<T, F> where
    F: FnOnce(&mut LexicalContext) -> ParseResult<T>, 
Expand description

A helper to surround an closure in assert_parse! macro calls.