Docs.rs
solang-parser-0.3.3
solang-parser 0.3.3
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
crates.io
Source
Owners
seanyoung
xermicus
LucasSte
Dependencies
itertools ^0.11
normal
lalrpop-util ^0.20.0
normal
phf ^0.11
normal
serde ^1.0
normal
thiserror ^1.0
normal
unicode-xid ^0.2
normal
pretty_assertions ^1.3
dev
regex ^1
dev
walkdir ^2.4
dev
lalrpop ^0.20.0
build
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
solang_parser
0.3.3
Module lexer
Structs
Enums
Functions
Type Aliases
In crate solang_parser
?
Module
solang_parser
::
lexer
source
·
[
−
]
Expand description
Custom Solidity lexer.
Solidity needs a custom lexer for two reasons:
comments and doc comments
pragma value is
1
+
↩
Structs
Lexer
Custom Solidity lexer.
Enums
LexicalError
An error thrown by
Lexer
.
Token
A Solidity lexical token. Produced by
Lexer
.
Functions
is_keyword
Returns whether
word
is a keyword in Solidity.
Type Aliases
Result
Lexer
’s Result type.
Spanned
A spanned
Token
.