Class: Dhaka::LexerSupport::CheckpointNode

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

Instance Method Summary collapse

Methods inherited from ASTNode

#accepting

Instance Method Details

#characterObject



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

def character
end

#checkpointObject



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

def checkpoint
  true
end

#to_dot(graph) ⇒ Object



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

def to_dot(graph)
  graph.node(self, :label => "lookahead")
end