Class: ANTLR3::Rewrite::Delete

Inherits:
Replace show all
Defined in:
lib/antlr3/streams/rewrite.rb

Overview

Represents rewrite operation:

skip over the tokens indexed within the range op.index .. op.last_index and do not add any text to the rewrite buffer

Instance Attribute Summary

Attributes inherited from RewriteOperation

#location, #stream, #text

Instance Method Summary collapse

Methods inherited from Replace

#execute, #index, #location=

Methods inherited from RewriteOperation

#execute, #inspect, #name

Constructor Details

#initialize(stream, location) ⇒ Delete

Returns a new instance of Delete.


159
160
161
# File 'lib/antlr3/streams/rewrite.rb', line 159

def initialize( stream, location )
  super( stream, location, nil )
end