|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcompiler.test.LexicalTestCase
public class LexicalTestCase
Esta clase contiene el método main para probar el analizador léxico, sin tener terminado el sintáctico. Puede añadirse código si el alumno lo cree necesario, pero no ha de modificarse el proporcionado.
Constructor Summary | |
---|---|
LexicalTestCase()
Constructor for LexicalTestCase. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Starts the scanner test case. |
void |
testScan(java.lang.String fileName)
Tests the scanner. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LexicalTestCase()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- An 1 element array containing the path to the input file.public void testScan(java.lang.String fileName)
test
- The test file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |