Skip to content

Commit

Permalink
Camel-case parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 12, 2023
1 parent a88a0f5 commit 12de168
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/examples/Mini/ASCII_CharStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -237,21 +237,21 @@ static public char readChar() throws IOException {
return c;
}

static public void ReInit(final java.io.InputStream dstream, final int startline, final int startColumn) {
ReInit(dstream, startline, startColumn, 4096);
static public void ReInit(final java.io.InputStream dstream, final int startLine, final int startColumn) {
ReInit(dstream, startLine, startColumn, 4096);
}

static public void ReInit(final java.io.InputStream dstream, final int startline, final int startColumn, final int bufferSize) {
ReInit(new java.io.InputStreamReader(dstream), startline, startColumn, 4096);
static public void ReInit(final java.io.InputStream dstream, final int startLine, final int startColumn, final int bufferSize) {
ReInit(new java.io.InputStreamReader(dstream), startLine, startColumn, 4096);
}

static public void ReInit(final java.io.Reader dstream, final int startline, final int startColumn) {
ReInit(dstream, startline, startColumn, 4096);
static public void ReInit(final java.io.Reader dstream, final int startLine, final int startColumn) {
ReInit(dstream, startLine, startColumn, 4096);
}

static public void ReInit(final java.io.Reader dstream, final int startline, final int startColumn, final int bufferSize) {
static public void ReInit(final java.io.Reader dstream, final int startLine, final int startColumn, final int bufferSize) {
inputStream = dstream;
line = startline;
line = startLine;
column = startColumn - 1;

if (buffer == null || bufferSize != buffer.length) {
Expand Down Expand Up @@ -299,25 +299,25 @@ static private void UpdateLineColumn(final char c) {
bufcolumn[bufpos] = column;
}

public ASCII_CharStream(final java.io.InputStream dstream, final int startline, final int startColumn) {
this(dstream, startline, startColumn, 4096);
public ASCII_CharStream(final java.io.InputStream dstream, final int startLine, final int startColumn) {
this(dstream, startLine, startColumn, 4096);
}

public ASCII_CharStream(final java.io.InputStream dstream, final int startline, final int startColumn, final int bufferSize) {
this(new java.io.InputStreamReader(dstream), startline, startColumn, 4096);
public ASCII_CharStream(final java.io.InputStream dstream, final int startLine, final int startColumn, final int bufferSize) {
this(new java.io.InputStreamReader(dstream), startLine, startColumn, 4096);
}

public ASCII_CharStream(final java.io.Reader dstream, final int startline, final int startColumn) {
this(dstream, startline, startColumn, 4096);
public ASCII_CharStream(final java.io.Reader dstream, final int startLine, final int startColumn) {
this(dstream, startLine, startColumn, 4096);
}

public ASCII_CharStream(final java.io.Reader dstream, final int startline, final int startColumn, final int bufferSize) {
public ASCII_CharStream(final java.io.Reader dstream, final int startLine, final int startColumn, final int bufferSize) {
if (inputStream != null) {
throw new Error("\n ERROR: Second call to the constructor of a static ASCII_CharStream. You must\n"
+ " either use ReInit() or set the JavaCC option STATIC to false\n" + " during the generation of this class.");
}
inputStream = dstream;
line = startline;
line = startLine;
column = startColumn - 1;

available = bufsize = bufferSize;
Expand Down

0 comments on commit 12de168

Please sign in to comment.