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

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

private InferDeclarationType ( Boo.Lang.Compiler.Ast.DeclarationStatement node ) : IType
node Boo.Lang.Compiler.Ast.DeclarationStatement
Результат IType
        private IType InferDeclarationType(DeclarationStatement node)
        {
            if (null == node.Initializer) return TypeSystemServices.ObjectType;

            // The boo syntax does not require this check because
            // there's no way to create an untyped declaration statement.
            // This is here to support languages that do allow untyped variable
            // declarations (unityscript is such an example).
            return MapWildcardType(GetConcreteExpressionType(node.Initializer));
        }
ProcessMethodBodies