Class: Poetics::Syntax::Value

Inherits:
Node
  • Object
show all
Defined in:
lib/poetics/syntax/literal.rb

Direct Known Subclasses

Number, String

Instance Attribute Summary

Attributes inherited from Node

#column, #line

Instance Method Summary collapse

Methods inherited from Node

#initialize

Constructor Details

This class inherits a constructor from Poetics::Syntax::Node

Instance Method Details

#to_sexpObject



4
5
6
# File 'lib/poetics/syntax/literal.rb', line 4

def to_sexp
  [sexp_name, value, line, column]
end