Function sway_lsp::core::session::parse_lexed_program
source ยท pub fn parse_lexed_program(
lexed_program: &LexedProgram,
ctx: &ParseContext<'_>,
modified_file: &Option<PathBuf>,
f: impl Fn(&Annotated<ItemKind>, &ParseContext<'_>) + Sync,
)
Expand description
Parse the LexedProgram to populate the TokenMap with lexed nodes.