|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.caja.parser.css.CssParser.RecoveryStrategy
private abstract static class CssParser.RecoveryStrategy
After a parse failure, consumes tokens from the stream until we are at a likely good position.
Constructor Summary | |
---|---|
private |
CssParser.RecoveryStrategy()
|
Method Summary | |
---|---|
(package private) abstract void |
recover(CssParser p,
TokenQueue.Mark start)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private CssParser.RecoveryStrategy()
Method Detail |
---|
abstract void recover(CssParser p, TokenQueue.Mark start) throws ParseException
p
- a parser with a token queue positioned after a parse failure.start
- the position of the start of the malformed construct.
This is used to report which tokens are being discarded without
producing content.
ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |