AIMA.Core.Logic.Propositional.Parsing.PEParser.parseSentence C# (CSharp) 메소드

parseSentence() 개인적인 메소드

private parseSentence ( ) : Sentence
리턴 AIMA.Core.Logic.Propositional.Parsing.Ast.Sentence
        private Sentence parseSentence()
        {
            if (detectAtomicSentence())
            {
                return parseAtomicSentence();
            }
            else if (detectBracket())
            {
                return parseBracketedSentence();
            }
            else if (detectNOT())
            {
                return parseNotSentence();
            }
            else
            {

                throw new ApplicationException("Parser Error Token = " + lookAhead(1));
            }
        }