Class: LibRubyParser::Nodes::RegOpt
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::RegOpt
- Defined in:
- lib/lib-ruby-parser/nodes.rb
Overview
Represents flags of the regex literal (i.e. mix
for /foo/mix
)
Instance Attribute Summary collapse
-
#expression_l ⇒ Loc
readonly
Location of the full expression.
-
#options ⇒ String?
readonly
A list of flags.
Instance Attribute Details
#expression_l ⇒ Loc (readonly)
Location of the full expression
/foo/mix
~~~
3487 3488 3489 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3487 def expression_l @expression_l end |
#options ⇒ String? (readonly)
A list of flags
3478 3479 3480 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3478 def @options end |