Class: Dhaka::LexerSupport::ZeroOrOneNode
- Defined in:
- lib/dhaka/lexer/regex_grammar.rb
Instance Attribute Summary
Attributes inherited from UnaryNode
Instance Method Summary collapse
Methods inherited from UnaryNode
#calculate_follow_sets, #first, #initialize, #last, #to_dot
Methods inherited from ASTNode
Constructor Details
This class inherits a constructor from Dhaka::LexerSupport::UnaryNode
Instance Method Details
#label ⇒ Object
300 301 302 |
# File 'lib/dhaka/lexer/regex_grammar.rb', line 300 def label "?" end |
#nullable ⇒ Object
304 305 306 |
# File 'lib/dhaka/lexer/regex_grammar.rb', line 304 def nullable true end |