コード例 #1
0
        private void MetroBtnLexico_Click(object sender, EventArgs e)
        {
            string src  = @"C:\Users\Peeko\Desktop\Code\Compi\go.go";
            string file = File.ReadAllText(src);

            txb_Texto.Text = file;
            string text = txb_Texto.Text;

            tablaResultados.Rows.Clear();
            TablaErrores.Rows.Clear();

            var lexico = new Lexico();

            lexico.cadena       = text;
            lexico.resultsTable = tablaResultados;
            lexico.analizarLexico();
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: serfer494/Compi
 private void Form1_Load(object sender, EventArgs e)
 {
     Lexico lexi = new Lexico();
 }
コード例 #3
0
ファイル: Ensamblador2.cs プロジェクト: serfer494/Compi
 public Ensamblador2(Lexico lexi, Sintactico sint)
 {
     this.lexi = lexi;
     this.sint = sint;
 }