Class: Jade::Symbol::Interface

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Base

#constructor_refs, #qualified_name

Instance Attribute Details

#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/interface.rb', line 3

def decl_span
  @decl_span
end

#defaultObject (readonly)

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



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

def default
  @default
end

#functionsObject (readonly)

Returns the value of attribute functions

Returns:

  • (Object)

    the current value of functions



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

def functions
  @functions
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/interface.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/interface.rb', line 3

def name
  @name
end

#type_paramObject (readonly)

Returns the value of attribute type_param

Returns:

  • (Object)

    the current value of type_param



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

def type_param
  @type_param
end

Instance Method Details

#to_refObject



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

def to_ref
  TypeRef[module_name, name]
end