Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SwitchCaseGroup"/> class.
 /// </summary>
 public SwitchCaseGroup()
 {
     Cases      = new List <CaseStatement>();
     Statements = new StatementList();
 }
Example #2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref = "BlockStatement" /> class.
 /// </summary>
 public BlockStatement()
 {
     Statements = new StatementList();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlockStatement"/> class.
 /// </summary>
 /// <param name="statements">The statements.</param>
 public BlockStatement(StatementList statements)
 {
     Statements = statements;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MethodDefinition"/> class.
 /// </summary>
 public MethodDefinition()
 {
     Body        = new StatementList();
     declaration = this;
 }