Class: Rubinius::AST::DynamicRegex
- Inherits:
-
DynamicString
- Object
- Node
- StringLiteral
- DynamicString
- Rubinius::AST::DynamicRegex
- Defined in:
- lib/compiler/ast/literals.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from DynamicString
Attributes inherited from StringLiteral
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, str, array, flags) ⇒ DynamicRegex
constructor
A new instance of DynamicRegex.
- #sexp_name ⇒ Object
Methods inherited from DynamicString
Methods inherited from StringLiteral
Methods inherited from Node
#ascii_graph, #attributes, #children, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, node_name, #pos, #set_child, #to_sexp, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #visit, #walk
Constructor Details
#initialize(line, str, array, flags) ⇒ DynamicRegex
Returns a new instance of DynamicRegex.
185 186 187 188 |
# File 'lib/compiler/ast/literals.rb', line 185 def initialize(line, str, array, flags) super line, str, array @options = flags || 0 end |
Instance Method Details
#sexp_name ⇒ Object
190 191 192 |
# File 'lib/compiler/ast/literals.rb', line 190 def sexp_name :dregx end |