Package org.rascalmpl.interpreter.staticErrors

Examples of org.rascalmpl.interpreter.staticErrors.UndeclaredNonTerminal


    catch (ParseError pe) {
      ISourceLocation errorLoc = values.sourceLocation(pe.getLocation(), pe.getOffset(), pe.getLength(), pe.getBeginLine() + 1, pe.getEndLine() + 1, pe.getBeginColumn(), pe.getEndColumn());
      throw RuntimeExceptionFactory.parseError(errorLoc, ctx.getCurrentAST(), ctx.getStackTrace());
    }
    catch (UndeclaredNonTerminalException e){
      throw new UndeclaredNonTerminal(e.getName(), e.getClassName(), ctx.getCurrentAST());
    }
  }
View Full Code Here


    catch (ParseError pe) {
      ISourceLocation errorLoc = values.sourceLocation(pe.getLocation(), pe.getOffset(), pe.getLength(), pe.getBeginLine() + 1, pe.getEndLine() + 1, pe.getBeginColumn(), pe.getEndColumn());
      throw RuntimeExceptionFactory.parseError(errorLoc, null, null);
    }
    catch (UndeclaredNonTerminalException e){
      throw new UndeclaredNonTerminal(e.getName(), e.getClassName(), ctx.getCurrentAST());
    }
  }
View Full Code Here

    catch (ParseError pe) {
      ISourceLocation errorLoc = values.sourceLocation(pe.getLocation(), pe.getOffset(), pe.getLength(), pe.getBeginLine(), pe.getEndLine(), pe.getBeginColumn(), pe.getEndColumn());
      throw RuntimeExceptionFactory.parseError(errorLoc, null, null);
    }
    catch (UndeclaredNonTerminalException e){
      throw new UndeclaredNonTerminal(e.getName(), e.getClassName(), ctx.getCurrentAST());
    }
  }
View Full Code Here

TOP

Related Classes of org.rascalmpl.interpreter.staticErrors.UndeclaredNonTerminal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.