Class: Antlr4ruby::LexerDFASerializer

Inherits:
DFASerializer show all
Defined in:
lib/antlr4ruby/dfa/lexer_dfa_serializer.rb

Instance Method Summary collapse

Methods inherited from DFASerializer

#get_state_string, #to_s

Constructor Details

#initialize(dfa) ⇒ LexerDFASerializer

Returns a new instance of LexerDFASerializer.



3
4
5
# File 'lib/antlr4ruby/dfa/lexer_dfa_serializer.rb', line 3

def initialize(dfa)
  super(dfa, Vocabulary::EMPTY_VOCABULARY)
end

Instance Method Details

#get_edge_label(index) ⇒ Object



8
9
10
# File 'lib/antlr4ruby/dfa/lexer_dfa_serializer.rb', line 8

def get_edge_label(index)
  # todo

end