public override void VisitMainClass(string mainClass) { mainClassIndex = symbolTable.AddConstantClass(mainClass).index; }