Skip to main content

parse_heredoc

Function parse_heredoc 

Source
pub fn parse_heredoc(
    word: &str,
    options: &ParserOptions,
) -> Result<Vec<WordPieceWithSource>, WordParseError>
Expand description

Parse a heredoc body, treating " and ' as literal characters.

ยงArguments

  • word - The heredoc body to parse.
  • options - The parser options to use.