|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScannerWithLocInfo
Extension of the Scanner interface that includes methods for getting the current file and line number.
Method Summary | |
---|---|
java.lang.String |
getCurFilename()
Returns the name of the file being scanned. |
int |
getCurLineNum()
Returns the number of the line containing the beginning of the last token matched. |
Methods inherited from interface java_cup.runtime.Scanner |
---|
next_token |
Method Detail |
---|
java.lang.String getCurFilename()
int getCurLineNum()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |