Esempio n. 1
0
        private StreamReader reader; // reader for the source program

        #endregion Fields

        #region Constructors

        public Source(StreamReader reader)
        {
            this.lineNum = 0;
            this.currentPos = -2; //set to -2 to read the first source line
            this.reader = reader;
            this.messageHandler = new MessageHandler();
        }
Esempio n. 2
0
 static Backend()
 {
     messageHandler = new MessageHandler();
 }
Esempio n. 3
0
 static Parser()  // static constructor
 {
     symbolTableStack = SymbolTableFactory.CreateSymbolTableStack();
     messageHandler = new MessageHandler();
 }