mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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()`). |
||
|---|---|---|
| .. | ||
| DocStringParser.cpp | ||
| DocStringParser.h | ||
| Parser.cpp | ||
| Parser.h | ||
| Token.h | ||