19.04.2013 Views

Parte 3 - Unicamp

Parte 3 - Unicamp

Parte 3 - Unicamp

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Interface com o analisador léxico<br />

• Para operar em conjunto com o analisador<br />

sintático gerado pelo CUP, o analisador léxico<br />

deve implementar a seguinte interface:<br />

package java_cup.runtime;<br />

public interface Scanner {<br />

public Symbol next_token()<br />

throws java.lang.Exception;<br />

}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!