Example #1
0
        public bool Parse(string source)
        {
            scanner = new Scanner(source);

            while (!scanner.IsEnd)
            {
                if (!ParseLine())
                    return false;
                SkipOne('\r');
                SkipOne('\n');
            }

            return true;
        }
Example #2
0
        public bool ParseExpression(string source)
        {
            scanner = new Scanner(source);

            return Expression();
        }