Exemplo n.º 1
0
        // Get This was an Australian radio comedy show which aired on Triple M and was hosted
        // by Tony Martin and Ed Kavalee, with contributions from panel operator, Richard Marsland.
        // A different guest co-host was featured nearly every day on the show and included music played throughout.
        // On the 15 October 2007 episode, the Get This team announced that Triple M/Austereo would not be renewing the show for 2008.
        // The final broadcast was on 23 November 2007. During its lifetime and since its cancellation, Get This developed a strong cult following.
        public Element GetThis(Location errorLocation)
        {
            ScopeGroup check = this;
            Element    @this = null;

            while (check != null && @this == null)
            {
                @this = check.This;
                check = check.Parent;
            }

            if (errorLocation != null && @this == null)
            {
                throw SyntaxErrorException.ThisCantBeUsed(errorLocation);
            }

            return(@this);
        }