示例#1
0
 public ExternAlias(Location externLocation, Location aliasLocation, Tokenizer.LocatedToken identifier, Location semicolonLocation)
 {
     this.ExternLocation    = externLocation;
     this.AliasLocation     = aliasLocation;
     this.Identifier        = identifier;
     this.SemicolonLocation = semicolonLocation;
 }
示例#2
0
 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;
 }
示例#3
0
 public void AddExternAlias(Location externLocation, Location aliasLocation, Tokenizer.LocatedToken identifier, Location semicolonLocation)
 {
     curNamespace.Peek().usings.Add(new ExternAlias(externLocation, aliasLocation, identifier, semicolonLocation));
 }
示例#4
0
 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));
 }
示例#5
0
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]));
		}
	  }