Class: CrossLanguageSpotter::SequentialAst
- Inherits:
-
Object
- Object
- CrossLanguageSpotter::SequentialAst
- Defined in:
- lib/crosslanguagespotter/model_loading.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#reference_labels ⇒ Object
readonly
Returns the value of attribute reference_labels.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(node, value, reference_labels) ⇒ SequentialAst
constructor
A new instance of SequentialAst.
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
#node ⇒ Object (readonly)
Returns the value of attribute node.
83 84 85 |
# File 'lib/crosslanguagespotter/model_loading.rb', line 83 def node @node end |
#reference_labels ⇒ Object (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 |
#value ⇒ Object (readonly)
Returns the value of attribute value.
84 85 86 |
# File 'lib/crosslanguagespotter/model_loading.rb', line 84 def value @value end |