Class: Dhaka::LexerSupport::RootNode

Inherits:
CatNode show all
Defined in:
lib/lexer/regex_grammar.rb

Instance Attribute Summary

Attributes inherited from BinaryNode

#left, #right

Instance Method Summary collapse

Methods inherited from CatNode

#calculate_follow_sets, #first, #last, #nullable

Methods inherited from BinaryNode

#calculate_follow_sets, #initialize, #to_dot

Methods inherited from ASTNode

#accepting, #checkpoint

Constructor Details

This class inherits a constructor from Dhaka::LexerSupport::BinaryNode

Instance Method Details

#head_node?Boolean

Returns:

  • (Boolean)


294
295
296
# File 'lib/lexer/regex_grammar.rb', line 294

def head_node?
  true
end

#labelObject



290
291
292
# File 'lib/lexer/regex_grammar.rb', line 290

def label
  "start"
end