Class: Dhaka::LexerSupport::AcceptingNode

Inherits:
ASTNode
  • Object
show all
Defined in:
lib/lexer/regex_grammar.rb

Instance Method Summary collapse

Instance Method Details

#acceptingObject



349
350
351
# File 'lib/lexer/regex_grammar.rb', line 349

def accepting
  true
end

#calculate_follow_setsObject



360
361
# File 'lib/lexer/regex_grammar.rb', line 360

def calculate_follow_sets
end

#characterObject



353
354
# File 'lib/lexer/regex_grammar.rb', line 353

def character
end

#firstObject



356
357
358
# File 'lib/lexer/regex_grammar.rb', line 356

def first
  Set.new([self])
end

#to_dot(graph) ⇒ Object



363
364
365
# File 'lib/lexer/regex_grammar.rb', line 363

def to_dot(graph)
  graph.node(self, :label => '#')
end