public void compile(Sentence<Clause> sentence) throws SourceCodeException
    {
        Clause clause = sentence.getT();

        substituteBuiltIns(clause);
        initialiseSymbolTable(clause);
        topLevelCheck(clause);

        if (observer != null)
        {
            if (clause.isQuery())
            {
                observer.onQueryCompilation(sentence);
            }
            else
            {
                observer.onCompilation(sentence);
            }
        }
    }
public void compile(Sentence<Clause> sentence) throws SourceCodeException
    {
        Clause clause = sentence.getT();

        substituteBuiltIns(clause);
        initialiseSymbolTable(clause);
        topLevelCheck(clause);

        if (observer != null)
        {
            if (clause.isQuery())
            {
                observer.onQueryCompilation(sentence);
            }
            else
            {
                observer.onCompilation(sentence);
            }
        }
    }
public void compile ( Sentence < Clause > sentence ) throws SourceCodeException { Clause clause = sentence . getT ( ) ; substituteBuiltIns ( clause ) ; initialiseSymbolTable ( clause ) ; topLevelCheck ( clause ) ; if ( observer != null ) { if ( clause . isQuery ( ) ) { observer . onQueryCompilation ( sentence ) ; } else { observer . onCompilation ( sentence ) ; } } }
{@inheritDoc}
{