isSilent method

  1. @override
bool isSilent (
  1. Contexts context
)
override

Implementation

@override
bool isSilent(Contexts context) {
  final isCompressed =
      context.compress && (value.length > 2) && (value[2] != '!');
  return isLineComment || isCompressed;

//2.5.3 20151120
// Comment.prototype.isSilent = function(context) {
//     var isCompressed = context.compress && this.value[2] !== "!";
//     return this.isLineComment || isCompressed;
// };
}