Class: SpectatorSport::SearchQuery::Lexer::Token
- Inherits:
-
Struct
- Object
- Struct
- SpectatorSport::SearchQuery::Lexer::Token
- Defined in:
- app/models/spectator_sport/search_query/lexer.rb
Overview
type is one of :lparen, :rparen, :and, :or, :label value is only set for :label tokens, a hash of { key:, value:, wildcard: }
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type
31 32 33 |
# File 'app/models/spectator_sport/search_query/lexer.rb', line 31 def type @type end |
#value ⇒ Object
Returns the value of attribute value
31 32 33 |
# File 'app/models/spectator_sport/search_query/lexer.rb', line 31 def value @value end |