Update documentation

This commit is contained in:
Sam Harwell 2012-07-18 12:34:07 -05:00
parent a37f8cf4f1
commit 29d71acef9
6 changed files with 9 additions and 9 deletions

View File

@ -56,7 +56,7 @@ public class DefaultErrorStrategy implements ANTLRErrorStrategy {
/** The index into the input stream where the last error occurred.
* This is used to prevent infinite loops where an error is found
* but no token is consumed during recovery...another error is found,
* ad naseum. This is a failsafe mechanism to guarantee that at least
* ad nauseum. This is a failsafe mechanism to guarantee that at least
* one token/tree node is consumed for two errors.
*/
protected int lastErrorIndex = -1;

View File

@ -73,12 +73,12 @@ public class UnbufferedCharStream implements CharStream {
/** What is name or source of this char stream? */
public String name;
/** Useful for sublasses that pull char from other than this.input. */
/** Useful for subclasses that pull char from other than this.input. */
public UnbufferedCharStream() {
this(256);
}
/** Useful for sublasses that pull char from other than this.input. */
/** Useful for subclasses that pull char from other than this.input. */
public UnbufferedCharStream(int bufferSize) {
n = 0;
data = new char[bufferSize];

View File

@ -31,7 +31,7 @@ package org.antlr.v4.codegen.model.decl;
import org.antlr.v4.codegen.OutputModelFactory;
/** public XContext X() { } */
/** {@code public XContext X() { }} */
public class ContextRuleGetterDecl extends ContextGetterDecl {
public String ctxName;
public ContextRuleGetterDecl(OutputModelFactory factory, String name, String ctxName) {

View File

@ -31,8 +31,8 @@ package org.antlr.v4.codegen.model.decl;
import org.antlr.v4.codegen.OutputModelFactory;
/** public List<XContext> X() { }
* public XContext X(int i) { }
/** {@code public List<XContext> X() { }
* public XContext X(int i) { }}
*/
public class ContextRuleListGetterDecl extends ContextGetterDecl {
public String ctxName;

View File

@ -31,7 +31,7 @@ package org.antlr.v4.codegen.model.decl;
import org.antlr.v4.codegen.OutputModelFactory;
/** public Token X() { } */
/** {@code public Token X() { }} */
public class ContextTokenGetterDecl extends ContextGetterDecl {
public ContextTokenGetterDecl(OutputModelFactory factory, String name) {
super(factory, name);

View File

@ -31,8 +31,8 @@ package org.antlr.v4.codegen.model.decl;
import org.antlr.v4.codegen.OutputModelFactory;
/** public List<Token> X() { }
* public Token X(int i) { }
/** {@code public List<Token> X() { }
* public Token X(int i) { }}
*/
public class ContextTokenListGetterDecl extends ContextGetterDecl {
public ContextTokenListGetterDecl(OutputModelFactory factory, String name) {