Example #1
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause WithName(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStDeclarationName name)
 {
     subject.name = name;
     return(subject);
 }
Example #2
0
 public StImportDeclaration(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.StImportClause importClause, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStExpression moduleSpecifier) : base(flags, decorators, modifiers)
 {
     this.kind            = ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.SyntaxKind.ImportDeclaration;
     this.importClause    = importClause;
     this.moduleSpecifier = moduleSpecifier;
 }
Example #3
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause WithModifier(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier modifier)
 {
     subject.modifiers.Add(modifier);
     return(subject);
 }
Example #4
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause WithDecorator(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause 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.StImportClause WithFlags(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.NodeFlags flags)
 {
     subject.flags = flags;
     return(subject);
 }
Example #6
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause WithNamedBindings(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStNamedImportBindings namedBindings)
 {
     subject.namedBindings = namedBindings;
     return(subject);
 }
Example #7
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause WithIsTypeOnly(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StImportClause subject, bool isTypeOnly)
 {
     subject.isTypeOnly = isTypeOnly;
     return(subject);
 }