variable method

String variable ()

The variable part of a variable definition. Used in the rule parser

 @fink:

Implementation

String variable() {
  String name;

  if (parserInput.currentChar() == '@' &&
      (name = parserInput.$re(_variableRegExp)) != null) {
    return name;
  }
  return null;

//2.2.0
//  variable: function () {
//      var name;
//
//      if (parserInput.currentChar() === '@' && (name = parserInput.$re(/^(@[\w-]+)\s*:/))) { return name[1]; }
//  }
}