public override bool Equals(object obj) { if (!base.Equals(obj)) { return(false); } Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand.ArrayAccessValue casted = (Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand.ArrayAccessValue )obj; return(_index.Equals(casted._index)); }
public virtual void Visit(ArrayAccessValue operand) { var cmpType = DeduceFieldClass(operand.Parent()).ElementType; operand.Parent().Accept(this); var outerInArithmetic = _inArithmetic; _inArithmetic = true; operand.Index().Accept(this); _inArithmetic = outerInArithmetic; _methodBuilder.LoadArrayElement(cmpType); Box(cmpType, !_inArithmetic); }
public virtual void Visit(ArrayAccessValue operand) { operand.Parent().Accept(this); operand.Index().Accept(this); }
public virtual void Visit(ArrayAccessValue operand) { operand.Parent().Accept(this); _clazz = _clazz.ElementType; }
public void Visit(ArrayAccessValue operand) { operand.Parent().Accept(this); object parent = _value; operand.Index().Accept(this); int index = (int)_value; _value = Sharpen.Runtime.GetArrayValue(parent, index); }