public override object Visit(UsingAliasDeclaration usingAliasDeclaration, object data)
 {
     return null;
 }
 public override object Visit(UsingAliasDeclaration usingAliasDeclaration, object data)
 {
     DebugOutput(usingAliasDeclaration);
     AppendIndentation();sourceText.Append("Imports ");
     sourceText.Append(usingAliasDeclaration.Alias);
     sourceText.Append(" = ");
     sourceText.Append(usingAliasDeclaration.Namespace);
     AppendNewLine();
     return null;
 }
 public override object Visit(UsingAliasDeclaration usingAliasDeclaration, object data)
 {
     Console.WriteLine(usingAliasDeclaration.ToString());
     return usingAliasDeclaration.AcceptChildren(this, data);
 }
 public virtual object Visit(UsingAliasDeclaration usingAliasDeclaration, object data)
 {
     return data;
 }
	void UsingDirective() {

#line  548 "cs.ATG" 
		usingNamespaces = new ArrayList();
		string qualident = null, aliasident = null;
		
		Expect(120);

#line  552 "cs.ATG" 
		Point startPos = t.Location;
		INode node     = null; 
		
		if (
#line  555 "cs.ATG" 
IsAssignment()) {
			lexer.NextToken();

#line  555 "cs.ATG" 
			aliasident = t.val; 
			Expect(3);
		}
		Qualident(
#line  556 "cs.ATG" 
out qualident);

#line  556 "cs.ATG" 
		if (qualident != null && qualident.Length > 0) {
		 if (aliasident != null) {
		   node = new UsingAliasDeclaration(aliasident, qualident);
		 } else {
		     usingNamespaces.Add(qualident);
		     node = new UsingDeclaration(qualident);
		 }
		}
		
		Expect(10);

#line  565 "cs.ATG" 
		node.StartLocation = startPos;
		node.EndLocation   = t.EndLocation;
		compilationUnit.AddChild(node);
		
	}
 public override object Visit(UsingAliasDeclaration usingAliasDeclaration, object data)
 {
     outputFormatter.Indent();
     outputFormatter.PrintToken(Tokens.Using);
     outputFormatter.Space();
     outputFormatter.PrintIdentifier(usingAliasDeclaration.Alias);
     outputFormatter.Space();
     outputFormatter.PrintToken(Tokens.Assign);
     outputFormatter.Space();
     outputFormatter.PrintIdentifier(usingAliasDeclaration.Namespace);
     outputFormatter.PrintToken(Tokens.Semicolon);
     outputFormatter.NewLine();
     return null;
 }