public ExternAlias(Location externLocation, Location aliasLocation, Tokenizer.LocatedToken identifier, Location semicolonLocation) { this.ExternLocation = externLocation; this.AliasLocation = aliasLocation; this.Identifier = identifier; this.SemicolonLocation = semicolonLocation; }
public AliasUsing(Location usingLocation, Tokenizer.LocatedToken identifier, Location assignLocation, MemberName nspace, Location semicolonLocation) { this.UsingLocation = usingLocation; this.Identifier = identifier; this.AssignLocation = assignLocation; this.Nspace = nspace; this.SemicolonLocation = semicolonLocation; }
public void AddExternAlias(Location externLocation, Location aliasLocation, Tokenizer.LocatedToken identifier, Location semicolonLocation) { curNamespace.Peek().usings.Add(new ExternAlias(externLocation, aliasLocation, identifier, semicolonLocation)); }
public void AddUsingAlias(Location usingLocation, Tokenizer.LocatedToken identifier, Location assignLocation, MemberName nspace, Location semicolonLocation) { curNamespace.Peek().usings.Add(new AliasUsing(usingLocation, identifier, assignLocation, nspace, semicolonLocation)); }
void case_786() #line 5283 "cs-parser.jay" { if (async_block) { report.Error (4003, GetLocation (yyVals[0+yyTop]), "`await' cannot be used as an identifier within an async method or lambda expression"); yyVal = new Tokenizer.LocatedToken ("await", GetLocation (yyVals[0+yyTop])); } }