correction TurtelLexer, plus d'erreur

This commit is contained in:
trochas
2025-02-07 15:48:01 +01:00
parent 467b9b58df
commit 35eff0771e

View File

@@ -1,9 +1,23 @@
package TP1;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.Token;
import org.antlr.runtime.TokenSource;
public class TurtleLexer {
public class TurtleLexer implements TokenSource {
public TurtleLexer(CharStream input){
}
@Override
public Token nextToken() {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'nextToken'");
}
@Override
public String getSourceName() {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'getSourceName'");
}
}