public override object Visit (UsingTemporary usingTemporary) { var result = new UsingStatement (); var location = LocationsBag.GetLocations (usingTemporary); result.AddChild (new CSharpTokenNode (Convert (usingTemporary.loc), "using".Length), UsingStatement.Roles.Keyword); if (location != null) result.AddChild (new CSharpTokenNode (Convert (location[0]), 1), UsingStatement.Roles.LPar); result.AddChild ((INode)usingTemporary.Expr.Accept (this), UsingStatement.Roles.Initializer); if (location != null) result.AddChild (new CSharpTokenNode (Convert (location[1]), 1), UsingStatement.Roles.RPar); result.AddChild ((INode)usingTemporary.Statement.Accept (this), UsingStatement.Roles.EmbeddedStatement); return result; }
public virtual object Visit (UsingTemporary usingTemporaryStatement) { return null; }