class ANTLR3::AST::RewriteRuleNodeStream

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 1377
def dup( el )
  raise TypeError, "dup can't be called for a node stream"
end
to_tree( el ) click to toggle source
# File lib/antlr3/tree.rb, line 1373
def to_tree( el )
  @adaptor.copy_node( el )
end