public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIfStatement WithExpression(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIfStatement subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStExpression expression) { subject.expression = expression; return(subject); }
public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIfStatement WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIfStatement subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier) { subject.modifiers.Add(modifier); return(subject); }
public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIfStatement WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIfStatement subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags) { subject.flags = flags; return(subject); }
public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIfStatement WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIfStatement 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.StIfStatement WithElseStatement(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StIfStatement subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStStatement elseStatement) { subject.elseStatement = elseStatement; return(subject); }