Class: Ibex::Runtime::CST::Blender::Candidate
- Inherits:
-
Object
- Object
- Ibex::Runtime::CST::Blender::Candidate
- Defined in:
- lib/ibex/runtime/cst/incremental/blender.rb,
sig/ibex/runtime/cst/incremental/blender.rbs
Instance Attribute Summary collapse
- #entry ⇒ ReusableSubtree readonly
- #token_count ⇒ Integer readonly
Instance Method Summary collapse
-
#initialize(entry:, token_count:) ⇒ Candidate
constructor
A new instance of Candidate.
Constructor Details
#initialize(entry:, token_count:) ⇒ Candidate
Returns a new instance of Candidate.
34 35 36 37 38 |
# File 'lib/ibex/runtime/cst/incremental/blender.rb', line 34 def initialize(entry:, token_count:) @entry = entry @token_count = token_count freeze end |
Instance Attribute Details
#entry ⇒ ReusableSubtree (readonly)
30 31 32 |
# File 'lib/ibex/runtime/cst/incremental/blender.rb', line 30 def entry @entry end |
#token_count ⇒ Integer (readonly)
31 32 33 |
# File 'lib/ibex/runtime/cst/incremental/blender.rb', line 31 def token_count @token_count end |