Class: Dhaka::LexerSupport::LookaheadAcceptingNode

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

Instance Method Summary collapse

Methods inherited from AcceptingNode

#accepting, #calculate_follow_sets, #character, #first, #to_dot

Methods inherited from ASTNode

#accepting, #checkpoint

Instance Method Details

#action(pattern) ⇒ Object



387
388
389
# File 'lib/dhaka/lexer/regex_grammar.rb', line 387

def action(pattern)
  LookaheadAcceptAction.new(pattern)
end