Class: CodeTools::AST::DynamicSymbol

Inherits:
DynamicString show all
Defined in:
lib/rubinius/code/ast/literals.rb

Instance Attribute Summary

Attributes inherited from DynamicString

#array, #options

Attributes inherited from StringLiteral

#string

Attributes inherited from Node

#line

Instance Method Summary collapse

Methods inherited from DynamicString

#defined, #initialize, #to_sexp

Methods inherited from StringLiteral

#defined, #initialize, #to_sexp

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, #to_sexp, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #value_defined, #visit, #walk

Constructor Details

This class inherits a constructor from CodeTools::AST::DynamicString

Instance Method Details

#bytecode(g) ⇒ Object



522
523
524
525
# File 'lib/rubinius/code/ast/literals.rb', line 522

def bytecode(g)
  super(g)
  g.send :to_sym, 0, true
end

#sexp_nameObject



527
528
529
# File 'lib/rubinius/code/ast/literals.rb', line 527

def sexp_name
  :dsym
end