Module: Finitio::Syntax::Expr::Identifier

Includes:
Finitio::Syntax::Expr
Defined in:
lib/finitio/syntax/expr/identifier.rb

Constant Summary

Constants included from Finitio::Syntax::Expr

WORLD_VAR

Instance Method Summary collapse

Methods included from Finitio::Syntax::Expr

#free_variables, included, #to_proc, #to_proc_src

Methods included from Node

included, #metadata, #resolve_ruby_const, #unique_names!

Instance Method Details

#_free_variables(fvs) ⇒ Object



11
12
13
# File 'lib/finitio/syntax/expr/identifier.rb', line 11

def _free_variables(fvs)
  fvs << self.to_str
end

#to_proc_source(free = true) ⇒ Object



7
8
9
# File 'lib/finitio/syntax/expr/identifier.rb', line 7

def to_proc_source(free = true)
  self.to_str
end