Sha256: ffdb537043db54fc3e686d0dc1b06e0960e2443e80442e900ed85ee122f24ee9
Contents?: true
Size: 1.6 KB
Versions: 1
Compression:
Stored size: 1.6 KB
Contents
# 完成所有函数的声明 module Antlr4ruby class BufferedTokenStream def initialize(token_source) @token_source = token_source end protected attr_accessor :token_source, :tokens, :p, :fetched_eof def sync(i) # todo end def fetch(n) # todo end def lb(k) # todo end def adjust_seek_index(i) i; end def lazy_init # todo end def setup # todo end def next_token_on_channel(i, channel) # todo end def previous_token_on_channel(i, channel) # todo end def filter_for_channel(from, to, channel) # todo end public def get_token_source @token_source end def index @p end def mark 0 end def release(marker) end def seek(index) # todo end def size tokens.length end def consume # todo end def get_multi(start, stop) # todo end def la(i) # todo end def lt(k) # todo end def get_text(rule_context: nil, interval: nil, start: nil, stop: nil) # todo end def fill # todo end def set_token_source(token_source) # todo end def get_tokens(start, stop, types) # todo 改成关键字参数 end def get_hidden_tokens_to_right(token_index, channel = -1) # todo end def get_hidden_tokens_to_left(token_index, channel = -1) # todo end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
antlr4ruby-0.1.0 | lib/antlr4ruby/buffered_token_stream.rb |