// Skip an identifier public bool SkipIdentifier(ref string identifier) { int savepos = Position; if (!Utils.ParseIdentifier(this._str, ref _pos, ref identifier)) { return(false); } if (_pos >= _end) { _pos = savepos; return(false); } return(true); }
// Skip an identifier public bool SkipIdentifier(ref string identifier) { int savepos = position; if (!Utils.ParseIdentifier(str, ref pos, ref identifier)) { return(false); } if (pos >= end) { pos = savepos; return(false); } return(true); }
// Skip an identifier public bool SkipIdentifier(ref string identifier, bool dashIsValidChar) { int savepos = Position; if (!Utils.ParseIdentifier(this.str, ref pos, ref identifier, dashIsValidChar)) { return(false); } if (pos >= end) { pos = savepos; return(false); } return(true); }
// Skip an identifier public bool SkipIdentifier(ref string identifier) { var savePosition = Position; if (!Utils.ParseIdentifier(Input, ref _pos, ref identifier)) { return(false); } if (_pos < _end) { return(true); } _pos = savePosition; return(false); }