Class: CodeTools::AST::ExecuteString
- Inherits:
-
StringLiteral
- Object
- Node
- StringLiteral
- CodeTools::AST::ExecuteString
- Defined in:
- lib/rubinius/code/ast/literals.rb
Instance Attribute Summary
Attributes inherited from StringLiteral
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from StringLiteral
Methods inherited from Node
#ascii_graph, #attributes, #children, #defined, #initialize, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, #or_bytecode, #pos, #set_child, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #value_defined, #visit, #walk
Constructor Details
This class inherits a constructor from CodeTools::AST::StringLiteral
Instance Method Details
#bytecode(g) ⇒ Object
627 628 629 630 631 632 633 |
# File 'lib/rubinius/code/ast/literals.rb', line 627 def bytecode(g) pos(g) g.push_self super(g) g.send :`, 1, true # ` (silly vim/emacs) end |
#to_sexp ⇒ Object
635 636 637 |
# File 'lib/rubinius/code/ast/literals.rb', line 635 def to_sexp [:xstr, @string] end |