예제 #1
0
 public ParenthesizedExpressionCPPModel(ExpressionCPPModel Expression = null)
 {
     this.Expression = Expression ?? default(ExpressionCPPModel);
 }
예제 #2
0
 public ElementAccessCPPModel(ExpressionCPPModel Expression = null, List <ExpressionCPPModel> Arguments = null)
 {
     this.Expression = Expression ?? default(ExpressionCPPModel);
     this.Arguments  = Arguments ?? new List <ExpressionCPPModel>();
 }
예제 #3
0
 public CastCPPModel(Type Type = null, ExpressionCPPModel Expression = null)
 {
     this.Type       = Type ?? default(Type);
     this.Expression = Expression ?? default(ExpressionCPPModel);
 }
예제 #4
0
 public ArgumentCPPModel(ExpressionCPPModel Expression = null)
 {
     this.Expression = Expression ?? default(ExpressionCPPModel);
 }
예제 #5
0
 public ArrayCreationExpressionCPPModel(Type Type = null, ExpressionCPPModel Rank = null)
 {
     this.Type = Type ?? default(Type);
     this.Rank = Rank ?? default(ExpressionCPPModel);
 }
예제 #6
0
 public DoLoopCPPModel(ExpressionCPPModel Condition = null)
 {
     this.Condition = Condition ?? default(ExpressionCPPModel);
 }
예제 #7
0
 public ForLoopCPPModel(DataCPPModel Declaration = null, List <DataInitializerCPPModel> Initializers = null, ExpressionCPPModel Condition = null, List <ExpressionCPPModel> Incrementors = null)
 {
     this.Declaration  = Declaration ?? default(DataCPPModel);
     this.Initializers = Initializers ?? new List <DataInitializerCPPModel>();
     this.Condition    = Condition ?? default(ExpressionCPPModel);
     this.Incrementors = Incrementors ?? new List <ExpressionCPPModel>();
 }
예제 #8
0
 public SwitchCPPModel(ExpressionCPPModel Expression = null, List <CPPModel> Members = null)
 {
     this.Expression = Expression ?? default(ExpressionCPPModel);
     this.Members    = Members ?? new List <CPPModel>();
 }
예제 #9
0
 public CaseSwitchLabelCPPModel(ExpressionCPPModel Condition = null)
 {
     this.Condition = Condition ?? default(ExpressionCPPModel);
 }
예제 #10
0
 public DataInitializerCPPModel(ExpressionCPPModel Initializer = null)
 {
     this.Initializer = Initializer ?? default(ExpressionCPPModel);
 }
예제 #11
0
 public IfCPPModel(ExpressionCPPModel Condition = null, List <CPPModel> Members = null)
 {
     this.Condition = Condition ?? default(ExpressionCPPModel);
     this.Members   = Members ?? new List <CPPModel>();
 }
예제 #12
0
 public FieldCPPModel(ModifiersCPPModel Modifiers = null, Type FieldType = null, ExpressionCPPModel Initializer = null)
 {
     this.Modifiers   = Modifiers ?? default(ModifiersCPPModel);
     this.FieldType   = FieldType ?? default(Type);
     this.Initializer = Initializer ?? default(ExpressionCPPModel);
 }
예제 #13
0
 public ReturnExpresionCPPModel(ExpressionCPPModel Expression = null)
 {
     this.Expression = Expression ?? default(ExpressionCPPModel);
 }
예제 #14
0
 public UnaryExpressionCPPModel(UnaryExpressionTypeCPPModel Type = 0, ExpressionCPPModel Operand = null)
 {
     this.Type    = Type;
     this.Operand = Operand ?? default(ExpressionCPPModel);
 }
예제 #15
0
 public BinaryExpressionCPPModel(BinaryExpressionTypeCPPModel Type = 0, ExpressionCPPModel Left = null, ExpressionCPPModel Right = null)
 {
     this.Type  = Type;
     this.Left  = Left ?? default(ExpressionCPPModel);
     this.Right = Right ?? default(ExpressionCPPModel);
 }
예제 #16
0
 public AssignmentExpressionCPPModel(AssignType Type = 0, ExpressionCPPModel Left = null, ExpressionCPPModel Right = null)
 {
     this.Type  = Type;
     this.Left  = Left ?? default(ExpressionCPPModel);
     this.Right = Right ?? default(ExpressionCPPModel);
 }