parse_Expires method
dynamic
parse_Expires()
Implementation
dynamic parse_Expires() {
var $$;
switch (_ch >= 0 && _ch <= 57
? 0
: _ch == -1
? 2
: 1) {
case 0:
var startPos0 = _startPos;
_startPos = _cursor;
$$ = _parse_delta_seconds();
if (success) {
final $1 = $$;
final $start = startPos0;
var pos0 = _startPos;
$$ = ((offset, expires) {
///CODE_START
data = expires;
///CODE_END
})($start, $1);
}
_startPos = startPos0;
break;
case 1:
case 2:
$$ = null;
success = false;
break;
}
if (!success && _cursor > _testing) {
_failure(_expect1);
}
return $$;
}