Expand description
Custom Solidity lexer.
Solidity needs a custom lexer for two reasons:
- comments and doc comments
- pragma value is [^;]+
Structs§
- Lexer
- Custom Solidity lexer.
Enums§
- Lexical
Error - An error thrown by Lexer.
- Token
- A Solidity lexical token. Produced by Lexer.
Functions§
- is_
keyword - Returns whether
word
is a keyword in Solidity.