• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * A source of characters for an ANTLR lexer.
3 * This class should not be instantiated directly.  Instead, use one of its subclasses.
4 * @class
5 * @extends org.antlr.runtime.IntStream
6 */
7org.antlr.runtime.CharStream = function() {};
8org.antlr.runtime.IntStream = function() {};
9
10org.antlr.lang.extend(org.antlr.runtime.CharStream,
11                      org.antlr.runtime.IntStream);
12
13org.antlr.lang.augmentObject(org.antlr.runtime.CharStream,
14/** @lends org.antlr.runtime.CharStream */
15{
16    /**
17     * Token type of the EOF character.
18     * @type Number
19     */
20    EOF: -1
21});
22