parseNotation function

NotationResult parseNotation(
  1. String text, {
  2. Catalog? catalog,
  3. NotationOptions options = const NotationOptions(),
})

text in the compact notation as a layout document. Never throws: what cannot be read is reported and skipped.

Implementation

NotationResult parseNotation(String text, {Catalog? catalog, NotationOptions options = const NotationOptions()}) =>
    _Parser(catalog ?? Catalog.current, options).parse(text);