Expand description
Crate that implement an abstraction of all
the AST nodes like
struct
, fields
, FielsTypes
Each implementation contains information
regarding the position in KDiagnostic
.
Structs§
- Attribute
Token - Inner attribute is the simplest attribute that you can find inside the sintax, in fact this kind of struct contains information regarding the attribute itself.
- Cond
Attribute Token - An attribute is a general, free-form metadatum that is interpreted according to name, convention, language, and compiler version. Attributes are modeled on Attributes in ECMA-335, with the syntax coming from ECMA-334 (C#).
- Field
Token - struct filed token allow to decode the struct fields defined as described in https://doc.rust-lang.org/stable/reference/items/structs.html
- Generic
Params - Generic Parameters token allow to decode stream of token defined as described in https://doc.rust-lang.org/stable/reference/items/generics.html
- Impl
Token - AST Token to store information about an
impl
block. - Lifetime
Param - ’a: ’static
- Method
Decl Token - AST token to store the information about the a function or method declaration
- Struct
Token - Strung token that allow to
decode a
struct
block. - Trait
Token - AST token to store information about a
Trait
. - TyToken
- parsing the type of the filed, where this will be defined with the following grammar https://doc.rust-lang.org/stable/reference/types.html#type-expressions
- Type
Param
Enums§
- Associated
Item - Enum that contans all the Associated Items supported by the parser.
- Attr
Token - Bound
- Generic
Param - TopLevel
Node - TyKind
- TyKidn definition for the Rust language.
Traits§
Type Aliases§
- FnDecl
Tok - from a parser point of view this should not change much because it is missing just a self param