コード例 #1
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag WithTagName(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag subject, Func <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIdentifier, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIdentifier> tagNameBuilder)
 {
     subject.tagName = tagNameBuilder(new ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIdentifier());
     return(subject);
 }
コード例 #2
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier)
 {
     subject.modifiers.Add(modifier);
     return(subject);
 }
コード例 #3
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags)
 {
     subject.flags = flags;
     return(subject);
 }
コード例 #4
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag subject, Func <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StDecorator, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StDecorator> decoratorBuilder)
 {
     subject.decorators.Add(decoratorBuilder(new ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StDecorator()));
     return(subject);
 }
コード例 #5
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag WithComment(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocClassTag subject, string comment)
 {
     subject.comment = comment;
     return(subject);
 }