Class: ActionDispatch::Journey::Nodes::Literal

Inherits:
Terminal
  • Object
show all
Defined in:
lib/action_dispatch/journey/nodes/node.rb

Overview

:nodoc:

Direct Known Subclasses

Dummy

Instance Attribute Summary

Attributes inherited from Node

#left, #memo

Instance Method Summary collapse

Methods inherited from Terminal

#terminal?

Methods inherited from Node

#cat?, #each, #group?, #initialize, #name, #star?, #symbol?, #terminal?, #to_dot, #to_s, #to_sym

Constructor Details

This class inherits a constructor from ActionDispatch::Journey::Nodes::Node

Instance Method Details

#literal?Boolean

Returns:

  • (Boolean)


116
# File 'lib/action_dispatch/journey/nodes/node.rb', line 116

def literal?; true; end

#typeObject



117
# File 'lib/action_dispatch/journey/nodes/node.rb', line 117

def type; :LITERAL; end