Class: Semantic::AttrKey
- Inherits:
-
Struct
- Object
- Struct
- Semantic::AttrKey
- Defined in:
- ../lib/semantic_types.rb
Overview
The key used in the internal AttributeGrammar#attributes hash.
:token_id .. token.object_id identification of the particular token,
:attr_idx .. attribute index in the Functions#attributes
Instance Attribute Summary (collapse)
-
- (Object) attr_idx
Returns the value of attribute attr_idx.
-
- (Object) token_id
Returns the value of attribute token_id.
Instance Attribute Details
- (Object) attr_idx
Returns the value of attribute attr_idx
7 8 9 |
# File '../lib/semantic_types.rb', line 7 def attr_idx @attr_idx end |
- (Object) token_id
Returns the value of attribute token_id
7 8 9 |
# File '../lib/semantic_types.rb', line 7 def token_id @token_id end |