Module rust

Source
Expand description

module that implement the API to parse a subset of rust code by providing KTokenStream.

Modulesยง

ast_nodes
Crate that implement an abstraction of all the AST nodes like struct, fields, FielsTypes
core
Contains all the core function that are common across different modules.
errors
Error generated by the parser that it is caused by a syntax error.
fmt
formatting module that contains the basic fmt function that convert in a string part of the rust syntax.
kattr
kfunc
kfunc is the module that it is used to parse the function like rust syntax.
kimpl
API to parse a rust impl
kparser
kstruct
API to parse the rust struct provided as TokenStream.
ktrait
ty
Type parser to allow a more flexible parser.