Class: Semantic::AttrEdgeStruct

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

Overview

Base structure of the particular semantic function.


  :dependencies .. array of the input arguments (an item is AttrKey OR the actual value of the attribute),
  :result .. AttrKey of the output's attribute,
  :func .. reference to the compiled proc.

Direct Known Subclasses

AttrEdge

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) dependencies

Returns the value of attribute dependencies

Returns:

  • (Object)

    the current value of dependencies



10
11
12
# File '../lib/semantic_edges.rb', line 10

def dependencies
  @dependencies
end

- (Object) func

Returns the value of attribute func

Returns:

  • (Object)

    the current value of func



10
11
12
# File '../lib/semantic_edges.rb', line 10

def func
  @func
end

- (Object) result

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



10
11
12
# File '../lib/semantic_edges.rb', line 10

def result
  @result
end