Class: CrossLanguageSpotter::SequentialAst

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(node, value, reference_labels) ⇒ SequentialAst

Returns a new instance of SequentialAst.



87
88
89
90
91
# File 'lib/crosslanguagespotter/model_loading.rb', line 87

def initialize(node,value,reference_labels)
    @node = node
    @value = value
    @reference_labels = reference_labels
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



83
84
85
# File 'lib/crosslanguagespotter/model_loading.rb', line 83

def node
  @node
end

#reference_labelsObject (readonly)

Returns the value of attribute reference_labels.



85
86
87
# File 'lib/crosslanguagespotter/model_loading.rb', line 85

def reference_labels
  @reference_labels
end

#valueObject (readonly)

Returns the value of attribute value.



84
85
86
# File 'lib/crosslanguagespotter/model_loading.rb', line 84

def value
  @value
end