Class: Dhaka::LexerSupport::CheckpointNode

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

Instance Method Summary collapse

Methods inherited from ASTNode

#accepting

Instance Method Details

#characterObject



371
372
# File 'lib/lexer/regex_grammar.rb', line 371

def character
end

#checkpointObject



374
375
376
# File 'lib/lexer/regex_grammar.rb', line 374

def checkpoint
  true
end

#to_dot(graph) ⇒ Object



367
368
369
# File 'lib/lexer/regex_grammar.rb', line 367

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