public class CaseChangingCharStream extends Object implements org.antlr.v4.runtime.CharStream
Constructor and Description |
---|
CaseChangingCharStream(org.antlr.v4.runtime.CharStream stream,
boolean upper)
Constructs a new CaseChangingCharStream wrapping the given
CharStream forcing all
characters to upper case or lower case. |
Modifier and Type | Method and Description |
---|---|
void |
consume() |
String |
getSourceName() |
String |
getText(org.antlr.v4.runtime.misc.Interval interval) |
int |
index() |
int |
LA(int i) |
int |
mark() |
void |
release(int marker) |
void |
seek(int index) |
int |
size() |
public CaseChangingCharStream(org.antlr.v4.runtime.CharStream stream, boolean upper)
CharStream
forcing all
characters to upper case or lower case.stream
- The stream to wrap.upper
- If true force each symbol to upper case, otherwise force to lower.public String getText(org.antlr.v4.runtime.misc.Interval interval)
getText
in interface org.antlr.v4.runtime.CharStream
public void consume()
consume
in interface org.antlr.v4.runtime.IntStream
public int LA(int i)
LA
in interface org.antlr.v4.runtime.IntStream
public int mark()
mark
in interface org.antlr.v4.runtime.IntStream
public void release(int marker)
release
in interface org.antlr.v4.runtime.IntStream
public int index()
index
in interface org.antlr.v4.runtime.IntStream
public void seek(int index)
seek
in interface org.antlr.v4.runtime.IntStream
public int size()
size
in interface org.antlr.v4.runtime.IntStream
public String getSourceName()
getSourceName
in interface org.antlr.v4.runtime.IntStream
Copyright © 2024 PingCAP. All rights reserved.