File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -471,15 +471,15 @@ mixin DocumentationComment
471
471
});
472
472
}
473
473
474
- /// Matches all animation directives (even some invalid ones). This is so
475
- /// we can give good error messages if the directive is malformed, instead of
474
+ /// Matches all animation directives (even some invalid ones). This is so we
475
+ /// can give good error messages if the directive is malformed, instead of
476
476
/// just silently emitting it as-is.
477
- final _basicAnimationPattern = RegExp (r'''{@animation\s+([^}]+)}''' );
477
+ static final _basicAnimationPattern = RegExp (r'''{@animation\s+([^}]+)}''' );
478
478
479
- /// Matches valid javascript identifiers.
480
- final _validIdPattern = RegExp (r'^[a-zA-Z_]\w*$' );
479
+ /// Matches valid JavaScript identifiers.
480
+ static final _validIdPattern = RegExp (r'^[a-zA-Z_]\w*$' );
481
481
482
- /// An argument parser used in [_injectAnimations] to parse a `{@animation}`
482
+ /// An argument parser used in [_injectAnimations] to parse an `{@animation}`
483
483
/// directive.
484
484
static final _animationArgParser = ArgParser ()..addOption ('id' );
485
485
You can’t perform that action at this time.
0 commit comments