|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hdcookbook.grin.io.text.ForwardReference
public abstract class ForwardReference
Used by the parser when it encounters something that might be a forward reference. It's used to defer some computation in parsing until the reference is resolved.
Constructor Summary | |
---|---|
ForwardReference(Lexer lexer)
|
Method Summary | |
---|---|
void |
reportError(java.lang.String msg)
Convenience method for reporting an error. |
abstract void |
resolve()
Called by the parser after the entire file has been parsed, and it's time to resolve this forward reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForwardReference(Lexer lexer)
Method Detail |
---|
public abstract void resolve() throws java.io.IOException
java.io.IOException
public void reportError(java.lang.String msg) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |