Esempio n. 1
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember WithName(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStDeclarationName name)
 {
     subject.name = name;
     return(subject);
 }
Esempio n. 2
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier)
 {
     subject.modifiers.Add(modifier);
     return(subject);
 }
Esempio n. 3
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags)
 {
     subject.flags = flags;
     return(subject);
 }
Esempio n. 4
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember 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);
 }
Esempio n. 5
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember WithInitializer(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StEnumMember subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStExpression initializer)
 {
     subject.initializer = initializer;
     return(subject);
 }