IronRuby.Compiler.Ast.ClassVariable.TransformRead C# (CSharp) Метод

TransformRead() приватный Метод

private TransformRead ( AstGenerator gen, int opKind ) : Expression
gen AstGenerator
opKind int
Результат System.Linq.Expressions.Expression
        private MSA.Expression/*!*/ TransformRead(AstGenerator/*!*/ gen, int/*!*/ opKind) {
            // eval or in a non-singleton module/class declaration 
            // -> we find the right scope at runtime by walking the hierarchy
            // otherwise
            // -> variable is on Object

            return GetOp(gen, opKind).OpCall(gen.CurrentScopeVariable, AstUtils.Constant(Name));
        }