Class: Antelope::Ace::Token::Terminal
- Inherits:
-
Antelope::Ace::Token
- Object
- Antelope::Ace::Token
- Antelope::Ace::Token::Terminal
- Defined in:
- lib/antelope/ace/token/terminal.rb
Overview
Defines a terminal token.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Antelope::Ace::Token
Instance Method Summary collapse
-
#terminal? ⇒ Boolean
abstract
Whether or not the token is a terminal.
Methods inherited from Antelope::Ace::Token
#<=>, #===, #epsilon?, #error?, #hash, #initialize, #inspect, #nonterminal?, #to_a, #to_s, #without_transitions
Constructor Details
This class inherits a constructor from Antelope::Ace::Token
Instance Method Details
#terminal? ⇒ Boolean
This method is abstract.
Whether or not the token is a terminal.
11 12 13 |
# File 'lib/antelope/ace/token/terminal.rb', line 11 def terminal? true end |