Beispiel #1
0
        static void Main(string[] args)
        {
            FileStream file = null;
            KrystalScanner scanner = null;
            KrystalParser parser = null;

            try
            {
                file = new FileStream("test.kst", FileMode.Open);
                scanner = new KrystalScanner(file);
                parser = new KrystalParser(scanner);
                parser.Parse();

            }
            finally
            {
                file.Close();

                Console.WriteLine("");
                Console.WriteLine("press enter to exit...");
                Console.ReadLine();
            }
        }
Beispiel #2
0
 public KrystalParser(KrystalScanner scanner)
     : base(scanner)
 {
 }