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