コード例 #1
0
 public StVoidExpression(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.IStUnaryExpression expression) : base(flags, decorators, modifiers)
 {
     this.kind       = ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.SyntaxKind.VoidExpression;
     this.expression = expression;
 }
コード例 #2
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StPrefixUnaryExpression WithOperand(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StPrefixUnaryExpression subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStUnaryExpression operand)
 {
     subject.operand = operand;
     return(subject);
 }
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StTypeAssertion WithExpression(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StTypeAssertion subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStUnaryExpression expression)
 {
     subject.expression = expression;
     return(subject);
 }
コード例 #4
0
 public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsonMinusNumericLiteral WithOperand(this ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StJsonMinusNumericLiteral subject, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStUnaryExpression operand)
 {
     subject.operand = operand;
     return(subject);
 }
 public StPrefixUnaryExpression(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.TransportModel.SyntaxKind @operator, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStUnaryExpression operand) : base(flags, decorators, modifiers)
 {
     this.kind      = ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.SyntaxKind.PrefixUnaryExpression;
     this.@operator = @operator;
     this.operand   = operand;
 }