MCPcopy Create free account
hub / github.com/cel-expr/cel-go / GetTextFromInterval

Method GetTextFromInterval

parser/input.go:113–115  ·  view source on GitHub ↗

GetTextFromInterval implements (antlr.CharStream).GetTextFromInterval.

(i antlr.Interval)

Source from the content-addressed store, hash-verified

111
112// GetTextFromInterval implements (antlr.CharStream).GetTextFromInterval.
113func (c *charStream) GetTextFromInterval(i antlr.Interval) string {
114 return c.GetText(i.Start, i.Stop)
115}
116
117// String mimics (*antlr.InputStream).String.
118func (c *charStream) String() string {

Callers

nothing calls this directly

Calls 1

GetTextMethod · 0.95

Tested by

no test coverage detected