SUnitTranslator.findType C# (CSharp) Method

findType() static private method

static private findType ( Statement, statement ) : SUnit
statement Statement,
return Swummary.SUnit
    static SUnit findType(Statement statement)
    {
        /*
         * == MethodCall
         * use code from sunitextractor to parse this and find a MethodCall
         * return TranslateMethodCall(statement);
         *
         * == Assignment
         * else??
         * or find equals sign? -- no because methodcall might have an equals sign
         *
         * == Return
         * find "return" in statement
         * return TranslateReturn(statement);
         *
        */

        //or pass thru to each type
        return new SUnit();
    }