Struct python_ast::parser::ParsedAst [] [src]

pub struct ParsedAst {
    pub ast: Ast,
    pub p1_tokens: Vec<OwnedTk>,
    pub p2_tokens: Vec<OwnedTk>,
    pub remaining_tokens: Vec<OwnedTk>,
}

Wraps an Ast to give extra debug information when bits hit the fan

Fields

This is your father's Ast. An elegant representation for a more civilized compilation.

Tokens received by the parser

The tokens after the first phase of pre processing

Tokens that were not consumed by the parser. Useful to debug where the parsing stopped.

Methods

impl ParsedAst
[src]

Trait Implementations

impl Debug for ParsedAst
[src]

Formats the value using the given formatter.

impl Clone for ParsedAst
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more