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;
 }
示例#2
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxOpeningFragment WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxOpeningFragment subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier)
 {
     subject.modifiers.Add(modifier);
     return(subject);
 }
示例#3
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxOpeningFragment WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxOpeningFragment subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags)
 {
     subject.flags = flags;
     return(subject);
 }
示例#4
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxOpeningFragment WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxOpeningFragment 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);
 }