pub fn parse_with_cache(
source: &str,
cache: &mut CachingParseSession<VbNetLanguage, ParseSession<VbNetLanguage>>,
) -> Result<VbNetRoot, OakError>Expand description
Parses VB.NET source code into a VbNetRoot AST using a caching parse session.
This function uses a [CachingParseSession] to cache parsed results for improved performance when processing the same content multiple times.
ยงErrors
Returns an oak_core::OakError if parsing fails.