Enum ra_ap_parser::ParserEntryPoint [−][src]
pub enum ParserEntryPoint {
Show 14 variants
SourceFile,
Path,
Expr,
Statement,
StatementOptionalSemi,
Type,
Pattern,
Item,
Block,
Visibility,
MetaItem,
Items,
Statements,
Attr,
}
Expand description
rust-analyzer parser allows you to choose one of the possible entry points.
The primary consumer of this API are declarative macros, $x:expr
matchers
are implemented by calling into the parser with non-standard entry point.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParserEntryPoint
impl Send for ParserEntryPoint
impl Sync for ParserEntryPoint
impl Unpin for ParserEntryPoint
impl UnwindSafe for ParserEntryPoint
Blanket Implementations
Mutably borrows from an owned value. Read more