Boo.Lang.Compiler.Steps.ProcessMethodBodies.OnSuperLiteralExpression C# (CSharp) Метод

OnSuperLiteralExpression() публичный Метод

public OnSuperLiteralExpression ( Boo.Lang.Compiler.Ast.SuperLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.SuperLiteralExpression
Результат void
        public override void OnSuperLiteralExpression(SuperLiteralExpression node)
        {
            if (!AstUtil.IsTargetOfMethodInvocation(node))
            {
                node.ExpressionType = _currentMethod.DeclaringType.BaseType;
                return;
            }

            if (EntityType.Constructor == _currentMethod.EntityType)
            {
                // TODO: point to super ctor
                node.Entity = _currentMethod;
                return;
            }

            if (null == _currentMethod.Overriden)
            {
                Error(node,
                CompilerErrorFactory.MethodIsNotOverride(node, _currentMethod));
                return;
            }

            node.Entity = _currentMethod.Overriden;
        }
ProcessMethodBodies