Class: Dhaka::LexerSupport::AcceptingNode
- Defined in:
- lib/lexer/regex_grammar.rb
Instance Method Summary collapse
- #accepting ⇒ Object
- #calculate_follow_sets ⇒ Object
- #character ⇒ Object
- #first ⇒ Object
- #to_dot(graph) ⇒ Object
Instance Method Details
#accepting ⇒ Object
349 350 351 |
# File 'lib/lexer/regex_grammar.rb', line 349 def accepting true end |
#calculate_follow_sets ⇒ Object
360 361 |
# File 'lib/lexer/regex_grammar.rb', line 360 def calculate_follow_sets end |
#character ⇒ Object
353 354 |
# File 'lib/lexer/regex_grammar.rb', line 353 def character end |
#first ⇒ Object
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 |