syntex_syntax 0.7.0

Export of libsyntax for code generation
1
2
3
4
5
6
7
8
9
b0VIM 7.4ªtU��B�ericktErick-Tryzelaar-MBP.local~erickt/projects/rust/rust-syntex/syntex_syntax/src/parse/parser.rs	3210#"! Utp>I��������gJ��������m���������t��������X���������]���������gG��������^���������_��������ak��������i���������f5��������e���������^��������l^��������Y���������g#��������g���������k���������v\��������Q���������P#��������Ps��������U���������R	��������Yj	��������c�	��������S&
��������[y
��������e�
��������W9��������l���������[���������RW��������G���������g���������aW
��������[�
��������W��������aj��������b���������m-��������S���������h���������TU��������h���������\��������Wm��������b���������U&��������`{��������R���������O-��������m|��������^���������bG��������O���������S���������VK��������\���������\� Yad3sI�{XU��M)(�
�
�
�
B

�o,��oE�
�
�
T

�	v	4	���nB���P���P��[.��wG����N����d:��sruse parse::token::{keywords, special_idents, SpecialMacroVar};use parse::token::{self, MatchNt, SubstNt, SpecialVarNt, InternedString};use parse::obsolete::{ParserObsoleteMethods, ObsoleteSyntax};use parse::lexer::{Reader, TokenAndSpan};use parse::common::{SeqSep, seq_sep_none, seq_sep_trailing_allowed};use parse::classify;use parse::attr::ParserAttr;use parse;use ext::tt::macro_parser;use diagnostic;use codemap::{self, Span, BytePos, Spanned, spanned, mk_sp};use ast_util::{self, AS_PREC, ident_to_path, operator_prec};use ast;use ast::{Visibility, WhereClause};use ast::{ViewPath, ViewPathGlob, ViewPathList, ViewPathSimple};use ast::{UnnamedField, UnsafeBlock};use ast::{TypeImplItem, TypeTraitItem};use ast::{TyRptr, TyTup, TyU32, TyVec, UnUniq};use ast::{TyParam, TyParamBound, TyParen, TyPath, TyPolyTraitRef, TyPtr};use ast::{TyFixedLengthVec, TyBareFn, TyTypeof, TyInfer};use ast::{TupleVariantKind, Ty, Ty_, TypeBinding};use ast::{TtDelimited, TtSequence, TtToken};use ast::{Delimited, SequenceRepetition, TokenTree, TraitItem, TraitRef};use ast::{SelfExplicit, SelfRegion, SelfStatic, SelfValue};use ast::{StructVariantKind, BiSub, StrStyle};use ast::{StmtExpr, StmtSemi, StmtMac, StructDef, StructField};use ast::{Return, BiShl, BiShr, Stmt, StmtDecl};use ast::{PolyTraitRef, QSelf};use ast::PatWildSingle;use ast::{PatRegion, PatStruct, PatTup, PatVec, PatWild, PatWildMulti};use ast::{Pat, PatBox, PatEnum, PatIdent, PatLit, PatQPath, PatMac, PatRange};use ast::{MethodImplItem, NamedField, UnNeg, NoReturn, UnNot};use ast::{MutTy, BiMul, Mutability};use ast::{MutImmutable, MutMutable, Mac_, MacInvocTT, MatchSource};use ast::{MacStmtWithBraces, MacStmtWithSemicolon, MacStmtWithoutBraces};use ast::{LitStr, LitInt, Local, LocalLet};use ast::{LitBool, LitChar, LitByte, LitBinary};use ast::{LifetimeDef, Lit, Lit_};use ast::{ItemExternCrate, ItemUse};use ast::{ItemMac, ItemMod, ItemStruct, ItemTrait, ItemTy, ItemDefaultImpl};use ast::{ItemEnum, ItemFn, ItemForeignMod, ItemImpl, ItemConst};use ast::{Ident, Inherited, ImplItem, Item, Item_, ItemStatic};use ast::{ForeignItem, ForeignItemStatic, ForeignItemFn, ForeignMod, FunctionRetTy};use ast::{ExprVec, ExprWhile, ExprWhileLet, ExprForLoop, Field, FnDecl};use ast::{ExprRepeat, ExprRet, ExprStruct, ExprTup, ExprUnary};use ast::{ExprMethodCall, ExprParen, ExprPath};use ast::{ExprLit, ExprLoop, ExprMac, ExprRange};use ast::{ExprField, ExprTupField, ExprClosure, ExprIf, ExprIfLet, ExprIndex};use ast::{ExprBreak, ExprCall, ExprCast};use ast::{ExprAssign, ExprAssignOp, ExprBinary, ExprBlock, ExprBox};use ast::{Expr, Expr_, ExprAddrOf, ExprMatch, ExprAgain};use ast::{UnDeref, BiDiv, EMPTY_CTXT, EnumDef, ExplicitSelf};use ast::{Decl, DeclItem, DeclLocal, DefaultBlock, DefaultReturn};use ast::{Constness, ConstImplItem, ConstTraitItem, Crate, CrateConfig};use ast::{BlockCheckMode, CaptureByRef, CaptureByValue, CaptureClause};use ast::{BiBitAnd, BiBitOr, BiBitXor, BiRem, BiLt, BiGt, Block};use ast::{Mod, BiAdd, Arg, Arm, Attribute, BindByRef, BindByValue};use ast::{Public, Unsafety};use ast::{RegionTyParamBound, TraitTyParamBound, TraitBoundModifier};use ast::BareFnTy;use abi;pub use self::PathParsingMode::*;// except according to those terms.// option. This file may not be copied, modified, or distributed// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or//// http://rust-lang.org/COPYRIGHT.// file at the top-level directory of this distribution and at// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHTad� �����[��y/!�
�
�
n
c
H
2
,
+
���b#������}    }        }            _ =>  Err(self.fatal("expected string literal"))            }                Ok((s, style))                self.expect_no_suffix(sp, "str literal", suf);                let sp = self.last_span;            Some((s, style, suf)) => {        match try!(self.parse_optional_str()) {    pub fn parse_str(&mut self) -> PResult<(InternedString, StrStyle)> {    }        Ok(Some(ret))        try!(self.bump());        };            _ => return Ok(None)            }                (self.id_to_interned_str(s.ident()), ast::RawStr(n), suf)            token::Literal(token::StrRaw(s, n), suf) => {            }                (self.id_to_interned_str(s.ident()), ast::CookedStr, suf)            token::Literal(token::Str_(s), suf) => {        let ret = match self.token {                                                 Option<ast::Name>)>> {                                                 ast::StrStyle,                              -> PResult<Option<(InternedString,    pub fn parse_optional_str(&mut self)    }        })            exported_macros: Vec::new(),