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



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

def character
end

#checkpointObject



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

def checkpoint
  true
end

#to_dot(graph) ⇒ Object



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

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