Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/nendo.rb

Instance Method Summary collapse

Instance Method Details

#linenoObject



41
42
43
# File 'lib/nendo.rb', line 41

def lineno
  @token ? @token.lineno : 1
end

#setLispToken(token) ⇒ Object



35
36
37
# File 'lib/nendo.rb', line 35

def setLispToken( token )
  @token = token
end

#sourcefileObject



38
39
40
# File 'lib/nendo.rb', line 38

def sourcefile
  @token ? @token.sourcefile : ""
end