fortls icon indicating copy to clipboard operation
fortls copied to clipboard

Parse Fortran Literals as AST Variable/Constant nodes

Open gnikit opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Currently standalone variables like numbers and strings are not parsed into the AST. This leaves room for ambiguity when it comes to hovering, associated blocks, passing literals as function arguments, etc.

Describe the solution you'd like The way to resolve this is by parsing the literals either as Variables or just make a new Object called Literal/Constant which infers the type from the value and is then potentially linked as a variable to a Variable object

gnikit avatar May 20 '22 08:05 gnikit