[−][src]Module syntax::parse
The main parser interface
Modules
attr | |
classify | Routines the parser uses to classify AST nodes |
lexer | |
parser | |
token |
Structs
Directory | |
ParseSess | Info about a parsing session. |
SeqSep |
|
Enums
DirectoryOwnership |
Functions
maybe_file_to_stream | Given a source file, produce a sequence of token-trees. Returns any buffered errors from parsing the token tream. |
maybe_new_parser_from_file | Create a new parser, returning buffered diagnostics if the file doesn't exist or from lexing the initial token stream. |
maybe_new_parser_from_source_str | Create a new parser from a source string. Returns any buffered errors from lexing the initial token stream. |
new_parser_from_file | Create a new parser, handling errors as appropriate if the file doesn't exist |
new_parser_from_source_str | Create a new parser from a source string |
new_parser_from_tts | |
parse_crate_attrs_from_file | |
parse_crate_attrs_from_source_str | |
parse_crate_from_file | |
parse_crate_from_source_str | |
parse_stream_from_source_str | |
source_file_to_stream | Given a source_file, produce a sequence of token-trees |
str_lit | Parse a string representing a string literal into its final form. Does unescaping. |
stream_to_parser | Given stream and the |
Type Definitions
PResult |