Skip to content
Slang
Rust Crate
Initializing search
NomicFoundation/slang
Home
User Guide
Solidity Specification
Internals
Slang
NomicFoundation/slang
Home
User Guide
User Guide
Introduction
Concepts
Tree Query Language
Rust Crate
Rust Crate
Installation
Using the CLI
Using the Parser
Using the Cursor
Using Queries
NPM Package
NPM Package
Installation
Using the Parser
Using the Cursor
Using Queries
Using the AST
Solidity Specification
Solidity Specification
Supported Versions
1. File Structure
1. File Structure
1.1. License Specifiers
1.2. Source Unit
1.3. Pragma Directives
1.4. Import Directives
1.5. Using Directives
1.6. Trivia
1.7. Nat Spec Format
1.8. Keywords
1.9. Punctuation
2. Definitions
2. Definitions
2.1. Contracts
2.2. Interfaces
2.3. Libraries
2.4. Structs
2.5. Enums
2.6. Constants
2.7. State Variables
2.8. Functions
2.9. Modifiers
2.10. Events
2.11. User Defined Value Types
2.12. Errors
3. Types
3. Types
3.1. Advanced Types
3.2. Elementary Types
4. Statements
4. Statements
4.1. Blocks
4.2. Declaration Statements
4.3. Control Statements
4.4. Error Handling
5. Expressions
5. Expressions
5.1. Base Expressions
5.2. Function Calls
5.3. Primary Expressions
5.4. Numbers
5.5. Strings
5.6. Identifiers
6. Yul
6. Yul
6.1. Yul Statements
6.2. Yul Expressions
6.3. Yul Keywords
Internals
Internals
Repository Structure
Development
Design Docs
Design Docs
Language Definition v2
Rust Crate
#
Installation
Using the CLI
Using the Parser
Using the Cursor
Using Queries
Back to top