Class: Ibex::Runtime::CST::Blender::Candidate
- Inherits:
-
Object
- Object
- Ibex::Runtime::CST::Blender::Candidate
- Defined in:
- lib/json5/generated_parser.rb
Instance Attribute Summary collapse
- #entry ⇒ Object readonly
- #token_count ⇒ Object 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.
3075 3076 3077 3078 3079 |
# File 'lib/json5/generated_parser.rb', line 3075 def initialize(entry:, token_count:) @entry = entry @token_count = token_count freeze end |
Instance Attribute Details
#entry ⇒ Object (readonly)
3071 3072 3073 |
# File 'lib/json5/generated_parser.rb', line 3071 def entry @entry end |
#token_count ⇒ Object (readonly)
3072 3073 3074 |
# File 'lib/json5/generated_parser.rb', line 3072 def token_count @token_count end |