1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Adjust java-doc.

This commit is contained in:
Markus Schorn 2011-04-11 12:48:35 +00:00
parent 9a2e97825b
commit 6fffb452a8

View file

@ -462,8 +462,8 @@ public abstract class AbstractGNUSourceCodeParser implements ISourceCodeParser {
} }
/** /**
* If the type of the next token matches, it is consumed and returned. Otherwise a * The next token is consumed. Afterwards its type is checked and a {@link BacktrackException}
* {@link BacktrackException} will be thrown. * is thrown if the type does not match the expected one.
* @param type the expected type of the next token. * @param type the expected type of the next token.
*/ */
protected final IToken consume(int type) throws EndOfFileException, BacktrackException { protected final IToken consume(int type) throws EndOfFileException, BacktrackException {
@ -474,8 +474,8 @@ public abstract class AbstractGNUSourceCodeParser implements ISourceCodeParser {
} }
/** /**
* If the type of the next token matches, it is consumed and returned. Otherwise a * The next token is consumed. Afterwards its type is checked and a {@link BacktrackException}
* {@link BacktrackException} will be thrown. * is thrown if the type neither matches <code>type1</code> nor <code>type2</code>.
*/ */
protected final IToken consume(int type1, int type2) throws EndOfFileException, BacktrackException { protected final IToken consume(int type1, int type2) throws EndOfFileException, BacktrackException {
final IToken result= consume(); final IToken result= consume();