Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str, base: Option<&str>) -> Result<Style, ConfigError>
Expand description

Read a .clang-format document on top of base (None = the LLVM default).

----separated documents are how clang-format scopes a config per language; the first document whose Language is absent or Cpp is the one that applies.