Class: Jade::Symbol::InterfaceFunction

Inherits:
Data
  • Object
show all
Includes:
Base
Defined in:
lib/jade/symbol/interface_function.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_function.rb', line 3

def decl_span
  @decl_span
end

#interfaceObject (readonly)

Returns the value of attribute interface

Returns:

  • (Object)

    the current value of interface



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

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

def name
  @name
end

#paramsObject (readonly)

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



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

def params
  @params
end

#return_typeObject (readonly)

Returns the value of attribute return_type

Returns:

  • (Object)

    the current value of return_type



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

def return_type
  @return_type
end

Instance Method Details

#to_refObject



13
14
15
# File 'lib/jade/symbol/interface_function.rb', line 13

def to_ref
  ValueRef[module_name, name]
end