Class: Crokus::StrLit
Instance Attribute Summary
Attributes inherited from Literal
Class Method Summary collapse
Methods inherited from Literal
Methods inherited from Ast
Constructor Details
This class inherits a constructor from Crokus::Literal
Class Method Details
.create(str) ⇒ Object
446 447 448 |
# File 'lib/crokus/ast.rb', line 446 def self.create str StrLit.new( Token.new [:string_lit,"\"#{str}\"",[0,0]] ) end |