Пример #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);
   }
 }
Пример #2
0
 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);
   }
 }