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
596 597 598 599 600 601 602 |
# File 'lib/rubinius/code/ast/literals.rb', line 596 def bytecode(g) pos(g) g.push_self super(g) g.send :`, 1, true # ` (silly vim/emacs) end |
#to_sexp ⇒ Object
604 605 606 |
# File 'lib/rubinius/code/ast/literals.rb', line 604 def to_sexp [:xstr, @string] end |