예제 #1
0
        private void Parse_Click(object sender, RoutedEventArgs e)
        {
            _parser = new Parser();
            _parser.TransferTokens(_tokenizer._output);
            _parser.Parse();
            string tokenOutput = jackProgram.FullName.Substring(
                0,
                jackProgram.FullName.Length - 5) + "_.xml";

            _parser.SaveToXML(tokenOutput);

            Parsed_TextBox.Text = FormatXML(_parser.GetXML());
        }