Package gcc.generator

Examples of gcc.generator.JCatchStatement


        return _TryStatement;
    }

    public JCatchStatement getCatch( JVariable v )
    {
        JCatchStatement rc = null;
        int index = _catchStatements.indexOf( v );

        if (index >= 0)
        {
            rc = (JCatchStatement)_catchStatements.get( index );
View Full Code Here


        return rc;
    }

    public JCatchStatement newCatch( JVariable v )
    {
        JCatchStatement rc = getCatch( v );

        if (rc == null)
        {
            rc = new JCatchStatement( v );
            _catchStatements.add(rc);
        }

        return rc;
    }
View Full Code Here

        return rc;
    }

    public void addCatchStatement( JVariable v, JStatement s )
    {
        JCatchStatement cs = getCatch( v );

        if (cs == null)
        {
            cs = newCatch( v );
        }

        cs.addStatement( s );
    }
View Full Code Here

TOP

Related Classes of gcc.generator.JCatchStatement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.