Example #1
0
 public LispParser(TokenStream input, int port) {
   super(input, port);
   DebugEventSocketProxy proxy = new DebugEventSocketProxy(this, port, null);
   setDebugListener(proxy);
   try {
     proxy.handshake();
   } catch (IOException ioe) {
     reportError(ioe);
   }
 }
 public calcParser(TokenStream input, int port, RecognizerSharedState state) {
   super(input, state);
   DebugEventSocketProxy proxy = new DebugEventSocketProxy(this, port, null);
   setDebugListener(proxy);
   try {
     proxy.handshake();
   } catch (IOException ioe) {
     reportError(ioe);
   }
 }