Ejemplo n.º 1
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc WithTag(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStJSDocTag tag)
 {
     subject.tags.Add(tag);
     return(subject);
 }
Ejemplo n.º 2
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier)
 {
     subject.modifiers.Add(modifier);
     return(subject);
 }
Ejemplo n.º 3
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags)
 {
     subject.flags = flags;
     return(subject);
 }
Ejemplo n.º 4
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc 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);
 }
Ejemplo n.º 5
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc WithComment(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJSDoc subject, string comment)
 {
     subject.comment = comment;
     return(subject);
 }