declarationRegexp top-level property

RegExp declarationRegexp
getter/setter pair

Implementation

var declarationRegexp = RegExp(r"^fn\s*([a-z_0-9]+)?\s*\(([\s\S]*?)\)\s*\-\>\s*([a-z_0-9]+)?", caseSensitive: false);