예제 #1
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocPublicTag WithTagName(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocPublicTag 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.StJSDocPublicTag WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocPublicTag subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier)
 {
     subject.modifiers.Add(modifier);
     return(subject);
 }
예제 #3
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocPublicTag WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocPublicTag subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags)
 {
     subject.flags = flags;
     return(subject);
 }
예제 #4
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocPublicTag WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocPublicTag 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.StJSDocPublicTag WithComment(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDocPublicTag subject, string comment)
 {
     subject.comment = comment;
     return(subject);
 }