Class: Rubinius::ToolSet.current::TS::AST::ExecuteString
- Inherits:
-
StringLiteral
- Object
- Node
- StringLiteral
- Rubinius::ToolSet.current::TS::AST::ExecuteString
- Defined in:
- lib/rubinius/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 Rubinius::ToolSet.current::TS::AST::StringLiteral
Instance Method Details
#bytecode(g) ⇒ Object
529 530 531 532 533 534 535 |
# File 'lib/rubinius/ast/literals.rb', line 529 def bytecode(g) pos(g) g.push :self super(g) g.send :`, 1, true # ` (silly vim/emacs) end |
#to_sexp ⇒ Object
537 538 539 |
# File 'lib/rubinius/ast/literals.rb', line 537 def to_sexp [:xstr, @string] end |