Java org.antlr.v4.runtime CharStream fields, constructors, methods, implement or subclass

Example usage for Java org.antlr.v4.runtime CharStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.antlr.v4.runtime CharStream.

The text is from its open source code.

Implementation

org.antlr.v4.runtime.CharStream has the following implementations.
Click this link to see all its implementation.

Method

StringgetText(Interval interval)
This method returns the text for a range of characters within this input stream.
intindex()
Return the index into the stream of the input symbol referred to by LA(1) .
intLA(int i)
Gets the value of the symbol at offset i from the current position.
voidseek(int index)
Set the input cursor to the position indicated by index .
intsize()
Returns the total number of symbols in the stream, including a single EOF symbol.