isDSXMark static method

bool isDSXMark(
  1. String s
)

Returns true if s is a DSX reference mark. Example: __DSX__function_3

Implementation

static bool isDSXMark(String s) {
  if (s.length < 8 || !s.startsWith('__DSX__')) {
    return false;
  }

  var hasMatch = markRegExp.hasMatch(s);
  return hasMatch;
}