Example #1
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression WithDotDotDotToken(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression subject, Func <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StDotDotDotTokenToken, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StDotDotDotTokenToken> dotDotDotTokenBuilder)
 {
     subject.dotDotDotToken = dotDotDotTokenBuilder(new ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StDotDotDotTokenToken());
     return(subject);
 }
Example #2
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier)
 {
     subject.modifiers.Add(modifier);
     return(subject);
 }
Example #3
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags)
 {
     subject.flags = flags;
     return(subject);
 }
Example #4
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression 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);
 }
Example #5
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression WithExpression(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsxExpression subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStExpression expression)
 {
     subject.expression = expression;
     return(subject);
 }