public override bool Visit( UnifiedAnnotation element, VisitorArgument arg) { Writer.Write("@"); element.Name.TryAccept(this, arg); element.Arguments.TryAccept(this, arg.Set(Paren)); Writer.WriteLine(); return(false); }
public UnifiedElement VisitAttribute(Attribute attribute, object data) { var type = LookupType(attribute.Type); if (attribute.HasArgumentList == false) { return(UnifiedAnnotation.Create(type)); } var uArgs = attribute.Arguments.AcceptVisitorAsArgs(this, data); return(UnifiedAnnotation.Create(type, uArgs)); }
public override bool Visit( UnifiedAnnotation element, VisitorArgument arg) { Writer.Write("@"); element.Name.TryAccept(this, arg); element.Arguments.TryAccept(this, arg.Set(Paren)); Writer.WriteLine(); return false; }
//JavaScriptではアノテーションは出現しない public override bool Visit( UnifiedAnnotation element, VisitorArgument arg) { return(false); }
//JavaScriptではアノテーションは出現しない public override bool Visit( UnifiedAnnotation element, VisitorArgument arg) { return false; }