[][src]Module syntax::parse::parser

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Structs

ModulePath [
Experimental
]

Information about the path to a module.

ModulePathSuccess [
Experimental
]
Parser [
Experimental
]
Restrictions [
Experimental
]
TokenCursor [
Experimental
]
TokenCursorFrame [
Experimental
]

Enums

AliasKind [
Experimental
]

Whether the type alias or associated type is a concrete type or an existential type

BlockMode [
Experimental
]
Error [
Experimental
]
LastToken [
Experimental
]

This is used in TokenCursorFrame above to track tokens that are consumed by the parser, and then that's transitively used to record the tokens that each parse AST item is created with.

LhsExpr [
Experimental
]
PathStyle [
Experimental
]

How to parse a path.

PrevTokenKind [
Experimental
]
SemiColonMode [
Experimental
]
TokenExpectType [
Experimental
]
TokenType [
Experimental
]

Traits

RecoverQPath [
Experimental
]

Functions

can_continue_type_after_non_fn_ident [
Experimental
]

Returns true if IDENT t can start a type - IDENT::a::b, IDENT<u8, u8>, IDENT<<u8 as Trait>::AssocTy>.

dummy_arg [
Experimental
]

Create a placeholder argument.

maybe_append [
Experimental
]

Type Definitions

ItemInfo [
Experimental
]