Module syntax::parse::parserExperimental [-]  [+] [src]

Reexports

pub use self::PathParsingMode::*;

Structs

Parser
PathAndBounds

A path paired with optional type bounds.

Restrictions

Enums

PathParsingMode

How to parse a path. There are four different kinds of paths, all of which are parsed somewhat differently.

Constants

pub const RESTRICTION_NO_BAR_OP: Restrictions = BitFlags { bits: $value }  
pub const RESTRICTION_NO_STRUCT_LITERAL: Restrictions = BitFlags { bits: $value }  
pub const RESTRICTION_STMT_EXPR: Restrictions = BitFlags { bits: $value }  
pub const UNRESTRICTED: Restrictions = BitFlags { bits: $value }