Class: Antlr4::Runtime::IntStream

Inherits:
Object
  • Object
show all
Defined in:
lib/antlr4/runtime/int_stream.rb

Direct Known Subclasses

CharStream, TokenStream

Constant Summary collapse

EOF =
-1
UNKNOWN_SOURCE_NAME =
'<unknown>'.freeze

Instance Method Summary collapse

Instance Method Details

#consumeObject



7
8
# File 'lib/antlr4/runtime/int_stream.rb', line 7

def consume
end

#indexObject



19
20
# File 'lib/antlr4/runtime/int_stream.rb', line 19

def index
end

#la(i) ⇒ Object



10
11
# File 'lib/antlr4/runtime/int_stream.rb', line 10

def la(i)
end

#markObject



13
14
# File 'lib/antlr4/runtime/int_stream.rb', line 13

def mark
end

#release(marker) ⇒ Object



16
17
# File 'lib/antlr4/runtime/int_stream.rb', line 16

def release(marker)
end

#seek(index) ⇒ Object



22
23
# File 'lib/antlr4/runtime/int_stream.rb', line 22

def seek(index)
end

#sizeObject



25
26
# File 'lib/antlr4/runtime/int_stream.rb', line 25

def size
end

#source_nameObject



28
29
# File 'lib/antlr4/runtime/int_stream.rb', line 28

def source_name
end