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