Class: Jade::Symbol::Constructor

Inherits:
Data
  • Object
show all
Includes:
Base
Defined in:
lib/jade/symbol/constructor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Base

#constructor_refs, #qualified_name

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



3
4
5
# File 'lib/jade/symbol/constructor.rb', line 3

def args
  @args
end

#decl_spanObject (readonly)

Returns the value of attribute decl_span

Returns:

  • (Object)

    the current value of decl_span



3
4
5
# File 'lib/jade/symbol/constructor.rb', line 3

def decl_span
  @decl_span
end

#module_nameObject (readonly)

Returns the value of attribute module_name

Returns:

  • (Object)

    the current value of module_name



3
4
5
# File 'lib/jade/symbol/constructor.rb', line 3

def module_name
  @module_name
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/jade/symbol/constructor.rb', line 3

def name
  @name
end

#parentObject (readonly)

Returns the value of attribute parent

Returns:

  • (Object)

    the current value of parent



3
4
5
# File 'lib/jade/symbol/constructor.rb', line 3

def parent
  @parent
end

Instance Method Details

#to_refObject



6
7
8
# File 'lib/jade/symbol/constructor.rb', line 6

def to_ref
  ValueRef[module_name, name]
end