public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StOptionalTypeNode WithType(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StOptionalTypeNode subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStTypeNode type)
 {
     subject.type = type;
     return(subject);
 }
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StOptionalTypeNode WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StOptionalTypeNode 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);
 }
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StOptionalTypeNode WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StOptionalTypeNode subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier)
 {
     subject.modifiers.Add(modifier);
     return(subject);
 }
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StOptionalTypeNode WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StOptionalTypeNode subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags)
 {
     subject.flags = flags;
     return(subject);
 }