class ANTLR3::AST::RewriteRuleSubtreeStream
Special type of stream that is used internally by tree-building and tree- rewriting parsers.
Public Instance Methods
dup( el )
click to toggle source
# File lib/antlr3/tree.rb, line 1358 def dup( el ) @adaptor.copy_tree( el ) end
next_node()
click to toggle source
# File lib/antlr3/tree.rb, line 1351 def next_node if @dirty or @cursor >= length && length == 1 return @adaptor.copy_node( __next__ ) end return __next__ end