Module syntax::parse[][src]

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

SeqSep : a sequence separator (token) and whether a trailing separator is allowed.

Enums

DirectoryOwnership

Functions

filemap_to_stream

Given a filemap, produce a sequence of token-trees

new_parser_from_file

Create a new parser, handling errors as appropriate if the file doesn't exist

new_parser_from_source_str
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
stream_to_parser

Given stream and the ParseSess, produce a parser

Type Definitions

PResult