Class: Grammar::EpsilonTokenType

Inherits:
Token show all
Defined in:
lib/rpdf2txt-rockit/grammar.rb

Instance Attribute Summary

Attributes inherited from Token

#name, #regexp, #skip

Attributes included from Indexable

#factory, #index_number

Instance Method Summary collapse

Methods inherited from Token

#create_tree, #derives_epsilon?, #hash, #inspect, #match, #nonkernel_items, #nonterminal?, #parse_options, #terminal?, #to_src, #value

Methods included from SourceCodeDumpable

as_code, as_method_named, as_module_method_named, #create_new, indent_lines, name_hash, #new_of_my_type, #parameter_named, #to_compact_src, #to_src_in_module, #type_to_src

Constructor Details

#initializeEpsilonTokenType

Returns a new instance of EpsilonTokenType.



585
586
# File 'lib/rpdf2txt-rockit/grammar.rb', line 585

def initialize
end

Instance Method Details

#==(other) ⇒ Object



587
588
589
# File 'lib/rpdf2txt-rockit/grammar.rb', line 587

def ==(other)
  other.class == self.class
end