# Parsing keyword argument method call name?

**URL:** <https://discourse.julialang.org/t/parsing-keyword-argument-method-call-name/91334>\
**Category:** General Usage\
**Tags:** question, error-message\
**Created:** [December 7, 2022, 2:02am UTC](https://discourse.julialang.org/t/parsing-keyword-argument-method-call-name/91334 "2022-12-07T02:02:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FedeClaudi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fedeclaudi/32/33490_2.png) [@FedeClaudi](https://discourse.julialang.org/u/FedeClaudi)\
**Post date:** [December 7, 2022, 2:02am UTC](https://discourse.julialang.org/t/parsing-keyword-argument-method-call-name/91334/1 "2022-12-07T02:02:28Z")

</div>

Hey everyone,

I’m working on improving Term.jl’s stack trace functionality. The idea is to present nicely formatted stacktraces (hiding irrelevant info and highlighting useful stuff with color)

 ![image](https://global.discourse-cdn.com/julialang/original/3X/1/4/1438846c02196e2a27074f253f2d26c8dd06f34b.png)

However I find it hard to deal with calls to function that include keyword arguments:

see frame 4 here

 ![image](https://global.discourse-cdn.com/julialang/original/3X/4/f/4f6945f6e4ecdd3bde57f0eacc1bf420e87dae6f.png)

and the recomended alternative method names here (for a type constructor):

 ![image](https://global.discourse-cdn.com/julialang/original/3X/d/9/d9c1ef03edb020663d6be820065a8a45744b580d.png)

is there a way to get the method name in a nicer format? Maybe even with arguments/kwargs and their types? I understand this may not be possible for anonymous functions, but it seems like it should be doable here.

Thank you
