public MethodDeclaration(SourceSpan span, string name, string returnType, IEnumerable <ParameterDeclaration> parameters, BlockStatement body) : base(span, name) { ReturnType = returnType; Parameters = parameters; Body = body; }
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; }
public WhileStatement(SourceSpan span, bool isDoWhile, Expression predicate, BlockStatement body) : base(span) { Body = body; Predicate = predicate; IsDoWhile = isDoWhile; }