Exemplo n.º 1
0
        public void Parse(List <TokenRecord> tokens)
        {
            _tokensList = tokens;
            ErrorList   = new List <string>();

            try
            {
                ProgramRoot = ParseProgram();
            }
            catch (InvalidOperationException e)
            {
                // End of code!
                Console.WriteLine(e);
            }
        }
Exemplo n.º 2
0
 public ProgramBuilder()
 {
     _programRule = new ProgramRule();
 }