Exemplo n.º 1
0
                public Statement Create()
                {
                    var options = new StatementOptions
                    {
                        Expression = expression,
                        Identifier = identifier,
                        Kind       = kind,
                        Position   = position,
                        Range      = range
                    };

                    return(new Statement(options));
                }
Exemplo n.º 2
0
 public Statement(StatementOptions opts) : base(opts.Kind, opts.Position, opts.Range)
 {
     Expression = opts.Expression;
     Identifier = opts.Identifier;
 }