Exemple #1
0
 public void eofError(String message, int startLine, int startColumn) throws SyntaxException {
   error('f', port.getName(), startLine, startColumn, message);
   throw new SyntaxException(messages);
 }
Exemple #2
0
 public String getName() {
   return port.getName();
 }
Exemple #3
0
 public void error(char severity, String message) {
   int line = port.getLineNumber();
   int column = port.getColumnNumber();
   error(severity, port.getName(), line + 1, column >= 0 ? column + 1 : 0, message);
 }