public ParallelAssignmentExpression(CompoundLeftValue/*!*/ lhs, CompoundRightValue/*!*/ rhs, SourceSpan location)
            : base(null, location) {
            Assert.NotNull(lhs, rhs);

            _lhs = lhs;
            _rhs = rhs;
        }
Esempio n. 2
0
 public RescueClause(CompoundRightValue type, LeftValue target, Statements statements, SourceSpan location)
     : base(location) {
     _types = type.RightValues;
     _splatType = type.SplattedValue;
     _target = target;
     _statements = statements;
 }
Esempio n. 3
0
 public RescueClause(CompoundRightValue type, LeftValue target, List <Expression> statements, SourceSpan location)
     : base(location)
 {
     _types      = type.RightValues;
     _splatType  = type.SplattedValue;
     _target     = target;
     _statements = statements;
 }
        public ParallelAssignmentExpression(CompoundLeftValue /*!*/ lhs, CompoundRightValue /*!*/ rhs, SourceSpan location)
            : base(null, location)
        {
            Assert.NotNull(lhs, rhs);

            _lhs = lhs;
            _rhs = rhs;
        }
Esempio n. 5
0
        internal void Visit(CompoundRightValue /*!*/ node)
        {
            VisitList(node.RightValues);

            if (node.SplattedValue != null)
            {
                node.SplattedValue.Walk(this);
            }
        }
Esempio n. 6
0
 internal MSA.Expression /*!*/ TransformWrite(AstGenerator /*!*/ gen, CompoundRightValue /*!*/ rhs)
 {
     return(TransformWrite(gen, gen.TranformExpressions(rhs.RightValues), (rhs.SplattedValue != null) ? rhs.SplattedValue.TransformRead(gen) : null));
 }
Esempio n. 7
0
 internal MSA.Expression/*!*/ TransformWrite(AstGenerator/*!*/ gen, CompoundRightValue/*!*/ rhs) {
     return TransformWrite(gen, gen.TranformExpressions(rhs.RightValues), (rhs.SplattedValue != null) ? rhs.SplattedValue.TransformRead(gen) : null);
 }