public StJsxFragment(ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags, System.Collections.Generic.List <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StDecorator> decorators, System.Collections.Generic.List <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier> modifiers, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxOpeningFragment openingFragment, System.Collections.Generic.List <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStJsxChild> children, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxClosingFragment closingFragment) : base(flags, decorators, modifiers) { this.kind = ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.SyntaxKind.JsxFragment; this.children = new ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StNodeCollection <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStJsxChild>(this); this.openingFragment = openingFragment; this.children.AddRange(children); this.closingFragment = closingFragment; }
public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxClosingFragment WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxClosingFragment subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier) { subject.modifiers.Add(modifier); return(subject); }
public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxClosingFragment WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxClosingFragment subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags) { subject.flags = flags; return(subject); }
public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxClosingFragment WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxClosingFragment 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); }