Skip to main content

Module types

Module types 

Source

Structs§

AbsPath
An absolute file path from the AST (absolutePath field) or filesystem.
DocumentUri
An LSP document URI string (e.g. "file:///Users/me/project/src/Foo.sol").
ErrorCode
Type wrapper for Solidity compiler diagnostic error codes.
EventSelector
32-byte event topic (keccak256(signature)).
FileId
Newtype wrapper for source file IDs.
FuncSelector
4-byte function selector (keccak256(signature)[0..4]).
MethodId
Canonical ABI method signature from evm.methodIdentifiers.
NodeId
Type wrapper for AST node IDs.
PathInterner
Project-wide path interner.
RelPath
A project-relative Solidity source path (e.g. src/Foo.sol, lib/X.sol).
SolcFileId
A solc source-file ID in string form (e.g. "0", "34", "127").
SourceLoc
A parsed "offset:length:fileId" source location from the AST.
SrcLocation
A raw "offset:length:fileId" source-location string from the AST.
SymbolName
Identifier/symbol name used for completion indexes.
TypeIdentifier
Solidity typeIdentifier string used in completion resolution.

Enums§

Selector
A selector extracted from an AST declaration node.