Class: ANTLR3::Rewrite::Delete
- Inherits:
-
Replace
- Object
- Struct
- RewriteOperation
- Replace
- ANTLR3::Rewrite::Delete
- 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
Instance Method Summary collapse
-
#initialize(stream, location) ⇒ Delete
constructor
A new instance of Delete.
Methods inherited from Replace
Methods inherited from RewriteOperation
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 |