public override int VisitMap <TOutput>(MapParser <TInput, TOutput> parser, int start) { var len = parser.Scan(_source, start); _prevWasMissing = len >= 0; return(len); }
public override Parser <TInput> VisitMap <TOutput>(MapParser <TInput, TOutput> parser) { var length = parser.Scan(source, state.InputStart); state.InputLength = length; this.prevWasMissing = length >= 0; return(null); }
public override Parser <TInput> VisitMap <TOutput>(MapParser <TInput, TOutput> parser) { state.InputLength = parser.Scan(source, state.InputStart); return(null); }
public override Parser <TInput> VisitMap <TOutput>(MapParser <TInput, TOutput> parser) { // safe to call scan here because map is limited. state.InputLength = parser.Scan(source, state.InputStart); return(null); }