Function parse_file_content_with_settings
Source pub fn parse_file_content_with_settings<'arena>(
arena: &'arena Bump,
file_id: FileId,
content: &str,
settings: ParserSettings,
) -> &'arena Program<'arena>
Expand description
Parses the given file content with custom settings and returns the program AST.
§Parameters
arena: The memory arena for allocations.
file_id: The ID of the file being parsed.
content: The content to parse.
settings: The parser settings.
§Returns
The parsed Program AST.