Example #1
0
        public override void VisitSelf(ASTSelf n)
        {
            n.CFlatType  = _currentClass;
            n.Descriptor = _scopeMgr.Find(_currentClass.ClassName, d => d is ClassDescriptor);

            _lastSeenType = _currentClass;
        }
Example #2
0
 public override void VisitSelf(ASTSelf n)
 {
     _lastWalkedType = _currentTypeBuilder.Builder;
     _gen.Emit(OpCodes.Ldarg_0);
 }