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:
parent
9a2e97825b
commit
6fffb452a8
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
* {@link BacktrackException} will be thrown.
|
||||
* The next token is consumed. Afterwards its type is checked and a {@link BacktrackException}
|
||||
* is thrown if the type does not match the expected one.
|
||||
* @param type the expected type of the next token.
|
||||
*/
|
||||
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
|
||||
* {@link BacktrackException} will be thrown.
|
||||
* The next token is consumed. Afterwards its type is checked and a {@link BacktrackException}
|
||||
* 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 {
|
||||
final IToken result= consume();
|
||||
|
|
Loading…
Add table
Reference in a new issue