Ejemplo n.º 1
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration 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);
 }
Ejemplo n.º 2
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier)
 {
     subject.modifiers.Add(modifier);
     return(subject);
 }
Ejemplo n.º 3
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags)
 {
     subject.flags = flags;
     return(subject);
 }
Ejemplo n.º 4
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration With_classElementBrand(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration subject, object _classElementBrand)
 {
     subject._classElementBrand = _classElementBrand;
     return(subject);
 }
Ejemplo n.º 5
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration WithType(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStTypeNode type)
 {
     subject.type = type;
     return(subject);
 }
Ejemplo n.º 6
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration WithParameter(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration subject, Func <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StParameterDeclaration, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StParameterDeclaration> parameterBuilder)
 {
     subject.parameters.Add(parameterBuilder(new ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StParameterDeclaration()));
     return(subject);
 }
Ejemplo n.º 7
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration WithName(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStDeclarationName name)
 {
     subject.name = name;
     return(subject);
 }
Ejemplo n.º 8
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration WithExclamationToken(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration subject, Func <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StExclamationTokenToken, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StExclamationTokenToken> exclamationTokenBuilder)
 {
     subject.exclamationToken = exclamationTokenBuilder(new ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StExclamationTokenToken());
     return(subject);
 }
Ejemplo n.º 9
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration WithBody(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StSetAccessorDeclaration subject, Func <ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StBlock, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StBlock> bodyBuilder)
 {
     subject.body = bodyBuilder(new ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StBlock());
     return(subject);
 }