[][src]Function lark_test::lark_parser_db

pub fn lark_parser_db(
    text: impl AsRef<str>
) -> (FileName, LarkDatabase)

Creates a lark database with a single file containing the given test. Intended for tests targeting the lark_parser crate, which is not yet fully wired into everything else.