public Statement Create() { var options = new StatementOptions { Expression = expression, Identifier = identifier, Kind = kind, Position = position, Range = range }; return(new Statement(options)); }
public Statement(StatementOptions opts) : base(opts.Kind, opts.Position, opts.Range) { Expression = opts.Expression; Identifier = opts.Identifier; }