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()`). |
||
|---|---|---|
| .. | ||
| AST_accept.h | ||
| AST.cpp | ||
| AST.h | ||
| ASTAnnotations.cpp | ||
| ASTAnnotations.h | ||
| ASTEnums.h | ||
| ASTForward.h | ||
| ASTJsonConverter.cpp | ||
| ASTJsonConverter.h | ||
| ASTJsonImporter.cpp | ||
| ASTJsonImporter.h | ||
| ASTUtils.cpp | ||
| ASTUtils.h | ||
| ASTVisitor.h | ||
| ExperimentalFeatures.h | ||
| TypeProvider.cpp | ||
| TypeProvider.h | ||
| Types.cpp | ||
| Types.h | ||