solidity/libsolidity/parsing
Christian Parpart 32ba5f5ae7 libsolidity: Extend the AST for named AST nodes in order to get precise locations for names.
The actual SourceLocation on an ASTNode is representing the whole
ASTNode whereas in an LSP (for example) you are also interested in the
SourceLocation of a name of a construct (e.g. variable decarlation, function definition, ...).

This also properly encodes non-existend sources as `-1` in the JSON output (eliminating the use of `numeric_limits<size_t>::max()`).
2021-02-10 18:13:09 +01:00
..
DocStringParser.cpp Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
DocStringParser.h Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
Parser.cpp libsolidity: Extend the AST for named AST nodes in order to get precise locations for names. 2021-02-10 18:13:09 +01:00
Parser.h libsolidity: Extend the AST for named AST nodes in order to get precise locations for names. 2021-02-10 18:13:09 +01:00
Token.h Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30