parse static method
Implementation
static MessageWithMetadata parse(
String debugString,
String fileContents,
String name, {
bool addId = false,
}) {
final node = Parser(name, debugString, fileContents).parse();
final arguments = <String>[];
final message =
parseNode(node, arguments, name, addId) ?? StringMessage('');
return MessageWithMetadata(message, arguments, name);
}