src/basilisp/lang/compiler/parser.py
def _with_loc(f: ParseFunction):
    """Attach any available location information from the input form to
    the node environment returned from the parsing function."""

    @wraps(f)
    def _parse_form(ctx: ParserContext, form: Union[LispForm, ISeq]) -> Node:
        form_loc = _loc(form)
        if form_loc is None:
            return f(ctx, form)
        else:
            return f(ctx, form).fix_missing_locations(form_loc)

    return _parse_form
def _with_loc(f: ParseFunction):
    """Attach any available location information from the input form to
    the node environment returned from the parsing function."""

    @wraps(f)
    def _parse_form(ctx: ParserContext, form: Union[LispForm, ISeq]) -> Node:
        form_loc = _loc(form)
        if form_loc is None:
            return f(ctx, form)
        else:
            return f(ctx, form).fix_missing_locations(form_loc)

    return _parse_form
def _with_loc ( f : ParseFunction ) : @ wraps ( f ) def _parse_form ( ctx : ParserContext , form : Union [ LispForm , ISeq ] ) -> Node : form_loc = _loc ( form ) if form_loc is None : return f ( ctx , form ) else : return f ( ctx , form ) . fix_missing_locations ( form_loc ) return _parse_form
Attach any available location information from the input form to
    the node environment returned from the parsing function.
Attach any available location information from the input form to the node environment returned from the parsing function .