Example #1
0
 public MethodDeclaration(SourceSpan span, string name, string returnType, IEnumerable <ParameterDeclaration> parameters, BlockStatement body) : base(span, name)
 {
     ReturnType = returnType;
     Parameters = parameters;
     Body       = body;
 }
Example #2
0
 public ForStatement(SourceSpan span, SyntaxNode initialization, Expression condition, Expression increment, BlockStatement body) : base(span)
 {
     Initialization = initialization;
     Condition      = condition;
     Increment      = increment;
     Body           = body;
 }
 public ConstructorDeclaration(SourceSpan span, string name, IEnumerable <ParameterDeclaration> parameters, BlockStatement body) : base(span, name)
 {
     Body       = body;
     Parameters = parameters;
 }
Example #4
0
 public WhileStatement(SourceSpan span, bool isDoWhile, Expression predicate, BlockStatement body) : base(span)
 {
     Body = body;
     Predicate = predicate;
     IsDoWhile = isDoWhile;
 }