MCPcopy Index your code
hub / github.com/uber/aresdb / NewCaseChangingStream

Function NewCaseChangingStream

query/sql/util/caseInsensitiveStream.go:34–38  ·  view source on GitHub ↗

NewCaseChangingStream returns a new CaseChangingStream that forces all tokens read from the underlying stream to be either upper case or lower case based on the upper argument.

(in antlr.CharStream, upper bool)

Source from the content-addressed store, hash-verified

32// all tokens read from the underlying stream to be either upper case
33// or lower case based on the upper argument.
34func NewCaseChangingStream(in antlr.CharStream, upper bool) *CaseChangingStream {
35 return &CaseChangingStream{
36 in, upper,
37 }
38}
39
40// LA gets the value of the symbol at offset from the current position
41// from the underlying CharStream and converts it to either upper case

Callers 1

ParseFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected