fortls
fortls copied to clipboard
Parse Fortran Literals as AST Variable/Constant nodes
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